We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a387ac commit f1852bdCopy full SHA for f1852bd
examples/v2.0/yaml/petstore-expanded.yaml
@@ -113,12 +113,14 @@ definitions:
113
- $ref: '#/definitions/NewPet'
114
- required:
115
- id
116
+ type: "object"
117
properties:
118
id:
119
type: integer
120
format: int64
121
122
NewPet:
123
124
required:
125
- name
126
@@ -128,6 +130,7 @@ definitions:
128
130
type: string
129
131
132
Error:
133
134
135
- code
136
- message
examples/v2.0/yaml/petstore.yaml
@@ -74,6 +74,7 @@ paths:
74
$ref: '#/definitions/Error'
75
definitions:
76
Pet:
77
78
79
80
@@ -90,6 +91,7 @@ definitions:
90
91
items:
92
$ref: '#/definitions/Pet'
93
94
95
96
97
0 commit comments