1- import type { YelixValidationBase } from ' @/mod.ts' ;
2- import type { AllowedLicenses } from ' ../Core/index.ts' ;
1+ import type { YelixValidationBase } from " @/mod.ts" ;
2+ import type { AllowedLicenses } from " ../Core/index.ts" ;
33
4- type OpenAPIMethods = ' POST' | ' GET' | ' PUT' | ' DELETE' | ' PATCH' | ' OPTIONS' ;
4+ type OpenAPIMethods = " POST" | " GET" | " PUT" | " DELETE" | " PATCH" | " OPTIONS" ;
55
66// Represents the root document object of the OpenAPI specification.
77// https://spec.openapis.org/oas/v3.1.0.html
@@ -173,12 +173,12 @@ type OpenAPIRequestBodyNonDocumented = {
173173
174174// https://swagger.io/docs/specification/v3_0/data-models/data-types/
175175type OpenAPIDataTypes =
176- | ' string'
177- | ' number'
178- | ' integer'
179- | ' boolean'
180- | ' array'
181- | ' object' ;
176+ | " string"
177+ | " number"
178+ | " integer"
179+ | " boolean"
180+ | " array"
181+ | " object" ;
182182
183183type OpenAPIExtenedRequestBodySchema = OpenAPIMediaType & {
184184 type ?: OpenAPIDataTypes ;
@@ -190,24 +190,24 @@ type OpenAPIExtenedRequestBodySchema = OpenAPIMediaType & {
190190} ;
191191
192192type OpenAPIFormatTypes =
193- | ' email'
194- | ' date-time'
195- | ' date'
196- | ' time'
197- | ' duration'
198- | ' password'
199- | ' byte'
200- | ' binary'
201- | ' uuid'
202- | ' uri'
203- | ' uri-reference'
204- | ' uri-template'
205- | ' hostname'
206- | ' ipv4'
207- | ' ipv6'
208- | ' regex'
209- | ' json-pointer'
210- | ' relative-json-pointer' ;
193+ | " email"
194+ | " date-time"
195+ | " date"
196+ | " time"
197+ | " duration"
198+ | " password"
199+ | " byte"
200+ | " binary"
201+ | " uuid"
202+ | " uri"
203+ | " uri-reference"
204+ | " uri-template"
205+ | " hostname"
206+ | " ipv4"
207+ | " ipv6"
208+ | " regex"
209+ | " json-pointer"
210+ | " relative-json-pointer" ;
211211
212212type OpenAPIProperty = {
213213 type ?: OpenAPIDataTypes ;
@@ -535,7 +535,7 @@ type OpenAPIParameter = {
535535/**
536536 * Represents an OpenAPI Request Body Object.
537537 */
538- type OpenAPIParameterLocation = ' query' | ' header' | ' path' | ' cookie' ;
538+ type OpenAPIParameterLocation = " query" | " header" | " path" | " cookie" ;
539539
540540type OpenAPIDefaultSchema = {
541541 type : string ;
@@ -787,11 +787,13 @@ export type {
787787 OpenAPICallback ,
788788 OpenAPIComponents ,
789789 OpenAPIContact ,
790+ OpenAPIDataTypes ,
790791 OpenAPIDefaultSchema ,
791792 OpenAPIDiscriminator ,
792793 OpenAPIDoc ,
793794 OpenAPIEncoding ,
794795 OpenAPIExample ,
796+ OpenAPIExtenedRequestBodySchema ,
795797 OpenAPIExternalDocs ,
796798 OpenAPIHeader ,
797799 OpenAPIInfo ,
@@ -806,8 +808,10 @@ export type {
806808 OpenAPIParameterLocation ,
807809 OpenAPIParams ,
808810 OpenAPIPathItem ,
811+ OpenAPIProperty ,
809812 OpenAPIReference ,
810813 OpenAPIRequestBody ,
814+ OpenAPIRequestBodyNonDocumented ,
811815 OpenAPIResponse ,
812816 OpenAPISchema ,
813817 OpenAPISecurityScheme ,
@@ -819,8 +823,4 @@ export type {
819823 RuntimeExpression ,
820824 RuntimeExpressionOrValue ,
821825 SecurityRequirement ,
822- OpenAPIRequestBodyNonDocumented ,
823- OpenAPIExtenedRequestBodySchema ,
824- OpenAPIDataTypes ,
825- OpenAPIProperty ,
826826} ;
0 commit comments