foo/fooschema.yml
Sandipsinh Rathod fe3ec74e35 init
2024-12-19 19:42:36 -05:00

553 lines
9.9 KiB
YAML

$defs:
Components:
properties:
examples:
additionalProperties:
$ref: '#/$defs/Example'
type:
- object
- 'null'
headers:
additionalProperties:
$ref: '#/$defs/Header'
type:
- object
- 'null'
parameters:
additionalProperties:
$ref: '#/$defs/Parameter'
type:
- object
- 'null'
requestBodies:
additionalProperties:
$ref: '#/$defs/RequestBody'
type:
- object
- 'null'
responses:
additionalProperties:
$ref: '#/$defs/Response'
type:
- object
- 'null'
schemas:
additionalProperties:
$ref: '#/$defs/Schema'
type:
- object
- 'null'
securitySchemes:
additionalProperties:
$ref: '#/$defs/SecurityScheme'
type:
- object
- 'null'
type: object
Discriminator:
properties:
mapping:
additionalProperties:
type: string
type:
- object
- 'null'
propertyName:
type:
- string
- 'null'
type: object
Example:
properties:
description:
type:
- string
- 'null'
externalValue:
type:
- string
- 'null'
summary:
type:
- string
- 'null'
value: true
type: object
Header:
properties:
description:
type:
- string
- 'null'
example: true
schema:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
type: object
Info:
properties:
description:
type:
- string
- 'null'
title:
type:
- string
- 'null'
version:
type:
- string
- 'null'
type: object
MediaType:
properties:
example: true
examples:
additionalProperties:
$ref: '#/$defs/Example'
type:
- object
- 'null'
schema:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
type: object
OAuthFlow:
properties:
authorizationUrl:
type:
- string
- 'null'
refreshUrl:
type:
- string
- 'null'
scopes:
additionalProperties:
type: string
type:
- object
- 'null'
tokenUrl:
type:
- string
- 'null'
type: object
OAuthFlows:
properties:
authorizationCode:
anyOf:
- $ref: '#/$defs/OAuthFlow'
- type: 'null'
clientCredentials:
anyOf:
- $ref: '#/$defs/OAuthFlow'
- type: 'null'
implicit:
anyOf:
- $ref: '#/$defs/OAuthFlow'
- type: 'null'
password:
anyOf:
- $ref: '#/$defs/OAuthFlow'
- type: 'null'
type: object
Operation:
properties:
description:
type:
- string
- 'null'
operationId:
type:
- string
- 'null'
parameters:
items:
$ref: '#/$defs/Parameter'
type:
- array
- 'null'
requestBody:
anyOf:
- $ref: '#/$defs/RequestBody'
- type: 'null'
responses:
anyOf:
- $ref: '#/$defs/Responses'
- type: 'null'
summary:
type:
- string
- 'null'
tags:
items:
type: string
type:
- array
- 'null'
type: object
Parameter:
properties:
description:
type:
- string
- 'null'
example: true
examples:
additionalProperties:
$ref: '#/$defs/Example'
type:
- object
- 'null'
in:
type:
- string
- 'null'
name:
type:
- string
- 'null'
required:
type:
- boolean
- 'null'
schema:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
type: object
PathItem:
properties:
delete:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
get:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
head:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
options:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
patch:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
post:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
put:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
trace:
anyOf:
- $ref: '#/$defs/Operation'
- type: 'null'
type: object
RequestBody:
properties:
content:
additionalProperties:
$ref: '#/$defs/MediaType'
type:
- object
- 'null'
description:
type:
- string
- 'null'
required:
type:
- boolean
- 'null'
type: object
Response:
properties:
content:
additionalProperties:
$ref: '#/$defs/MediaType'
type:
- object
- 'null'
description:
type:
- string
- 'null'
headers:
additionalProperties:
$ref: '#/$defs/Header'
type:
- object
- 'null'
type: object
Responses:
additionalProperties:
$ref: '#/$defs/Response'
properties:
default:
anyOf:
- $ref: '#/$defs/Response'
- type: 'null'
type: object
Schema:
properties:
additionalProperties:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
allOf:
items:
$ref: '#/$defs/Schema'
type:
- array
- 'null'
anyOf:
items:
$ref: '#/$defs/Schema'
type:
- array
- 'null'
default: true
deprecated:
type:
- boolean
- 'null'
description:
type:
- string
- 'null'
discriminator:
anyOf:
- $ref: '#/$defs/Discriminator'
- type: 'null'
example: true
exclusiveMaximum:
type:
- boolean
- 'null'
exclusiveMinimum:
type:
- boolean
- 'null'
format:
type:
- string
- 'null'
items:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
maxItems:
format: uint32
minimum: 0
type:
- integer
- 'null'
maxLength:
format: uint32
minimum: 0
type:
- integer
- 'null'
maxProperties:
format: uint32
minimum: 0
type:
- integer
- 'null'
maximum:
format: double
type:
- number
- 'null'
minItems:
format: uint32
minimum: 0
type:
- integer
- 'null'
minLength:
format: uint32
minimum: 0
type:
- integer
- 'null'
minProperties:
format: uint32
minimum: 0
type:
- integer
- 'null'
minimum:
format: double
type:
- number
- 'null'
multipleOf:
format: double
type:
- number
- 'null'
not:
anyOf:
- $ref: '#/$defs/Schema'
- type: 'null'
nullable:
type:
- boolean
- 'null'
oneOf:
items:
$ref: '#/$defs/Schema'
type:
- array
- 'null'
pattern:
type:
- string
- 'null'
properties:
additionalProperties:
$ref: '#/$defs/Schema'
type:
- object
- 'null'
readOnly:
type:
- boolean
- 'null'
required:
items:
type: string
type:
- array
- 'null'
title:
type:
- string
- 'null'
type:
type:
- string
- 'null'
uniqueItems:
type:
- boolean
- 'null'
writeOnly:
type:
- boolean
- 'null'
xml:
anyOf:
- $ref: '#/$defs/XML'
- type: 'null'
type: object
SecurityScheme:
properties:
bearerFormat:
type:
- string
- 'null'
description:
type:
- string
- 'null'
flows:
anyOf:
- $ref: '#/$defs/OAuthFlows'
- type: 'null'
in:
type:
- string
- 'null'
name:
type:
- string
- 'null'
openIdConnectUrl:
type:
- string
- 'null'
scheme:
type:
- string
- 'null'
type:
type:
- string
- 'null'
type: object
Server:
properties:
description:
type:
- string
- 'null'
url:
type:
- string
- 'null'
type: object
XML:
properties:
attribute:
type:
- boolean
- 'null'
name:
type:
- string
- 'null'
namespace:
type:
- string
- 'null'
prefix:
type:
- string
- 'null'
wrapped:
type:
- boolean
- 'null'
type: object
$schema: https://json-schema.org/draft/2020-12/schema
properties:
components:
anyOf:
- $ref: '#/$defs/Components'
- type: 'null'
info:
anyOf:
- $ref: '#/$defs/Info'
- type: 'null'
openapi:
type:
- string
- 'null'
paths:
additionalProperties:
$ref: '#/$defs/PathItem'
type:
- object
- 'null'
servers:
items:
$ref: '#/$defs/Server'
type:
- array
- 'null'
title: OpenApiSpec
type: object