Skip to content

Commit

Permalink
Pre-format schema to improve changes relevancy
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed Mar 8, 2019
1 parent f39cbf0 commit 88dd430
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions schemas/v3.0/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ definitions:
format: email
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

License:
type: object
Expand Down Expand Up @@ -327,8 +327,8 @@ definitions:
$ref: '#/definitions/XML'
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

Discriminator:
type: object
required:
Expand Down Expand Up @@ -407,7 +407,7 @@ definitions:
$ref: '#/definitions/Encoding'
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

MediaTypeWithExamples:
type: object
Expand All @@ -430,7 +430,7 @@ definitions:
$ref: '#/definitions/Encoding'
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

Example:
type: object
Expand Down Expand Up @@ -490,7 +490,7 @@ definitions:
example: {}
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

HeaderWithSchemaWithExamples:
type: object
Expand Down Expand Up @@ -562,7 +562,7 @@ definitions:
Paths:
type: object
patternProperties:
'^\/':
'^\/':
$ref: '#/definitions/PathItem'
'^x-': {}
additionalProperties: false
Expand Down Expand Up @@ -673,7 +673,7 @@ definitions:
'^x-': {}
minProperties: 1
additionalProperties: false


SecurityRequirement:
type: object
Expand Down Expand Up @@ -715,7 +715,7 @@ definitions:
oneOf:
- $ref: '#/definitions/ParameterWithSchema'
- $ref: '#/definitions/ParameterWithContent'

ParameterWithSchema:
oneOf:
- $ref: '#/definitions/ParameterWithSchemaWithExample'
Expand Down Expand Up @@ -819,7 +819,7 @@ definitions:
example: {}
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

ParameterWithSchemaWithExampleInHeader:
type: object
Expand Down Expand Up @@ -862,7 +862,7 @@ definitions:
example: {}
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

ParameterWithSchemaWithExampleInCookie:
type: object
Expand Down Expand Up @@ -905,7 +905,7 @@ definitions:
example: {}
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

ParameterWithSchemaWithExamples:
oneOf:
Expand Down Expand Up @@ -1017,7 +1017,7 @@ definitions:
- $ref: '#/definitions/Reference'
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

ParameterWithSchemaWithExamplesInHeader:
type: object
Expand Down Expand Up @@ -1066,7 +1066,7 @@ definitions:
- $ref: '#/definitions/Reference'
patternProperties:
'^x-': {}
additionalProperties: false
additionalProperties: false

ParameterWithSchemaWithExamplesInCookie:
type: object
Expand Down Expand Up @@ -1217,7 +1217,7 @@ definitions:
- $ref: '#/definitions/HTTPSecurityScheme'
- $ref: '#/definitions/OAuth2SecurityScheme'
- $ref: '#/definitions/OpenIdConnectSecurityScheme'

APIKeySecurityScheme:
type: object
required:
Expand All @@ -1228,7 +1228,7 @@ definitions:
type:
type: string
enum:
- apiKey
- apiKey
name:
type: string
in:
Expand All @@ -1242,7 +1242,7 @@ definitions:
patternProperties:
'^x-': {}
additionalProperties: false

HTTPSecurityScheme:
oneOf:
- $ref: '#/definitions/NonBearerHTTPSecurityScheme'
Expand Down Expand Up @@ -1318,7 +1318,7 @@ definitions:
type:
type: string
enum:
- openIdConnect
- openIdConnect
openIdConnectUrl:
type: string
format: uri-reference
Expand Down

0 comments on commit 88dd430

Please sign in to comment.