[{"data":1,"prerenderedAt":577},["ShallowReactive",2],{"libs":3,"navigation-openapi-writer":115,"\u002Fopenapi-writer\u002Fchangelog":256,"\u002Fopenapi-writer\u002Fchangelog-surround":574},[4,45,69,95],{"id":5,"color":6,"compatibility":7,"extension":20,"icon":21,"links":22,"meta":27,"name":28,"order":29,"package":30,"related":31,"stem":34,"tagline":35,"__hash__":36,"slug":37,"repository":38,"branch":39,"path":40,"collection":41,"entry":42,"home":43,"version":44},"laravel_json_api_meta\u002Fdocs\u002Fsite\u002Flib.yml","violet",[8,13,16],{"version":9,"php":10,"laravel":11,"status":12},"3.x","^8.3","^12.46 || ^13.0","active",{"version":14,"php":10,"laravel":11,"status":15},"2.x","eol",{"version":17,"php":18,"laravel":19,"status":15},"1.x","^8.1","^10.0 || ^11.0 || ^12.0 || ^13.0","yml","i-lucide-braces",[23],{"label":24,"to":25,"icon":26},"JSON:API 1.1","https:\u002F\u002Fjsonapi.org\u002Fformat\u002F","i-lucide-book-marked",{},"Laravel JSON:API",10,"ark4ne\u002Flaravel-json-api",[32,33],"laravel-api-revisions","laravel-openapi-generator","docs\u002Fsite\u002Flib","JSON:API 1.1 resources for Laravel, with typed values, validated includes and fieldsets, and API revisions.","ILGoVp9rzKYDQc18VV8kkXy3EQOQ8rv87JblFKXYDrU","laravel-json-api","Ark4ne\u002Flaravel-json-api","master","docs\u002Fsite","laravel_json_api","\u002Flaravel-json-api\u002Fgetting-started\u002Fintroduction","\u002Flaravel-json-api","v3.0.0",{"id":46,"color":47,"compatibility":48,"extension":20,"icon":50,"links":51,"meta":56,"name":57,"order":58,"package":59,"related":60,"stem":34,"tagline":61,"__hash__":62,"slug":32,"repository":63,"branch":64,"path":40,"collection":65,"entry":66,"home":67,"version":68},"laravel_api_revisions_meta\u002Fdocs\u002Fsite\u002Flib.yml","amber",[49],{"version":17,"php":10,"laravel":11,"status":12},"i-lucide-git-branch",[52],{"label":53,"to":54,"icon":55},"Agent skill","https:\u002F\u002Fgithub.com\u002FArk4ne\u002Flaravel-api-revisions\u002Ftree\u002Fmain\u002Fskills\u002Flaravel-api-revisions","i-lucide-bot",{},"Laravel API Revisions",20,"ark4ne\u002Flaravel-api-revisions",[37,33],"Typed schemas for Laravel resources and form requests, evolved through dated API revisions, Stripe-style.","w24MBVK4_XliIZ8nVcfnuT9OgR-m-Ytxz31Pxua_mLM","Ark4ne\u002Flaravel-api-revisions","main","laravel_api_revisions","\u002Flaravel-api-revisions\u002Fgetting-started\u002Fintroduction","\u002Flaravel-api-revisions","v1.0.0",{"id":70,"color":71,"compatibility":72,"extension":20,"icon":77,"links":78,"meta":82,"name":83,"order":84,"package":85,"related":86,"stem":34,"tagline":88,"__hash__":89,"slug":33,"repository":90,"branch":39,"path":40,"collection":91,"entry":92,"home":93,"version":94},"laravel_openapi_generator_meta\u002Fdocs\u002Fsite\u002Flib.yml","emerald",[73,75],{"version":17,"php":10,"laravel":74,"status":12},"^13.0",{"version":76,"php":18,"laravel":19,"status":15},"0.6","i-lucide-file-json",[79],{"label":80,"to":81,"icon":26},"OpenAPI Specification","https:\u002F\u002Fspec.openapis.org\u002Foas\u002Flatest.html",{},"Laravel OpenAPI Generator",30,"ark4ne\u002Flaravel-openapi-generator",[87,37,32],"openapi-writer","Generates OpenAPI 3.0, 3.1 and 3.2 documents from a Laravel application, its routes, form requests and resources.","DTt0SVqegMImLmWmwL8LCW5lxRCWFYcnBFOaquLpVwc","Ark4ne\u002Flaravel-openapi-generator","laravel_openapi_generator","\u002Flaravel-openapi-generator\u002Fgetting-started\u002Fintroduction","\u002Flaravel-openapi-generator","v1.2.0",{"id":96,"color":97,"compatibility":98,"extension":20,"icon":101,"links":102,"meta":104,"name":105,"order":106,"package":107,"related":108,"stem":34,"tagline":109,"__hash__":110,"slug":87,"repository":111,"branch":64,"path":40,"collection":112,"entry":113,"home":114,"version":68},"openapi_writer_meta\u002Fdocs\u002Fsite\u002Flib.yml","sky",[99],{"version":17,"php":100,"status":12},"^8.2","i-lucide-file-pen-line",[103],{"label":80,"to":81,"icon":26},{},"OpenAPI Writer",40,"ark4ne\u002Fopenapi-writer",[33],"Framework-agnostic, fluent and immutable PHP builder for OpenAPI 3.0, 3.1 and 3.2 documents, written as JSON or YAML and validated.","JFQcdQ9GEChOkfRKibLjoxZOfnt6HYNsayX2melOzMk","Ark4ne\u002Fopenapi-writer","openapi_writer","\u002Fopenapi-writer\u002Fgetting-started\u002Fintroduction","\u002Fopenapi-writer",[116,135,169,182,212,226,248],{"title":117,"since":118,"experimental":119,"icon":120,"path":121,"stem":122,"children":123,"page":119},"Getting started",null,false,"i-lucide-rocket","\u002Fopenapi-writer\u002Fgetting-started","openapi-writer\u002F1.getting-started",[124,127,131],{"title":125,"path":113,"stem":126,"since":118,"experimental":119},"Introduction","openapi-writer\u002F1.getting-started\u002F1.introduction",{"title":128,"path":129,"stem":130,"since":118,"experimental":119},"Installation","\u002Fopenapi-writer\u002Fgetting-started\u002Finstallation","openapi-writer\u002F1.getting-started\u002F2.installation",{"title":132,"path":133,"stem":134,"since":118,"experimental":119},"Quick start","\u002Fopenapi-writer\u002Fgetting-started\u002Fquick-start","openapi-writer\u002F1.getting-started\u002F3.quick-start",{"title":136,"since":118,"experimental":119,"icon":137,"path":138,"stem":139,"children":140,"page":119},"Building documents","i-lucide-blocks","\u002Fopenapi-writer\u002Fbuilding-documents","openapi-writer\u002F2.building-documents",[141,145,149,153,157,161,165],{"title":142,"path":143,"stem":144,"since":118,"experimental":119},"The object model","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fthe-object-model","openapi-writer\u002F2.building-documents\u002F1.the-object-model",{"title":146,"path":147,"stem":148,"since":118,"experimental":119},"Document","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fdocument","openapi-writer\u002F2.building-documents\u002F2.document",{"title":150,"path":151,"stem":152,"since":118,"experimental":119},"Paths and operations","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fpaths-and-operations","openapi-writer\u002F2.building-documents\u002F3.paths-and-operations",{"title":154,"path":155,"stem":156,"since":118,"experimental":119},"Requests and responses","\u002Fopenapi-writer\u002Fbuilding-documents\u002Frequests-and-responses","openapi-writer\u002F2.building-documents\u002F4.requests-and-responses",{"title":158,"path":159,"stem":160,"since":118,"experimental":119},"Components and references","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fcomponents-and-references","openapi-writer\u002F2.building-documents\u002F5.components-and-references",{"title":162,"path":163,"stem":164,"since":118,"experimental":119},"Security","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fsecurity","openapi-writer\u002F2.building-documents\u002F6.security",{"title":166,"path":167,"stem":168,"since":118,"experimental":119},"Webhooks and callbacks","\u002Fopenapi-writer\u002Fbuilding-documents\u002Fwebhooks-and-callbacks","openapi-writer\u002F2.building-documents\u002F7.webhooks-and-callbacks",{"title":170,"since":118,"experimental":119,"icon":21,"path":171,"stem":172,"children":173,"page":119},"Schemas","\u002Fopenapi-writer\u002Fschemas","openapi-writer\u002F3.schemas",[174,178],{"title":175,"path":176,"stem":177,"since":118,"experimental":119},"Types and constraints","\u002Fopenapi-writer\u002Fschemas\u002Ftypes-and-constraints","openapi-writer\u002F3.schemas\u002F1.types-and-constraints",{"title":179,"path":180,"stem":181,"since":118,"experimental":119},"Composition and polymorphism","\u002Fopenapi-writer\u002Fschemas\u002Fcomposition-and-polymorphism","openapi-writer\u002F3.schemas\u002F2.composition-and-polymorphism",{"title":183,"since":118,"experimental":119,"icon":184,"path":185,"stem":186,"children":187,"page":119},"Versions and output","i-lucide-layers","\u002Fopenapi-writer\u002Fversions-and-output","openapi-writer\u002F4.versions-and-output",[188,192,196,200,204,208],{"title":189,"path":190,"stem":191,"since":118,"experimental":119},"Writing a document","\u002Fopenapi-writer\u002Fversions-and-output\u002Fwriting-a-document","openapi-writer\u002F4.versions-and-output\u002F1.writing-a-document",{"title":193,"path":194,"stem":195,"since":118,"experimental":119},"Choosing a version","\u002Fopenapi-writer\u002Fversions-and-output\u002Fchoosing-a-version","openapi-writer\u002F4.versions-and-output\u002F2.choosing-a-version",{"title":197,"path":198,"stem":199,"since":118,"experimental":119},"Conversions","\u002Fopenapi-writer\u002Fversions-and-output\u002Fconversions","openapi-writer\u002F4.versions-and-output\u002F3.conversions",{"title":201,"path":202,"stem":203,"since":118,"experimental":119},"Strict and lenient","\u002Fopenapi-writer\u002Fversions-and-output\u002Fstrict-and-lenient","openapi-writer\u002F4.versions-and-output\u002F4.strict-and-lenient",{"title":205,"path":206,"stem":207,"since":118,"experimental":119},"OpenAPI 3.2","\u002Fopenapi-writer\u002Fversions-and-output\u002Fopenapi-3-2","openapi-writer\u002F4.versions-and-output\u002F5.openapi-3-2",{"title":209,"path":210,"stem":211,"since":118,"experimental":119},"Redoc extensions","\u002Fopenapi-writer\u002Fversions-and-output\u002Fredoc-extensions","openapi-writer\u002F4.versions-and-output\u002F6.redoc-extensions",{"title":213,"since":118,"experimental":119,"icon":214,"path":215,"stem":216,"children":217,"page":119},"Validation","i-lucide-badge-check","\u002Fopenapi-writer\u002Fvalidation","openapi-writer\u002F5.validation",[218,222],{"title":219,"path":220,"stem":221,"since":118,"experimental":119},"Validating a document","\u002Fopenapi-writer\u002Fvalidation\u002Fvalidating-a-document","openapi-writer\u002F5.validation\u002F1.validating-a-document",{"title":223,"path":224,"stem":225,"since":118,"experimental":119},"Custom rules","\u002Fopenapi-writer\u002Fvalidation\u002Fcustom-rules","openapi-writer\u002F5.validation\u002F2.custom-rules",{"title":227,"since":118,"experimental":119,"icon":228,"path":229,"stem":230,"children":231,"page":119},"Reference","i-lucide-library","\u002Fopenapi-writer\u002Freference","openapi-writer\u002F6.reference",[232,236,240,244],{"title":233,"path":234,"stem":235,"since":118,"experimental":119},"Objects","\u002Fopenapi-writer\u002Freference\u002Fobjects","openapi-writer\u002F6.reference\u002F1.objects",{"title":237,"path":238,"stem":239,"since":118,"experimental":119},"Enums","\u002Fopenapi-writer\u002Freference\u002Fenums","openapi-writer\u002F6.reference\u002F2.enums",{"title":241,"path":242,"stem":243,"since":118,"experimental":119},"Validation rules","\u002Fopenapi-writer\u002Freference\u002Fvalidation-rules","openapi-writer\u002F6.reference\u002F3.validation-rules",{"title":245,"path":246,"stem":247,"since":118,"experimental":119},"Exceptions","\u002Fopenapi-writer\u002Freference\u002Fexceptions","openapi-writer\u002F6.reference\u002F4.exceptions",{"title":249,"path":250,"children":251},"Releases","\u002Fopenapi-writer\u002Freleases",[252],{"title":253,"path":254,"stem":255,"since":118,"experimental":119},"Changelog","\u002Fopenapi-writer\u002Fchangelog","openapi-writer\u002FCHANGELOG",{"id":257,"title":253,"body":258,"description":567,"experimental":119,"extension":568,"links":118,"meta":569,"navigation":570,"path":254,"rawbody":571,"seo":572,"since":118,"stem":255,"__hash__":573},"openapi_writer\u002Fopenapi-writer\u002FCHANGELOG.md",{"type":259,"value":260,"toc":557},"minimark",[261,265,283,291,298,301,306],[262,263,253],"h1",{"id":264},"changelog",[266,267,268,269,276,277,282],"p",{},"All notable changes to this project are documented in this file.\nThe format follows ",[270,271,275],"a",{"href":272,"rel":273},"https:\u002F\u002Fkeepachangelog.com\u002Fen\u002F1.1.0\u002F",[274],"nofollow","Keep a Changelog","\nand the project adheres to ",[270,278,281],{"href":279,"rel":280},"https:\u002F\u002Fsemver.org\u002Fspec\u002Fv2.0.0.html",[274],"Semantic Versioning",".",[284,285,287],"h2",{"id":286},"unreleased",[288,289,290],"span",{},"Unreleased",[284,292,294,297],{"id":293},"_100-2026-10-29",[288,295,296],{},"1.0.0"," - 2026-10-29",[266,299,300],{},"First release.",[302,303,305],"h3",{"id":304},"added","Added",[307,308,309,354,380,391,412,432,469,480,515,540,543,550],"ul",{},[310,311,312,316,317,321,322,321,325,321,328,331,332,321,335,321,338,321,341,321,344,321,347,321,350,353],"li",{},[313,314,315],"strong",{},"Object model",": the 29 objects of the OpenAPI specification (",[318,319,320],"code",{},"OpenApi",", ",[318,323,324],{},"Info",[318,326,327],{},"PathItem",[318,329,330],{},"Operation",",\n",[318,333,334],{},"Parameter",[318,336,337],{},"RequestBody",[318,339,340],{},"MediaType",[318,342,343],{},"Response",[318,345,346],{},"Schema",[318,348,349],{},"Components",[318,351,352],{},"SecurityScheme","…), final and\nimmutable, with one method per field named exactly like the specification.",[310,355,356,357,321,360,321,363,321,366,331,369,321,372,375,376,379],{},"Semantic shortcuts: ",[318,358,359],{},"Schema::string()",[318,361,362],{},"Operation::get()",[318,364,365],{},"Parameter::path()",[318,367,368],{},"Response::ok()",[318,370,371],{},"MediaType::json()",[318,373,374],{},"SecurityScheme::http()","…, and ",[318,377,378],{},"::ref()"," shortcuts building the component path.",[310,381,382,383,386,387,390],{},"Two methods per list or map field: the field name replaces, ",[318,384,385],{},"add"," + the field name appends. Map entries are keyed\nby their ",[318,388,389],{},"objectId","; a missing or duplicate key throws.",[310,392,393,394,397,398,401,402,331,405,321,408,411],{},"Extensions on every extensible object (",[318,395,396],{},"x()","), \"not set\" distinct from ",[318,399,400],{},"null"," for free values (",[318,403,404],{},"default",[318,406,407],{},"example",[318,409,410],{},"const","), immediate exceptions for values forbidden in every version (malformed status code, exclusive\nfields set together).",[310,413,414,417,418,321,421,321,424,427,428,431],{},[313,415,416],{},"Serialization"," to PHP arrays, JSON and YAML (",[318,419,420],{},"toArray()",[318,422,423],{},"toJson()",[318,425,426],{},"toYaml()"," with ",[318,429,430],{},"symfony\u002Fyaml",") for\nOpenAPI 3.0.0 → 3.0.4, 3.1.0 → 3.1.2 and 3.2.0; 3.1.2 by default.",[310,433,434,435,438,439,441,442,445,446,448,449,452,453,456,457,460,461,464,465,468],{},"Conversions between versions: ",[318,436,437],{},"nullable",", exclusive bounds, ",[318,440,410],{},", schema ",[318,443,444],{},"examples",", several types, ",[318,447,400],{},"\ntype, boolean schemas, ",[318,450,451],{},"$ref"," siblings, ",[318,454,455],{},"contentEncoding"," \u002F ",[318,458,459],{},"contentMediaType",", empty ",[318,462,463],{},"paths",", response\n",[318,466,467],{},"description",", non-OAuth scopes, reserved extension prefixes.",[310,470,471,472,475,476,479],{},"Strict mode (default): one ",[318,473,474],{},"UnsupportedFeatureException"," lists every feature the target version cannot express.\nLenient mode (",[318,477,478],{},"Serializer::for($version, Strictness::Lenient)",") drops them and reports each removal and conversion\nas a diagnostic with its JSON Pointer.",[310,481,482,483,486,487,321,490,331,492,321,494,496,497,500,501,504,505,508,509,511,512,514],{},"Redoc vendor extensions, off by default (",[318,484,485],{},"VendorExtensions::Redoc",", argument of ",[318,488,489],{},"Serializer::for()",[318,491,423],{},[318,493,426],{},[318,495,420],{}," and ",[318,498,499],{},"Validator::validate()","): webhooks written as ",[318,502,503],{},"x-webhooks"," before 3.1, tag parents as\n",[318,506,507],{},"x-tagGroups"," before 3.2, reported as conversions. An ",[318,510,503],{}," or ",[318,513,507],{}," set by the document wins.",[310,516,517,519,520,523,524,527,528,531,532,535,536,539],{},[313,518,213],{},": ",[318,521,522],{},"Validator"," writes the document, checks it against the official schema of its version\n(",[318,525,526],{},"OpisJsonSchemaValidator",", with ",[318,529,530],{},"opis\u002Fjson-schema",") and runs ten semantic rules: unique ",[318,533,534],{},"operationId",", path\nparameters, unique parameters, local references, security requirements, declared tags, tag parents, equivalent\npaths, non-empty document and value types. Rules can be removed or added (",[318,537,538],{},"Rule"," interface).",[310,541,542],{},"The official schemas of OpenAPI 3.0, 3.1 and 3.2 and the JSON Schema 2020-12 meta-schemas are embedded.",[310,544,545,546,549],{},"No runtime dependency besides ",[318,547,548],{},"ext-json","; PHP 8.2 to 8.5.",[310,551,552,553,556],{},"Agent skill ",[318,554,555],{},"skills\u002Fopenapi-writer\u002F"," (rules, API reference, recipes, version matrix) for AI coding agents that use\nthe library, with its examples run by the test suite.",{"title":558,"searchDepth":559,"depth":559,"links":560},"",3,[561,563],{"id":286,"depth":562,"text":290},2,{"id":293,"depth":562,"text":564,"children":565},"1.0.0 - 2026-10-29",[566],{"id":304,"depth":559,"text":305},"All notable changes to this project are documented in this file.\nThe format follows Keep a Changelog\nand the project adheres to Semantic Versioning.","md",{},true,"# Changelog\n\nAll notable changes to this project are documented in this file.\nThe format follows [Keep a Changelog](https:\u002F\u002Fkeepachangelog.com\u002Fen\u002F1.1.0\u002F)\nand the project adheres to [Semantic Versioning](https:\u002F\u002Fsemver.org\u002Fspec\u002Fv2.0.0.html).\n\n## [Unreleased]\n\n## [1.0.0] - 2026-10-29\n\nFirst release.\n\n### Added\n\n- **Object model**: the 29 objects of the OpenAPI specification (`OpenApi`, `Info`, `PathItem`, `Operation`,\n  `Parameter`, `RequestBody`, `MediaType`, `Response`, `Schema`, `Components`, `SecurityScheme`…), final and\n  immutable, with one method per field named exactly like the specification.\n- Semantic shortcuts: `Schema::string()`, `Operation::get()`, `Parameter::path()`, `Response::ok()`,\n  `MediaType::json()`, `SecurityScheme::http()`…, and `::ref()` shortcuts building the component path.\n- Two methods per list or map field: the field name replaces, `add` + the field name appends. Map entries are keyed\n  by their `objectId`; a missing or duplicate key throws.\n- Extensions on every extensible object (`x()`), \"not set\" distinct from `null` for free values (`default`,\n  `example`, `const`), immediate exceptions for values forbidden in every version (malformed status code, exclusive\n  fields set together).\n- **Serialization** to PHP arrays, JSON and YAML (`toArray()`, `toJson()`, `toYaml()` with `symfony\u002Fyaml`) for\n  OpenAPI 3.0.0 → 3.0.4, 3.1.0 → 3.1.2 and 3.2.0; 3.1.2 by default.\n- Conversions between versions: `nullable`, exclusive bounds, `const`, schema `examples`, several types, `null`\n  type, boolean schemas, `$ref` siblings, `contentEncoding` \u002F `contentMediaType`, empty `paths`, response\n  `description`, non-OAuth scopes, reserved extension prefixes.\n- Strict mode (default): one `UnsupportedFeatureException` lists every feature the target version cannot express.\n  Lenient mode (`Serializer::for($version, Strictness::Lenient)`) drops them and reports each removal and conversion\n  as a diagnostic with its JSON Pointer.\n- Redoc vendor extensions, off by default (`VendorExtensions::Redoc`, argument of `Serializer::for()`, `toJson()`,\n  `toYaml()`, `toArray()` and `Validator::validate()`): webhooks written as `x-webhooks` before 3.1, tag parents as\n  `x-tagGroups` before 3.2, reported as conversions. An `x-webhooks` or `x-tagGroups` set by the document wins.\n- **Validation**: `Validator` writes the document, checks it against the official schema of its version\n  (`OpisJsonSchemaValidator`, with `opis\u002Fjson-schema`) and runs ten semantic rules: unique `operationId`, path\n  parameters, unique parameters, local references, security requirements, declared tags, tag parents, equivalent\n  paths, non-empty document and value types. Rules can be removed or added (`Rule` interface).\n- The official schemas of OpenAPI 3.0, 3.1 and 3.2 and the JSON Schema 2020-12 meta-schemas are embedded.\n- No runtime dependency besides `ext-json`; PHP 8.2 to 8.5.\n- Agent skill `skills\u002Fopenapi-writer\u002F` (rules, API reference, recipes, version matrix) for AI coding agents that use\n  the library, with its examples run by the test suite.\n\n[Unreleased]: https:\u002F\u002Fgithub.com\u002Fark4ne\u002Fopenapi-writer\u002Fcompare\u002Fv1.0.0...HEAD\n[1.0.0]: https:\u002F\u002Fgithub.com\u002Fark4ne\u002Fopenapi-writer\u002Freleases\u002Ftag\u002Fv1.0.0\n",{"title":253,"description":567},"zTakYVtL0LswubG4dY9u6mBYOp6nS9XUN4_c5EAX1Xo",[575,118],{"title":245,"path":246,"stem":247,"description":576,"children":-1},"The exceptions the library throws, when, and how to fix each one.",1795438899076]