[{"data":1,"prerenderedAt":506},["ShallowReactive",2],{"libs":3,"navigation-openapi-writer":115,"\u002Fopenapi-writer\u002Freference\u002Fexceptions":256,"\u002Fopenapi-writer\u002Freference\u002Fexceptions-surround":501},[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":245,"body":258,"description":495,"experimental":119,"extension":496,"links":118,"meta":497,"navigation":323,"path":246,"rawbody":498,"seo":499,"since":118,"stem":247,"__hash__":500},"openapi_writer\u002Fopenapi-writer\u002F6.reference\u002F4.exceptions.md",{"type":259,"value":260,"toc":493},"minimark",[261,277,403,489],[262,263,264,265,269,270,273,274,276],"p",{},"Every exception is in ",[266,267,268],"code",{},"Ark4ne\\OpenApiWriter\\Exceptions",", implements ",[266,271,272],{},"OpenApiWriterException",", and extends the matching\nSPL exception. Catch ",[266,275,272],{}," to catch them all.",[278,279,284],"pre",{"className":280,"code":281,"language":282,"meta":283,"style":283},"language-php shiki shiki-themes material-theme-lighter github-light github-dark","use Ark4ne\\OpenApiWriter\\Exceptions\\OpenApiWriterException;\n\ntry {\n    $json = $document->toJson();\n} catch (OpenApiWriterException $exception) {\n    \u002F\u002F …\n}\n","php","",[266,285,286,318,325,335,365,390,397],{"__ignoreMap":283},[287,288,291,295,299,303,306,308,310,312,314],"span",{"class":289,"line":290},"line",1,[287,292,294],{"class":293},"sw1J6","use",[287,296,298],{"class":297},"s_hVV"," Ark4ne",[287,300,302],{"class":301},"s39Yj","\\",[287,304,305],{"class":297},"OpenApiWriter",[287,307,302],{"class":301},[287,309,245],{"class":297},[287,311,302],{"class":301},[287,313,272],{"class":297},[287,315,317],{"class":316},"sP7_E",";\n",[287,319,321],{"class":289,"line":320},2,[287,322,324],{"emptyLinePlaceholder":323},true,"\n",[287,326,328,332],{"class":289,"line":327},3,[287,329,331],{"class":330},"sVHd0","try",[287,333,334],{"class":316}," {\n",[287,336,338,341,345,349,352,355,358,362],{"class":289,"line":337},4,[287,339,340],{"class":316},"    $",[287,342,344],{"class":343},"su5hD","json ",[287,346,348],{"class":347},"smGrS","=",[287,350,351],{"class":316}," $",[287,353,354],{"class":343},"document",[287,356,357],{"class":347},"->",[287,359,361],{"class":360},"sGLFI","toJson",[287,363,364],{"class":316},"();\n",[287,366,368,371,374,377,380,382,385,388],{"class":289,"line":367},5,[287,369,370],{"class":316},"}",[287,372,373],{"class":330}," catch",[287,375,376],{"class":316}," (",[287,378,272],{"class":379},"sZMiF",[287,381,351],{"class":316},[287,383,384],{"class":343},"exception",[287,386,387],{"class":316},")",[287,389,334],{"class":316},[287,391,393],{"class":289,"line":392},6,[287,394,396],{"class":395},"sutJx","    \u002F\u002F …\n",[287,398,400],{"class":289,"line":399},7,[287,401,402],{"class":316},"}\n",[404,405,406,426,440,449,464],"field-group",{},[407,408,411],"field",{"name":409,"type":410},"MissingObjectIdException","InvalidArgumentException",[262,412,413,414,417,418,421,422,425],{},"A map entry has no key: ",[266,415,416],{},"Components::create()->schemas(Schema::string())",".\nMessage: ",[266,419,420],{},"Components::schemas: an entry has no objectId",". Give the objectId: ",[266,423,424],{},"Schema::string('Name')",".",[407,427,429],{"name":428,"type":410},"DuplicateObjectIdException",[262,430,431,432,435,436,439],{},"Two entries of a map share a key, or an ",[266,433,434],{},"add"," method adds an existing key.\nMessage: ",[266,437,438],{},"Components::schemas: an entry with the objectId \"A\" already exists",". Rename the entry, or use the replacing\nmethod.",[407,441,442],{"name":410,"type":410},[262,443,444,445,448],{},"A value no version accepts: a status code out of range, an unknown enum value, exclusive fields set together.\nMessage: ",[266,446,447],{},"License::identifier: url and identifier are mutually exclusive",". Thrown by the method call.",[407,450,453],{"name":451,"type":452},"UnsupportedFeatureException","RuntimeException",[262,454,455,456,459,460,425],{},"Strict writing of features the target version cannot express; ",[266,457,458],{},"diagnostics()"," lists them. Remove them, target a newer\nversion, or use the ",[461,462,463],"a",{"href":202},"lenient mode",[407,465,468],{"name":466,"type":467},"MissingDependencyException","LogicException",[262,469,470,473,474,477,478,473,481,484,485,488],{},[266,471,472],{},"toYaml()"," without ",[266,475,476],{},"symfony\u002Fyaml",", or ",[266,479,480],{},"OpisJsonSchemaValidator",[266,482,483],{},"opis\u002Fjson-schema",". The message gives the\n",[266,486,487],{},"composer require"," command.",[490,491,492],"style",{},"html pre.shiki code .sw1J6, html code.shiki .sw1J6{--shiki-light:#F76D47;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s_hVV, html code.shiki .s_hVV{--shiki-light:#90A4AE;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s39Yj, html code.shiki .s39Yj{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sGLFI, html code.shiki .sGLFI{--shiki-light:#6182B8;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZMiF, html code.shiki .sZMiF{--shiki-light:#E2931D;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":283,"searchDepth":327,"depth":327,"links":494},[],"The exceptions the library throws, when, and how to fix each one.","md",{},"---\ntitle: Exceptions\ndescription: The exceptions the library throws, when, and how to fix each one.\n---\n\nEvery exception is in `Ark4ne\\OpenApiWriter\\Exceptions`, implements `OpenApiWriterException`, and extends the matching\nSPL exception. Catch `OpenApiWriterException` to catch them all.\n\n```php\nuse Ark4ne\\OpenApiWriter\\Exceptions\\OpenApiWriterException;\n\ntry {\n    $json = $document->toJson();\n} catch (OpenApiWriterException $exception) {\n    \u002F\u002F …\n}\n```\n\n::field-group\n:::field{name=\"MissingObjectIdException\" type=\"InvalidArgumentException\"}\nA map entry has no key: `Components::create()->schemas(Schema::string())`.\nMessage: `Components::schemas: an entry has no objectId`. Give the objectId: `Schema::string('Name')`.\n:::\n:::field{name=\"DuplicateObjectIdException\" type=\"InvalidArgumentException\"}\nTwo entries of a map share a key, or an `add` method adds an existing key.\nMessage: `Components::schemas: an entry with the objectId \"A\" already exists`. Rename the entry, or use the replacing\nmethod.\n:::\n:::field{name=\"InvalidArgumentException\" type=\"InvalidArgumentException\"}\nA value no version accepts: a status code out of range, an unknown enum value, exclusive fields set together.\nMessage: `License::identifier: url and identifier are mutually exclusive`. Thrown by the method call.\n:::\n:::field{name=\"UnsupportedFeatureException\" type=\"RuntimeException\"}\nStrict writing of features the target version cannot express; `diagnostics()` lists them. Remove them, target a newer\nversion, or use the [lenient mode](\u002Fopenapi-writer\u002Fversions-and-output\u002Fstrict-and-lenient).\n:::\n:::field{name=\"MissingDependencyException\" type=\"LogicException\"}\n`toYaml()` without `symfony\u002Fyaml`, or `OpisJsonSchemaValidator` without `opis\u002Fjson-schema`. The message gives the\n`composer require` command.\n:::\n::\n",{"title":245,"description":495},"I8UKi_9o1Rg8cOlctCcnsvRZX_JmWGaIKeE5c_H9eAE",[502,504],{"title":241,"path":242,"stem":243,"description":503,"children":-1},"The ten semantic rules of the validator, what each one checks and its severity.",{"title":253,"path":254,"stem":255,"description":505,"children":-1},"All notable changes to this project are documented in this file.\nThe format follows Keep a Changelog\nand the project adheres to Semantic Versioning.",1795438900192]