[{"data":1,"prerenderedAt":2432},["ShallowReactive",2],{"libs":3,"navigation-openapi-writer":115,"\u002Fopenapi-writer\u002Freference\u002Fobjects":256,"\u002Fopenapi-writer\u002Freference\u002Fobjects-surround":2427},[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":233,"body":258,"description":2420,"experimental":119,"extension":2421,"links":118,"meta":2422,"navigation":2423,"path":234,"rawbody":2424,"seo":2425,"since":118,"stem":235,"__hash__":2426},"openapi_writer\u002Fopenapi-writer\u002F6.reference\u002F1.objects.md",{"type":259,"value":260,"toc":2377},"minimark",[261,287,292,404,407,412,539,545,549,641,645,694,698,757,760,764,770,894,898,930,1048,1052,1100,1104,1108,1144,1241,1245,1284,1288,1292,1307,1311,1333,1413,1416,1446,1450,1490,1493,1497,1580,1640,1644,1670,1673,1677,1709,1983,1987,2055,2058,2062,2101,2104,2156,2159,2163,2186,2293,2297],[262,263,264,265,269,270,273,274,277,278,282,283,286],"p",{},"Every class is in ",[266,267,268],"code",{},"Ark4ne\\OpenApiWriter\\Objects",". Every method returns a modified copy. ",[266,271,272],{},"T ..."," is variadic; for a list\nor a map, the field name replaces and ",[266,275,276],{},"add"," + the field name appends. ",[279,280,281],"strong",{},"3.1+"," and ",[279,284,285],{},"3.2"," mark what older versions\ncannot write. A method taking an enum also takes its string value.",[288,289,291],"h2",{"id":290},"common-methods","Common methods",[293,294,295,308],"table",{},[296,297,298],"thead",{},[299,300,301,305],"tr",{},[302,303,304],"th",{},"Method",[302,306,307],{},"Purpose",[309,310,311,322,332,342,352,366,386],"tbody",{},[299,312,313,319],{},[314,315,316],"td",{},[266,317,318],{},"static create(?string $objectId = null)",[314,320,321],{},"New empty object; the objectId is its key in the parent",[299,323,324,329],{},[314,325,326],{},[266,327,328],{},"objectId(?string $objectId)",[314,330,331],{},"Copy with another key",[299,333,334,339],{},[314,335,336],{},[266,337,338],{},"without(string $field)",[314,340,341],{},"Copy without the field",[299,343,344,349],{},[314,345,346],{},[266,347,348],{},"has(string $field): bool",[314,350,351],{},"Whether the field is set",[299,353,354,359],{},[314,355,356],{},[266,357,358],{},"$object->field",[314,360,361,362,365],{},"Read a field; ",[266,363,364],{},"null"," when unset",[299,367,368,380],{},[314,369,370,373,374,373,377],{},[266,371,372],{},"toArray($version, $extensions)",", ",[266,375,376],{},"toJson($version, $flags, $extensions)",[266,378,379],{},"toYaml($version, $extensions)",[314,381,382],{},[383,384,385],"a",{"href":190},"Write the object",[299,387,388,396],{},[314,389,390,373,393],{},[266,391,392],{},"x(string $name, mixed $value)",[266,394,395],{},"withoutX(string $name)",[314,397,398,399,282,401],{},"Extensions, on every object but ",[266,400,227],{},[266,402,403],{},"SecurityRequirement",[288,405,146],{"id":406},"document",[408,409,411],"h3",{"id":410},"openapi","OpenApi",[293,413,414,423],{},[296,415,416],{},[299,417,418,420],{},[302,419,304],{},[302,421,422],{},"Notes",[309,424,425,435,450,460,471,480,490,502,511,521,530],{},[299,426,427,432],{},[314,428,429],{},[266,430,431],{},"openapi(Version|string|null)",[314,433,434],{},"Default version for writing and validating",[299,436,437,442],{},[314,438,439],{},[266,440,441],{},"self(?string)",[314,443,444,446,447],{},[279,445,285],{}," ",[266,448,449],{},"$self",[299,451,452,457],{},[314,453,454],{},[266,455,456],{},"info(?Info)",[314,458,459],{},"Required",[299,461,462,467],{},[314,463,464],{},[266,465,466],{},"jsonSchemaDialect(?string)",[314,468,469],{},[279,470,281],{},[299,472,473,478],{},[314,474,475],{},[266,476,477],{},"servers(Server ...)",[314,479],{},[299,481,482,487],{},[314,483,484],{},[266,485,486],{},"paths(PathItem ...)",[314,488,489],{},"objectId = path",[299,491,492,497],{},[314,493,494],{},[266,495,496],{},"webhooks(PathItemContract ...)",[314,498,499,501],{},[279,500,281],{}," objectId = webhook name",[299,503,504,509],{},[314,505,506],{},[266,507,508],{},"components(?Components)",[314,510],{},[299,512,513,518],{},[314,514,515],{},[266,516,517],{},"security(SecurityRequirement ...)",[314,519,520],{},"Alternatives",[299,522,523,528],{},[314,524,525],{},[266,526,527],{},"tags(Tag ...)",[314,529],{},[299,531,532,537],{},[314,533,534],{},[266,535,536],{},"externalDocs(?ExternalDocumentation)",[314,538],{},[262,540,541,544],{},[266,542,543],{},"json_encode($openApi)"," writes it for its declared version.",[408,546,548],{"id":547},"info-contact-license","Info, Contact, License",[293,550,551,561],{},[296,552,553],{},[299,554,555,558],{},[302,556,557],{},"Object",[302,559,560],{},"Methods",[309,562,563,597,615],{},[299,564,565,570],{},[314,566,567],{},[266,568,569],{},"Info",[314,571,572,575,576,446,579,373,581,373,584,373,587,373,590,373,593,596],{},[266,573,574],{},"title(?string)"," (required), ",[266,577,578],{},"summary(?string)",[279,580,281],{},[266,582,583],{},"description(?string)",[266,585,586],{},"termsOfService(?string)",[266,588,589],{},"contact(?Contact)",[266,591,592],{},"license(?License)",[266,594,595],{},"version(?string)"," (required)",[299,598,599,604],{},[314,600,601],{},[266,602,603],{},"Contact",[314,605,606,373,609,373,612],{},[266,607,608],{},"name(?string)",[266,610,611],{},"url(?string)",[266,613,614],{},"email(?string)",[299,616,617,622],{},[314,618,619],{},[266,620,621],{},"License",[314,623,624,575,626,446,629,373,631,633,634,282,637,640],{},[266,625,608],{},[266,627,628],{},"identifier(?string)",[279,630,281],{},[266,632,611],{},"; ",[266,635,636],{},"identifier",[266,638,639],{},"url"," are exclusive",[408,642,644],{"id":643},"server-servervariable","Server, ServerVariable",[293,646,647,655],{},[296,648,649],{},[299,650,651,653],{},[302,652,557],{},[302,654,560],{},[309,656,657,677],{},[299,658,659,664],{},[314,660,661],{},[266,662,663],{},"Server",[314,665,666,575,668,373,670,446,672,373,674],{},[266,667,611],{},[266,669,583],{},[266,671,608],{},[279,673,285],{},[266,675,676],{},"variables(ServerVariable ...)",[299,678,679,684],{},[314,680,681],{},[266,682,683],{},"ServerVariable::create('region')",[314,685,686,373,689,575,692],{},[266,687,688],{},"enum(string ...)",[266,690,691],{},"default(?string)",[266,693,583],{},[408,695,697],{"id":696},"tag-externaldocumentation","Tag, ExternalDocumentation",[293,699,700,708],{},[296,701,702],{},[299,703,704,706],{},[302,705,557],{},[302,707,560],{},[309,709,710,744],{},[299,711,712,717],{},[314,713,714],{},[266,715,716],{},"Tag",[314,718,719,721,722,725,726,446,728,373,730,373,732,373,734,446,737,373,739,446,742],{},[266,720,608],{}," (required, not set by ",[266,723,724],{},"create()","), ",[266,727,578],{},[279,729,285],{},[266,731,583],{},[266,733,536],{},[266,735,736],{},"parent(?string)",[279,738,285],{},[266,740,741],{},"kind(?string)",[279,743,285],{},[299,745,746,751],{},[314,747,748],{},[266,749,750],{},"ExternalDocumentation",[314,752,753,373,755,596],{},[266,754,583],{},[266,756,611],{},[288,758,150],{"id":759},"paths-and-operations",[408,761,763],{"id":762},"pathitem","PathItem",[262,765,766,769],{},[266,767,768],{},"PathItem::create('\u002Fusers\u002F{id}')","; the objectId is the path, the webhook name or the callback expression.",[293,771,772,780],{},[296,773,774],{},[299,775,776,778],{},[302,777,304],{},[302,779,422],{},[309,781,782,792,827,838,853,866,876,884],{},[299,783,784,789],{},[314,785,786],{},[266,787,788],{},"operations(Operation ...)",[314,790,791],{},"Each operation under its method (its objectId)",[299,793,794,820],{},[314,795,796,373,799,373,802,373,805,373,808,373,811,373,814,373,817],{},[266,797,798],{},"get()",[266,800,801],{},"put()",[266,803,804],{},"post()",[266,806,807],{},"delete()",[266,809,810],{},"options()",[266,812,813],{},"head()",[266,815,816],{},"patch()",[266,818,819],{},"trace()",[314,821,822,823,826],{},"One ",[266,824,825],{},"?Operation"," each",[299,828,829,834],{},[314,830,831],{},[266,832,833],{},"query(?Operation)",[314,835,836],{},[279,837,285],{},[299,839,840,845],{},[314,841,842],{},[266,843,844],{},"additionalOperations(Operation ...)",[314,846,847,849,850],{},[279,848,285],{}," other methods: ",[266,851,852],{},"Operation::create('COPY')",[299,854,855,860],{},[314,856,857],{},[266,858,859],{},"ref(?string)",[314,861,862,865],{},[266,863,864],{},"$ref"," to a path item defined elsewhere",[299,867,868,874],{},[314,869,870,373,872],{},[266,871,578],{},[266,873,583],{},[314,875],{},[299,877,878,882],{},[314,879,880],{},[266,881,477],{},[314,883],{},[299,885,886,891],{},[314,887,888],{},[266,889,890],{},"parameters(ParameterContract ...)",[314,892,893],{},"Shared by every operation",[408,895,897],{"id":896},"operation","Operation",[262,899,900,901,373,904,373,906,373,908,373,910,373,912,373,914,373,916,373,918,921,633,923,925,926,929],{},"Shortcuts: ",[266,902,903],{},"Operation::get()",[266,905,801],{},[266,907,804],{},[266,909,807],{},[266,911,810],{},[266,913,813],{},[266,915,816],{},[266,917,819],{},[266,919,920],{},"query()",[279,922,285],{},[266,924,852],{}," for ",[266,927,928],{},"additionalOperations",".",[293,931,932,940],{},[296,933,934],{},[299,935,936,938],{},[302,937,304],{},[302,939,422],{},[309,941,942,952,962,970,979,987,996,1009,1018,1027,1040],{},[299,943,944,949],{},[314,945,946],{},[266,947,948],{},"tags(string ...)",[314,950,951],{},"Tag names",[299,953,954,960],{},[314,955,956,373,958],{},[266,957,578],{},[266,959,583],{},[314,961],{},[299,963,964,968],{},[314,965,966],{},[266,967,536],{},[314,969],{},[299,971,972,977],{},[314,973,974],{},[266,975,976],{},"operationId(?string)",[314,978],{},[299,980,981,985],{},[314,982,983],{},[266,984,890],{},[314,986],{},[299,988,989,994],{},[314,990,991],{},[266,992,993],{},"requestBody(?RequestBodyContract)",[314,995],{},[299,997,998,1006],{},[314,999,1000,373,1003],{},[266,1001,1002],{},"responses(Responses|ResponseContract ...)",[266,1004,1005],{},"addResponses(ResponseContract ...)",[314,1007,1008],{},"Keyed by status code",[299,1010,1011,1016],{},[314,1012,1013],{},[266,1014,1015],{},"callbacks(CallbackContract ...)",[314,1017],{},[299,1019,1020,1025],{},[314,1021,1022],{},[266,1023,1024],{},"deprecated(?bool = true)",[314,1026],{},[299,1028,1029,1033],{},[314,1030,1031],{},[266,1032,517],{},[314,1034,1035,1036,1039],{},"Without argument: ",[266,1037,1038],{},"[]",", no authentication",[299,1041,1042,1046],{},[314,1043,1044],{},[266,1045,477],{},[314,1047],{},[408,1049,1051],{"id":1050},"responses-callback","Responses, Callback",[293,1053,1054,1062],{},[296,1055,1056],{},[299,1057,1058,1060],{},[302,1059,557],{},[302,1061,560],{},[309,1063,1064,1084],{},[299,1065,1066,1071],{},[314,1067,1068],{},[266,1069,1070],{},"Responses",[314,1072,1073,373,1076,1079,1080,1083],{},[266,1074,1075],{},"default(?ResponseContract)",[266,1077,1078],{},"responses(ResponseContract ...)","; rarely needed, ",[266,1081,1082],{},"Operation::responses()"," builds it",[299,1085,1086,1091],{},[314,1087,1088],{},[266,1089,1090],{},"Callback::create('onPaid')",[314,1092,1093,1096,1097],{},[266,1094,1095],{},"pathItems(PathItemContract ...)",", each keyed by a runtime expression; ",[266,1098,1099],{},"Callback::ref($ref, $objectId)",[288,1101,1103],{"id":1102},"parameters-and-headers","Parameters and headers",[408,1105,1107],{"id":1106},"parameter","Parameter",[262,1109,900,1110,1113,1114,725,1117,373,1120,373,1123,1126,1127,446,1130,1132,1133,1136,1137,1140,1141,929],{},[266,1111,1112],{},"Parameter::path($name)"," (sets ",[266,1115,1116],{},"required: true",[266,1118,1119],{},"query($name)",[266,1121,1122],{},"header($name)",[266,1124,1125],{},"cookie($name)",",\n",[266,1128,1129],{},"querystring($name)",[279,1131,285],{},". The second argument is the objectId, for ",[266,1134,1135],{},"Components::parameters()",".\n",[266,1138,1139],{},"Parameter::ref('Page')"," refers to ",[266,1142,1143],{},"#\u002Fcomponents\u002Fparameters\u002FPage",[293,1145,1146,1154],{},[296,1147,1148],{},[299,1149,1150,1152],{},[302,1151,304],{},[302,1153,422],{},[309,1155,1156,1168,1176,1190,1205,1218,1228],{},[299,1157,1158,1165],{},[314,1159,1160,373,1162],{},[266,1161,608],{},[266,1163,1164],{},"in(ParameterLocation|string|null)",[314,1166,1167],{},"Set by the shortcuts",[299,1169,1170,1174],{},[314,1171,1172],{},[266,1173,583],{},[314,1175],{},[299,1177,1178,1188],{},[314,1179,1180,373,1183,373,1185],{},[266,1181,1182],{},"required(?bool = true)",[266,1184,1024],{},[266,1186,1187],{},"allowEmptyValue(?bool = true)",[314,1189],{},[299,1191,1192,1203],{},[314,1193,1194,373,1197,373,1200],{},[266,1195,1196],{},"style(ParameterStyle|string|null)",[266,1198,1199],{},"explode(?bool = true)",[266,1201,1202],{},"allowReserved(?bool = true)",[314,1204],{},[299,1206,1207,1212],{},[314,1208,1209],{},[266,1210,1211],{},"schema(?SchemaContract)",[314,1213,1214,1215],{},"Or ",[266,1216,1217],{},"content",[299,1219,1220,1225],{},[314,1221,1222],{},[266,1223,1224],{},"content(MediaTypeContract ...)",[314,1226,1227],{},"One media type",[299,1229,1230,1238],{},[314,1231,1232,373,1235],{},[266,1233,1234],{},"example(mixed)",[266,1236,1237],{},"examples(ExampleContract ...)",[314,1239,1240],{},"Exclusive",[408,1242,1244],{"id":1243},"header","Header",[262,1246,1247,373,1250,1253,1254,373,1257,373,1260,1126,1263,373,1266,373,1269,373,1272,373,1275,373,1278,1281,1282,929],{},[266,1248,1249],{},"Header::create('X-Rate-Limit')",[266,1251,1252],{},"Header::ref($ref, $objectId)",": ",[266,1255,1256],{},"description()",[266,1258,1259],{},"required()",[266,1261,1262],{},"deprecated()",[266,1264,1265],{},"style()",[266,1267,1268],{},"explode()",[266,1270,1271],{},"schema()",[266,1273,1274],{},"example()",[266,1276,1277],{},"examples()",[266,1279,1280],{},"content()",", with the types of ",[266,1283,1107],{},[288,1285,1287],{"id":1286},"bodies-and-content","Bodies and content",[408,1289,1291],{"id":1290},"requestbody","RequestBody",[262,1293,1294,373,1297,1253,1300,373,1302,1304,1305,929],{},[266,1295,1296],{},"RequestBody::create()",[266,1298,1299],{},"RequestBody::ref($ref, $objectId)",[266,1301,583],{},[266,1303,1224],{},"\n(required), ",[266,1306,1182],{},[408,1308,1310],{"id":1309},"mediatype","MediaType",[262,1312,900,1313,373,1316,373,1319,373,1322,373,1325,1136,1328,446,1331,929],{},[266,1314,1315],{},"MediaType::json()",[266,1317,1318],{},"xml()",[266,1320,1321],{},"formUrlEncoded()",[266,1323,1324],{},"multipart()",[266,1326,1327],{},"MediaType::of('text\u002Fcsv')",[266,1329,1330],{},"MediaType::ref('BookJson', 'application\u002Fjson')",[279,1332,285],{},[293,1334,1335,1343],{},[296,1336,1337],{},[299,1338,1339,1341],{},[302,1340,304],{},[302,1342,422],{},[309,1344,1345,1353,1365,1375,1385,1395],{},[299,1346,1347,1351],{},[314,1348,1349],{},[266,1350,1211],{},[314,1352],{},[299,1354,1355,1360],{},[314,1356,1357],{},[266,1358,1359],{},"itemSchema(?SchemaContract)",[314,1361,1362,1364],{},[279,1363,285],{}," each item of a stream",[299,1366,1367,1371],{},[314,1368,1369],{},[266,1370,583],{},[314,1372,1373],{},[279,1374,285],{},[299,1376,1377,1383],{},[314,1378,1379,373,1381],{},[266,1380,1234],{},[266,1382,1237],{},[314,1384,1240],{},[299,1386,1387,1392],{},[314,1388,1389],{},[266,1390,1391],{},"encoding(Encoding ...)",[314,1393,1394],{},"objectId = property name",[299,1396,1397,1405],{},[314,1398,1399,373,1402],{},[266,1400,1401],{},"prefixEncoding(Encoding ...)",[266,1403,1404],{},"itemEncoding(?Encoding)",[314,1406,1407,1409,1410],{},[279,1408,285],{},"; exclusive with ",[266,1411,1412],{},"encoding",[408,1414,1415],{"id":1412},"Encoding",[262,1417,1418,1253,1421,373,1424,373,1427,373,1429,1126,1431,1434,1435,373,1438,373,1441,446,1444,929],{},[266,1419,1420],{},"Encoding::create('photo')",[266,1422,1423],{},"contentType(?string)",[266,1425,1426],{},"headers(HeaderContract ...)",[266,1428,1265],{},[266,1430,1268],{},[266,1432,1433],{},"allowReserved()",", and ",[266,1436,1437],{},"encoding()",[266,1439,1440],{},"prefixEncoding()",[266,1442,1443],{},"itemEncoding()",[279,1445,285],{},[408,1447,1449],{"id":1448},"example","Example",[262,1451,1452,373,1455,1253,1458,373,1460,1126,1462,373,1465,373,1468,446,1471,373,1473,446,1476,1478,1479,1482,1483,1486,1487,929],{},[266,1453,1454],{},"Example::create('admin')",[266,1456,1457],{},"Example::ref($ref, $objectId)",[266,1459,578],{},[266,1461,583],{},[266,1463,1464],{},"value(mixed)",[266,1466,1467],{},"externalValue(?string)",[266,1469,1470],{},"dataValue(mixed)",[279,1472,285],{},[266,1474,1475],{},"serializedValue(?string)",[279,1477,285],{},". ",[266,1480,1481],{},"value","\nexcludes the three others; ",[266,1484,1485],{},"serializedValue"," excludes ",[266,1488,1489],{},"externalValue",[288,1491,1070],{"id":1492},"responses",[408,1494,1496],{"id":1495},"response","Response",[262,1498,1499,1500,1503,1504,1507,1508,1511,1512,1515,1516,1519,1520,1523,1524,1527,1528,1531,1532,1535,1536,1539,1540,1543,1544,1547,1548,1551,1552,1555,1556,1559,1560,1563,1564,1567,1568,1126,1571,373,1574,1478,1577,929],{},"Shortcuts, with the reason phrase as description: ",[266,1501,1502],{},"ok()"," 200, ",[266,1505,1506],{},"created()"," 201, ",[266,1509,1510],{},"accepted()"," 202, ",[266,1513,1514],{},"noContent()"," 204,\n",[266,1517,1518],{},"movedPermanently()"," 301, ",[266,1521,1522],{},"found()"," 302, ",[266,1525,1526],{},"notModified()"," 304, ",[266,1529,1530],{},"badRequest()"," 400, ",[266,1533,1534],{},"unauthorized()"," 401, ",[266,1537,1538],{},"forbidden()","\n403, ",[266,1541,1542],{},"notFound()"," 404, ",[266,1545,1546],{},"methodNotAllowed()"," 405, ",[266,1549,1550],{},"conflict()"," 409, ",[266,1553,1554],{},"unprocessableEntity()"," 422, ",[266,1557,1558],{},"tooManyRequests()","\n429, ",[266,1561,1562],{},"internalServerError()"," 500, ",[266,1565,1566],{},"serviceUnavailable()"," 503. Others: ",[266,1569,1570],{},"Response::status(418)",[266,1572,1573],{},"Response::status('4XX')",[266,1575,1576],{},"Response::create('default')",[266,1578,1579],{},"Response::ref('NotFound')",[293,1581,1582,1590],{},[296,1583,1584],{},[299,1585,1586,1588],{},[302,1587,304],{},[302,1589,422],{},[309,1591,1592,1605,1615,1623,1631],{},[299,1593,1594,1598],{},[314,1595,1596],{},[266,1597,583],{},[314,1599,1600,1601,1604],{},"Written as ",[266,1602,1603],{},"\"\""," when missing",[299,1606,1607,1611],{},[314,1608,1609],{},[266,1610,578],{},[314,1612,1613],{},[279,1614,285],{},[299,1616,1617,1621],{},[314,1618,1619],{},[266,1620,1426],{},[314,1622],{},[299,1624,1625,1629],{},[314,1626,1627],{},[266,1628,1224],{},[314,1630],{},[299,1632,1633,1638],{},[314,1634,1635],{},[266,1636,1637],{},"links(LinkContract ...)",[314,1639],{},[408,1641,1643],{"id":1642},"link","Link",[262,1645,1646,373,1649,1253,1652,1655,1656,1658,1659,373,1662,373,1665,373,1667,929],{},[266,1647,1648],{},"Link::create('GetUser')",[266,1650,1651],{},"Link::ref($ref, $objectId)",[266,1653,1654],{},"operationRef(?string)"," or ",[266,1657,976],{},"\n(exclusive), ",[266,1660,1661],{},"parameters(array\u003Cstring, mixed>)",[266,1663,1664],{},"requestBody(mixed)",[266,1666,583],{},[266,1668,1669],{},"server(?Server)",[288,1671,170],{"id":1672},"schemas",[408,1674,1676],{"id":1675},"schema","Schema",[262,1678,900,1679,373,1682,373,1685,373,1688,373,1691,373,1694,373,1697,633,1700,1702,1703,1706,1707,929],{},[266,1680,1681],{},"Schema::string()",[266,1683,1684],{},"integer()",[266,1686,1687],{},"number()",[266,1689,1690],{},"boolean()",[266,1692,1693],{},"array()",[266,1695,1696],{},"object()",[266,1698,1699],{},"null()",[266,1701,724],{}," has\nno type. ",[266,1704,1705],{},"Schema::ref('User', 'owner')"," is a ",[266,1708,1676],{},[293,1710,1711,1720],{},[296,1712,1713],{},[299,1714,1715,1718],{},[302,1716,1717],{},"Group",[302,1719,560],{},[309,1721,1722,1738,1777,1790,1812,1839,1875,1913,1946],{},[299,1723,1724,1727],{},[314,1725,1726],{},"Type",[314,1728,1729,373,1732,373,1735],{},[266,1730,1731],{},"type(SchemaType|string ...)",[266,1733,1734],{},"nullable(?bool = true)",[266,1736,1737],{},"format(?string)",[299,1739,1740,1743],{},[314,1741,1742],{},"Metadata",[314,1744,1745,373,1748,373,1750,373,1753,373,1755,373,1758,373,1760,373,1763,373,1766,373,1769,373,1772,446,1775],{},[266,1746,1747],{},"title()",[266,1749,1256],{},[266,1751,1752],{},"default(mixed)",[266,1754,1234],{},[266,1756,1757],{},"examples(mixed ...)",[266,1759,1262],{},[266,1761,1762],{},"readOnly()",[266,1764,1765],{},"writeOnly()",[266,1767,1768],{},"externalDocs()",[266,1770,1771],{},"xml(?Xml)",[266,1773,1774],{},"comment()",[279,1776,281],{},[299,1778,1779,1782],{},[314,1780,1781],{},"Values",[314,1783,1784,373,1787],{},[266,1785,1786],{},"enum(mixed ...)",[266,1788,1789],{},"const(mixed)",[299,1791,1792,1795],{},[314,1793,1794],{},"Numbers",[314,1796,1797,373,1800,373,1803,373,1806,373,1809],{},[266,1798,1799],{},"minimum()",[266,1801,1802],{},"maximum()",[266,1804,1805],{},"exclusiveMinimum()",[266,1807,1808],{},"exclusiveMaximum()",[266,1810,1811],{},"multipleOf()",[299,1813,1814,1817],{},[314,1815,1816],{},"Strings",[314,1818,1819,373,1822,373,1825,373,1828,373,1831,373,1834,446,1837],{},[266,1820,1821],{},"minLength()",[266,1823,1824],{},"maxLength()",[266,1826,1827],{},"pattern()",[266,1829,1830],{},"contentEncoding()",[266,1832,1833],{},"contentMediaType()",[266,1835,1836],{},"contentSchema()",[279,1838,281],{},[299,1840,1841,1844],{},[314,1842,1843],{},"Arrays",[314,1845,1846,373,1849,373,1852,373,1855,633,1858,1253,1860,373,1863,373,1866,373,1869,373,1872],{},[266,1847,1848],{},"items()",[266,1850,1851],{},"minItems()",[266,1853,1854],{},"maxItems()",[266,1856,1857],{},"uniqueItems()",[279,1859,281],{},[266,1861,1862],{},"prefixItems()",[266,1864,1865],{},"contains()",[266,1867,1868],{},"minContains()",[266,1870,1871],{},"maxContains()",[266,1873,1874],{},"unevaluatedItems()",[299,1876,1877,1879],{},[314,1878,233],{},[314,1880,1881,373,1884,373,1887,373,1890,373,1893,633,1896,1253,1898,373,1901,373,1904,373,1907,373,1910],{},[266,1882,1883],{},"properties()",[266,1885,1886],{},"required(string ...)",[266,1888,1889],{},"additionalProperties()",[266,1891,1892],{},"minProperties()",[266,1894,1895],{},"maxProperties()",[279,1897,281],{},[266,1899,1900],{},"patternProperties()",[266,1902,1903],{},"propertyNames()",[266,1905,1906],{},"unevaluatedProperties()",[266,1908,1909],{},"dependentRequired(array)",[266,1911,1912],{},"dependentSchemas()",[299,1914,1915,1918],{},[314,1916,1917],{},"Composition",[314,1919,1920,373,1923,373,1926,373,1929,373,1932,633,1935,1253,1937,373,1940,373,1943],{},[266,1921,1922],{},"allOf()",[266,1924,1925],{},"anyOf()",[266,1927,1928],{},"oneOf()",[266,1930,1931],{},"not()",[266,1933,1934],{},"discriminator(?Discriminator)",[279,1936,281],{},[266,1938,1939],{},"if()",[266,1941,1942],{},"then()",[266,1944,1945],{},"else()",[299,1947,1948,1951],{},[314,1949,1950],{},"JSON Schema core",[314,1952,1953,1253,1955,1957,1958,725,1961,1957,1964,725,1967,373,1970,373,1973,373,1976,1957,1979,1982],{},[279,1954,281],{},[266,1956,1271],{}," (",[266,1959,1960],{},"$schema",[266,1962,1963],{},"id()",[266,1965,1966],{},"$id",[266,1968,1969],{},"anchor()",[266,1971,1972],{},"dynamicAnchor()",[266,1974,1975],{},"dynamicRef()",[266,1977,1978],{},"defs()",[266,1980,1981],{},"$defs",")",[408,1984,1986],{"id":1985},"discriminator-xml","Discriminator, Xml",[293,1988,1989,1997],{},[296,1990,1991],{},[299,1992,1993,1995],{},[302,1994,557],{},[302,1996,560],{},[309,1998,1999,2019],{},[299,2000,2001,2006],{},[314,2002,2003],{},[266,2004,2005],{},"Discriminator",[314,2007,2008,575,2011,373,2014,446,2017],{},[266,2009,2010],{},"propertyName(?string)",[266,2012,2013],{},"mapping(array\u003Cstring, string>)",[266,2015,2016],{},"defaultMapping(?string)",[279,2018,285],{},[299,2020,2021,2026],{},[314,2022,2023],{},[266,2024,2025],{},"Xml",[314,2027,2028,373,2031,373,2034,373,2037,373,2040,373,2043,446,2046,2048,2049,282,2052,1982],{},[266,2029,2030],{},"name()",[266,2032,2033],{},"namespace()",[266,2035,2036],{},"prefix()",[266,2038,2039],{},"attribute(?bool = true)",[266,2041,2042],{},"wrapped(?bool = true)",[266,2044,2045],{},"nodeType(XmlNodeType|string|null)",[279,2047,285],{}," (exclusive with ",[266,2050,2051],{},"attribute",[266,2053,2054],{},"wrapped",[288,2056,158],{"id":2057},"components-and-references",[408,2059,2061],{"id":2060},"components","Components",[262,2063,2064,2065,373,2068,373,2071,373,2074,1126,2076,373,2079,373,2082,373,2085,373,2088,373,2091,446,2094,1126,2096,446,2099,929],{},"Every section is keyed by the objectId of its entries: ",[266,2066,2067],{},"schemas()",[266,2069,2070],{},"responses()",[266,2072,2073],{},"parameters()",[266,2075,1277],{},[266,2077,2078],{},"requestBodies()",[266,2080,2081],{},"headers()",[266,2083,2084],{},"securitySchemes()",[266,2086,2087],{},"links()",[266,2089,2090],{},"callbacks()",[266,2092,2093],{},"pathItems()",[279,2095,281],{},[266,2097,2098],{},"mediaTypes()",[279,2100,285],{},[408,2102,227],{"id":2103},"reference",[293,2105,2106,2114],{},[296,2107,2108],{},[299,2109,2110,2112],{},[302,2111,304],{},[302,2113,422],{},[309,2115,2116,2126,2136,2144],{},[299,2117,2118,2123],{},[314,2119,2120],{},[266,2121,2122],{},"static to(string $ref, ?string $objectId = null)",[314,2124,2125],{},"Any reference",[299,2127,2128,2133],{},[314,2129,2130],{},[266,2131,2132],{},"static for(SpecObject $component)",[314,2134,2135],{},"Reference to a component object",[299,2137,2138,2142],{},[314,2139,2140],{},[266,2141,859],{},[314,2143],{},[299,2145,2146,2152],{},[314,2147,2148,373,2150],{},[266,2149,578],{},[266,2151,583],{},[314,2153,2154],{},[279,2155,281],{},[288,2157,162],{"id":2158},"security",[408,2160,2162],{"id":2161},"securityscheme","SecurityScheme",[262,2164,900,2165,373,2168,373,2171,373,2174,1126,2177,446,2180,2182,2183,929],{},[266,2166,2167],{},"SecurityScheme::apiKey('key')",[266,2169,2170],{},"http('bearer')",[266,2172,2173],{},"oauth2('oauth')",[266,2175,2176],{},"openIdConnect('oidc')",[266,2178,2179],{},"mutualTLS('mtls')",[279,2181,281],{},"; the argument is the scheme name. ",[266,2184,2185],{},"SecurityScheme::ref($ref, $objectId)",[293,2187,2188,2197],{},[296,2189,2190],{},[299,2191,2192,2194],{},[302,2193,304],{},[302,2195,2196],{},"Used by",[309,2198,2199,2209,2217,2231,2246,2258,2271,2283],{},[299,2200,2201,2206],{},[314,2202,2203],{},[266,2204,2205],{},"type(SecuritySchemeType|string|null)",[314,2207,2208],{},"all",[299,2210,2211,2215],{},[314,2212,2213],{},[266,2214,583],{},[314,2216,2208],{},[299,2218,2219,2226],{},[314,2220,2221,373,2223],{},[266,2222,608],{},[266,2224,2225],{},"in(ApiKeyLocation|string|null)",[314,2227,2228],{},[266,2229,2230],{},"apiKey",[299,2232,2233,2241],{},[314,2234,2235,373,2238],{},[266,2236,2237],{},"scheme(?string)",[266,2239,2240],{},"bearerFormat(?string)",[314,2242,2243],{},[266,2244,2245],{},"http",[299,2247,2248,2253],{},[314,2249,2250],{},[266,2251,2252],{},"flows(?OAuthFlows)",[314,2254,2255],{},[266,2256,2257],{},"oauth2",[299,2259,2260,2265],{},[314,2261,2262],{},[266,2263,2264],{},"oauth2MetadataUrl(?string)",[314,2266,2267,446,2269],{},[266,2268,2257],{},[279,2270,285],{},[299,2272,2273,2278],{},[314,2274,2275],{},[266,2276,2277],{},"openIdConnectUrl(?string)",[314,2279,2280],{},[266,2281,2282],{},"openIdConnect",[299,2284,2285,2289],{},[314,2286,2287],{},[266,2288,1024],{},[314,2290,2291],{},[279,2292,285],{},[408,2294,2296],{"id":2295},"oauthflows-oauthflow-securityrequirement","OAuthFlows, OAuthFlow, SecurityRequirement",[293,2298,2299,2307],{},[296,2300,2301],{},[299,2302,2303,2305],{},[302,2304,557],{},[302,2306,560],{},[309,2308,2309,2339,2365],{},[299,2310,2311,2316],{},[314,2312,2313],{},[266,2314,2315],{},"OAuthFlows",[314,2317,2318,373,2321,373,2324,373,2327,373,2330,446,2333,2335,2336],{},[266,2319,2320],{},"implicit()",[266,2322,2323],{},"password()",[266,2325,2326],{},"clientCredentials()",[266,2328,2329],{},"authorizationCode()",[266,2331,2332],{},"deviceAuthorization()",[279,2334,285],{},", each ",[266,2337,2338],{},"?OAuthFlow",[299,2340,2341,2346],{},[314,2342,2343],{},[266,2344,2345],{},"OAuthFlow",[314,2347,2348,373,2351,373,2354,373,2357,446,2360,373,2362],{},[266,2349,2350],{},"authorizationUrl()",[266,2352,2353],{},"tokenUrl()",[266,2355,2356],{},"refreshUrl()",[266,2358,2359],{},"deviceAuthorizationUrl()",[279,2361,285],{},[266,2363,2364],{},"scopes(array\u003Cstring, string>)",[299,2366,2367,2371],{},[314,2368,2369],{},[266,2370,403],{},[314,2372,2373,2376],{},[266,2374,2375],{},"schemes(array\u003Cstring, list\u003Cstring>>)",": scheme name to required scopes; empty: optional authentication",{"title":2378,"searchDepth":2379,"depth":2379,"links":2380},"",3,[2381,2383,2389,2394,2398,2404,2408,2412,2416],{"id":290,"depth":2382,"text":291},2,{"id":406,"depth":2382,"text":146,"children":2384},[2385,2386,2387,2388],{"id":410,"depth":2379,"text":411},{"id":547,"depth":2379,"text":548},{"id":643,"depth":2379,"text":644},{"id":696,"depth":2379,"text":697},{"id":759,"depth":2382,"text":150,"children":2390},[2391,2392,2393],{"id":762,"depth":2379,"text":763},{"id":896,"depth":2379,"text":897},{"id":1050,"depth":2379,"text":1051},{"id":1102,"depth":2382,"text":1103,"children":2395},[2396,2397],{"id":1106,"depth":2379,"text":1107},{"id":1243,"depth":2379,"text":1244},{"id":1286,"depth":2382,"text":1287,"children":2399},[2400,2401,2402,2403],{"id":1290,"depth":2379,"text":1291},{"id":1309,"depth":2379,"text":1310},{"id":1412,"depth":2379,"text":1415},{"id":1448,"depth":2379,"text":1449},{"id":1492,"depth":2382,"text":1070,"children":2405},[2406,2407],{"id":1495,"depth":2379,"text":1496},{"id":1642,"depth":2379,"text":1643},{"id":1672,"depth":2382,"text":170,"children":2409},[2410,2411],{"id":1675,"depth":2379,"text":1676},{"id":1985,"depth":2379,"text":1986},{"id":2057,"depth":2382,"text":158,"children":2413},[2414,2415],{"id":2060,"depth":2379,"text":2061},{"id":2103,"depth":2379,"text":227},{"id":2158,"depth":2382,"text":162,"children":2417},[2418,2419],{"id":2161,"depth":2379,"text":2162},{"id":2295,"depth":2379,"text":2296},"Every object of Ark4ne\\OpenApiWriter\\Objects, its constructors and its methods.","md",{},true,"---\ntitle: Objects\ndescription: Every object of Ark4ne\\OpenApiWriter\\Objects, its constructors and its methods.\n---\n\nEvery class is in `Ark4ne\\OpenApiWriter\\Objects`. Every method returns a modified copy. `T ...` is variadic; for a list\nor a map, the field name replaces and `add` + the field name appends. **3.1+** and **3.2** mark what older versions\ncannot write. A method taking an enum also takes its string value.\n\n## Common methods\n\n| Method | Purpose |\n| --- | --- |\n| `static create(?string $objectId = null)` | New empty object; the objectId is its key in the parent |\n| `objectId(?string $objectId)` | Copy with another key |\n| `without(string $field)` | Copy without the field |\n| `has(string $field): bool` | Whether the field is set |\n| `$object->field` | Read a field; `null` when unset |\n| `toArray($version, $extensions)`, `toJson($version, $flags, $extensions)`, `toYaml($version, $extensions)` | [Write the object](\u002Fopenapi-writer\u002Fversions-and-output\u002Fwriting-a-document) |\n| `x(string $name, mixed $value)`, `withoutX(string $name)` | Extensions, on every object but `Reference` and `SecurityRequirement` |\n\n## Document\n\n### OpenApi\n\n| Method | Notes |\n| --- | --- |\n| `openapi(Version\\|string\\|null)` | Default version for writing and validating |\n| `self(?string)` | **3.2** `$self` |\n| `info(?Info)` | Required |\n| `jsonSchemaDialect(?string)` | **3.1+** |\n| `servers(Server ...)` | |\n| `paths(PathItem ...)` | objectId = path |\n| `webhooks(PathItemContract ...)` | **3.1+** objectId = webhook name |\n| `components(?Components)` | |\n| `security(SecurityRequirement ...)` | Alternatives |\n| `tags(Tag ...)` | |\n| `externalDocs(?ExternalDocumentation)` | |\n\n`json_encode($openApi)` writes it for its declared version.\n\n### Info, Contact, License\n\n| Object | Methods |\n| --- | --- |\n| `Info` | `title(?string)` (required), `summary(?string)` **3.1+**, `description(?string)`, `termsOfService(?string)`, `contact(?Contact)`, `license(?License)`, `version(?string)` (required) |\n| `Contact` | `name(?string)`, `url(?string)`, `email(?string)` |\n| `License` | `name(?string)` (required), `identifier(?string)` **3.1+**, `url(?string)`; `identifier` and `url` are exclusive |\n\n### Server, ServerVariable\n\n| Object | Methods |\n| --- | --- |\n| `Server` | `url(?string)` (required), `description(?string)`, `name(?string)` **3.2**, `variables(ServerVariable ...)` |\n| `ServerVariable::create('region')` | `enum(string ...)`, `default(?string)` (required), `description(?string)` |\n\n### Tag, ExternalDocumentation\n\n| Object | Methods |\n| --- | --- |\n| `Tag` | `name(?string)` (required, not set by `create()`), `summary(?string)` **3.2**, `description(?string)`, `externalDocs(?ExternalDocumentation)`, `parent(?string)` **3.2**, `kind(?string)` **3.2** |\n| `ExternalDocumentation` | `description(?string)`, `url(?string)` (required) |\n\n## Paths and operations\n\n### PathItem\n\n`PathItem::create('\u002Fusers\u002F{id}')`; the objectId is the path, the webhook name or the callback expression.\n\n| Method | Notes |\n| --- | --- |\n| `operations(Operation ...)` | Each operation under its method (its objectId) |\n| `get()`, `put()`, `post()`, `delete()`, `options()`, `head()`, `patch()`, `trace()` | One `?Operation` each |\n| `query(?Operation)` | **3.2** |\n| `additionalOperations(Operation ...)` | **3.2** other methods: `Operation::create('COPY')` |\n| `ref(?string)` | `$ref` to a path item defined elsewhere |\n| `summary(?string)`, `description(?string)` | |\n| `servers(Server ...)` | |\n| `parameters(ParameterContract ...)` | Shared by every operation |\n\n### Operation\n\nShortcuts: `Operation::get()`, `put()`, `post()`, `delete()`, `options()`, `head()`, `patch()`, `trace()`, `query()`\n**3.2**; `Operation::create('COPY')` for `additionalOperations`.\n\n| Method | Notes |\n| --- | --- |\n| `tags(string ...)` | Tag names |\n| `summary(?string)`, `description(?string)` | |\n| `externalDocs(?ExternalDocumentation)` | |\n| `operationId(?string)` | |\n| `parameters(ParameterContract ...)` | |\n| `requestBody(?RequestBodyContract)` | |\n| `responses(Responses\\|ResponseContract ...)`, `addResponses(ResponseContract ...)` | Keyed by status code |\n| `callbacks(CallbackContract ...)` | |\n| `deprecated(?bool = true)` | |\n| `security(SecurityRequirement ...)` | Without argument: `[]`, no authentication |\n| `servers(Server ...)` | |\n\n### Responses, Callback\n\n| Object | Methods |\n| --- | --- |\n| `Responses` | `default(?ResponseContract)`, `responses(ResponseContract ...)`; rarely needed, `Operation::responses()` builds it |\n| `Callback::create('onPaid')` | `pathItems(PathItemContract ...)`, each keyed by a runtime expression; `Callback::ref($ref, $objectId)` |\n\n## Parameters and headers\n\n### Parameter\n\nShortcuts: `Parameter::path($name)` (sets `required: true`), `query($name)`, `header($name)`, `cookie($name)`,\n`querystring($name)` **3.2**. The second argument is the objectId, for `Components::parameters()`.\n`Parameter::ref('Page')` refers to `#\u002Fcomponents\u002Fparameters\u002FPage`.\n\n| Method | Notes |\n| --- | --- |\n| `name(?string)`, `in(ParameterLocation\\|string\\|null)` | Set by the shortcuts |\n| `description(?string)` | |\n| `required(?bool = true)`, `deprecated(?bool = true)`, `allowEmptyValue(?bool = true)` | |\n| `style(ParameterStyle\\|string\\|null)`, `explode(?bool = true)`, `allowReserved(?bool = true)` | |\n| `schema(?SchemaContract)` | Or `content` |\n| `content(MediaTypeContract ...)` | One media type |\n| `example(mixed)`, `examples(ExampleContract ...)` | Exclusive |\n\n### Header\n\n`Header::create('X-Rate-Limit')`, `Header::ref($ref, $objectId)`: `description()`, `required()`, `deprecated()`,\n`style()`, `explode()`, `schema()`, `example()`, `examples()`, `content()`, with the types of `Parameter`.\n\n## Bodies and content\n\n### RequestBody\n\n`RequestBody::create()`, `RequestBody::ref($ref, $objectId)`: `description(?string)`, `content(MediaTypeContract ...)`\n(required), `required(?bool = true)`.\n\n### MediaType\n\nShortcuts: `MediaType::json()`, `xml()`, `formUrlEncoded()`, `multipart()`, `MediaType::of('text\u002Fcsv')`.\n`MediaType::ref('BookJson', 'application\u002Fjson')` **3.2**.\n\n| Method | Notes |\n| --- | --- |\n| `schema(?SchemaContract)` | |\n| `itemSchema(?SchemaContract)` | **3.2** each item of a stream |\n| `description(?string)` | **3.2** |\n| `example(mixed)`, `examples(ExampleContract ...)` | Exclusive |\n| `encoding(Encoding ...)` | objectId = property name |\n| `prefixEncoding(Encoding ...)`, `itemEncoding(?Encoding)` | **3.2**; exclusive with `encoding` |\n\n### Encoding\n\n`Encoding::create('photo')`: `contentType(?string)`, `headers(HeaderContract ...)`, `style()`, `explode()`,\n`allowReserved()`, and `encoding()`, `prefixEncoding()`, `itemEncoding()` **3.2**.\n\n### Example\n\n`Example::create('admin')`, `Example::ref($ref, $objectId)`: `summary(?string)`, `description(?string)`,\n`value(mixed)`, `externalValue(?string)`, `dataValue(mixed)` **3.2**, `serializedValue(?string)` **3.2**. `value`\nexcludes the three others; `serializedValue` excludes `externalValue`.\n\n## Responses\n\n### Response\n\nShortcuts, with the reason phrase as description: `ok()` 200, `created()` 201, `accepted()` 202, `noContent()` 204,\n`movedPermanently()` 301, `found()` 302, `notModified()` 304, `badRequest()` 400, `unauthorized()` 401, `forbidden()`\n403, `notFound()` 404, `methodNotAllowed()` 405, `conflict()` 409, `unprocessableEntity()` 422, `tooManyRequests()`\n429, `internalServerError()` 500, `serviceUnavailable()` 503. Others: `Response::status(418)`,\n`Response::status('4XX')`, `Response::create('default')`. `Response::ref('NotFound')`.\n\n| Method | Notes |\n| --- | --- |\n| `description(?string)` | Written as `\"\"` when missing |\n| `summary(?string)` | **3.2** |\n| `headers(HeaderContract ...)` | |\n| `content(MediaTypeContract ...)` | |\n| `links(LinkContract ...)` | |\n\n### Link\n\n`Link::create('GetUser')`, `Link::ref($ref, $objectId)`: `operationRef(?string)` or `operationId(?string)`\n(exclusive), `parameters(array\u003Cstring, mixed>)`, `requestBody(mixed)`, `description(?string)`, `server(?Server)`.\n\n## Schemas\n\n### Schema\n\nShortcuts: `Schema::string()`, `integer()`, `number()`, `boolean()`, `array()`, `object()`, `null()`; `create()` has\nno type. `Schema::ref('User', 'owner')` is a `Schema`.\n\n| Group | Methods |\n| --- | --- |\n| Type | `type(SchemaType\\|string ...)`, `nullable(?bool = true)`, `format(?string)` |\n| Metadata | `title()`, `description()`, `default(mixed)`, `example(mixed)`, `examples(mixed ...)`, `deprecated()`, `readOnly()`, `writeOnly()`, `externalDocs()`, `xml(?Xml)`, `comment()` **3.1+** |\n| Values | `enum(mixed ...)`, `const(mixed)` |\n| Numbers | `minimum()`, `maximum()`, `exclusiveMinimum()`, `exclusiveMaximum()`, `multipleOf()` |\n| Strings | `minLength()`, `maxLength()`, `pattern()`, `contentEncoding()`, `contentMediaType()`, `contentSchema()` **3.1+** |\n| Arrays | `items()`, `minItems()`, `maxItems()`, `uniqueItems()`; **3.1+**: `prefixItems()`, `contains()`, `minContains()`, `maxContains()`, `unevaluatedItems()` |\n| Objects | `properties()`, `required(string ...)`, `additionalProperties()`, `minProperties()`, `maxProperties()`; **3.1+**: `patternProperties()`, `propertyNames()`, `unevaluatedProperties()`, `dependentRequired(array)`, `dependentSchemas()` |\n| Composition | `allOf()`, `anyOf()`, `oneOf()`, `not()`, `discriminator(?Discriminator)`; **3.1+**: `if()`, `then()`, `else()` |\n| JSON Schema core | **3.1+**: `schema()` (`$schema`), `id()` (`$id`), `anchor()`, `dynamicAnchor()`, `dynamicRef()`, `defs()` (`$defs`) |\n\n### Discriminator, Xml\n\n| Object | Methods |\n| --- | --- |\n| `Discriminator` | `propertyName(?string)` (required), `mapping(array\u003Cstring, string>)`, `defaultMapping(?string)` **3.2** |\n| `Xml` | `name()`, `namespace()`, `prefix()`, `attribute(?bool = true)`, `wrapped(?bool = true)`, `nodeType(XmlNodeType\\|string\\|null)` **3.2** (exclusive with `attribute` and `wrapped`) |\n\n## Components and references\n\n### Components\n\nEvery section is keyed by the objectId of its entries: `schemas()`, `responses()`, `parameters()`, `examples()`,\n`requestBodies()`, `headers()`, `securitySchemes()`, `links()`, `callbacks()`, `pathItems()` **3.1+**,\n`mediaTypes()` **3.2**.\n\n### Reference\n\n| Method | Notes |\n| --- | --- |\n| `static to(string $ref, ?string $objectId = null)` | Any reference |\n| `static for(SpecObject $component)` | Reference to a component object |\n| `ref(?string)` | |\n| `summary(?string)`, `description(?string)` | **3.1+** |\n\n## Security\n\n### SecurityScheme\n\nShortcuts: `SecurityScheme::apiKey('key')`, `http('bearer')`, `oauth2('oauth')`, `openIdConnect('oidc')`,\n`mutualTLS('mtls')` **3.1+**; the argument is the scheme name. `SecurityScheme::ref($ref, $objectId)`.\n\n| Method | Used by |\n| --- | --- |\n| `type(SecuritySchemeType\\|string\\|null)` | all |\n| `description(?string)` | all |\n| `name(?string)`, `in(ApiKeyLocation\\|string\\|null)` | `apiKey` |\n| `scheme(?string)`, `bearerFormat(?string)` | `http` |\n| `flows(?OAuthFlows)` | `oauth2` |\n| `oauth2MetadataUrl(?string)` | `oauth2` **3.2** |\n| `openIdConnectUrl(?string)` | `openIdConnect` |\n| `deprecated(?bool = true)` | **3.2** |\n\n### OAuthFlows, OAuthFlow, SecurityRequirement\n\n| Object | Methods |\n| --- | --- |\n| `OAuthFlows` | `implicit()`, `password()`, `clientCredentials()`, `authorizationCode()`, `deviceAuthorization()` **3.2**, each `?OAuthFlow` |\n| `OAuthFlow` | `authorizationUrl()`, `tokenUrl()`, `refreshUrl()`, `deviceAuthorizationUrl()` **3.2**, `scopes(array\u003Cstring, string>)` |\n| `SecurityRequirement` | `schemes(array\u003Cstring, list\u003Cstring>>)`: scheme name to required scopes; empty: optional authentication |\n",{"title":233,"description":2420},"8v154PNk69eM-ZmlR2I8dRNxfB7N-kBpAyt3WSIUY6k",[2428,2430],{"title":223,"path":224,"stem":225,"description":2429,"children":-1},"Enforce your own conventions with a validation rule, checked on the written document.",{"title":237,"path":238,"stem":239,"description":2431,"children":-1},"The enums of Ark4ne\\OpenApiWriter\\Enums and the serialization levels, with their cases and values.",1795438901301]