Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/v3.0/callback-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
timestamp:
type: string
Expand Down
5 changes: 4 additions & 1 deletion examples/v3.0/petstore-expanded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,16 @@ components:
Pet:
allOf:
- $ref: '#/components/schemas/NewPet'
- required:
- type: object
required:
- id
properties:
id:
type: integer
format: int64

NewPet:
type: object
required:
- name
properties:
Expand All @@ -144,6 +146,7 @@ components:
type: string

Error:
type: object
required:
- code
- message
Expand Down
2 changes: 2 additions & 0 deletions examples/v3.0/petstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ paths:
components:
schemas:
Pet:
type: object
required:
- id
- name
Expand All @@ -98,6 +99,7 @@ components:
items:
$ref: "#/components/schemas/Pet"
Error:
type: object
required:
- code
- message
Expand Down