create-docusaurus-openapi-docs 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +36 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +191 -0
- package/package.json +47 -0
- package/templates/default/blog/2019-05-28-first-blog-post.md +12 -0
- package/templates/default/blog/2019-05-29-long-blog-post.md +44 -0
- package/templates/default/blog/2021-08-01-mdx-blog-post.mdx +20 -0
- package/templates/default/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
- package/templates/default/blog/2021-08-26-welcome/index.md +25 -0
- package/templates/default/blog/authors.yml +17 -0
- package/templates/default/docs/intro.md +49 -0
- package/templates/default/docs/petstore/add-pet.ParamsDetails.json +19 -0
- package/templates/default/docs/petstore/add-pet.RequestSchema.json +288 -0
- package/templates/default/docs/petstore/add-pet.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/add-pet.api.mdx +45 -0
- package/templates/default/docs/petstore/create-user.RequestSchema.json +345 -0
- package/templates/default/docs/petstore/create-user.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/create-user.api.mdx +45 -0
- package/templates/default/docs/petstore/create-users-with-array-input.RequestSchema.json +348 -0
- package/templates/default/docs/petstore/create-users-with-array-input.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/create-users-with-array-input.api.mdx +47 -0
- package/templates/default/docs/petstore/create-users-with-list-input.RequestSchema.json +348 -0
- package/templates/default/docs/petstore/create-users-with-list-input.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/create-users-with-list-input.api.mdx +47 -0
- package/templates/default/docs/petstore/delete-order.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/delete-order.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/delete-order.StatusCodes.json +6 -0
- package/templates/default/docs/petstore/delete-order.api.mdx +49 -0
- package/templates/default/docs/petstore/delete-pet.ParamsDetails.json +18 -0
- package/templates/default/docs/petstore/delete-pet.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/delete-pet.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/delete-pet.api.mdx +43 -0
- package/templates/default/docs/petstore/delete-user.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/delete-user.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/delete-user.StatusCodes.json +6 -0
- package/templates/default/docs/petstore/delete-user.api.mdx +45 -0
- package/templates/default/docs/petstore/find-pets-by-status.ParamsDetails.json +21 -0
- package/templates/default/docs/petstore/find-pets-by-status.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/find-pets-by-status.StatusCodes.json +522 -0
- package/templates/default/docs/petstore/find-pets-by-status.api.mdx +51 -0
- package/templates/default/docs/petstore/find-pets-by-tags.ParamsDetails.json +12 -0
- package/templates/default/docs/petstore/find-pets-by-tags.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/find-pets-by-tags.StatusCodes.json +522 -0
- package/templates/default/docs/petstore/find-pets-by-tags.api.mdx +55 -0
- package/templates/default/docs/petstore/get-inventory.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/get-inventory.StatusCodes.json +15 -0
- package/templates/default/docs/petstore/get-inventory.api.mdx +43 -0
- package/templates/default/docs/petstore/get-order-by-id.ParamsDetails.json +16 -0
- package/templates/default/docs/petstore/get-order-by-id.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/get-order-by-id.StatusCodes.json +127 -0
- package/templates/default/docs/petstore/get-order-by-id.api.mdx +49 -0
- package/templates/default/docs/petstore/get-pet-by-id.ParamsDetails.json +12 -0
- package/templates/default/docs/petstore/get-pet-by-id.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/get-pet-by-id.StatusCodes.json +517 -0
- package/templates/default/docs/petstore/get-pet-by-id.api.mdx +49 -0
- package/templates/default/docs/petstore/get-user-by-name.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/get-user-by-name.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/get-user-by-name.StatusCodes.json +683 -0
- package/templates/default/docs/petstore/get-user-by-name.api.mdx +47 -0
- package/templates/default/docs/petstore/login-user.ParamsDetails.json +18 -0
- package/templates/default/docs/petstore/login-user.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/login-user.StatusCodes.json +29 -0
- package/templates/default/docs/petstore/login-user.api.mdx +43 -0
- package/templates/default/docs/petstore/logout-user.RequestSchema.json +1 -0
- package/templates/default/docs/petstore/logout-user.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/logout-user.api.mdx +39 -0
- package/templates/default/docs/petstore/new-pet.RequestSchema.json +260 -0
- package/templates/default/docs/petstore/new-pet.StatusCodes.json +7 -0
- package/templates/default/docs/petstore/new-pet.api.mdx +45 -0
- package/templates/default/docs/petstore/pet.tag.mdx +15 -0
- package/templates/default/docs/petstore/place-order.RequestSchema.json +96 -0
- package/templates/default/docs/petstore/place-order.StatusCodes.json +133 -0
- package/templates/default/docs/petstore/place-order.api.mdx +43 -0
- package/templates/default/docs/petstore/schemas/cat.Schema.json +224 -0
- package/templates/default/docs/petstore/schemas/cat.schema.mdx +30 -0
- package/templates/default/docs/petstore/sidebar.ts +180 -0
- package/templates/default/docs/petstore/store.tag.mdx +15 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.2.json +28 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.3.json +28 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.4.json +25 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.5.json +20 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.json +27 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.2.json +21 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.3.json +17 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.4.json +9 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.5.json +9 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.json +20 -0
- package/templates/default/docs/petstore/subscribe-to-the-store-events.api.mdx +120 -0
- package/templates/default/docs/petstore/swagger-petstore-yaml.info.mdx +249 -0
- package/templates/default/docs/petstore/update-pet-with-form.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/update-pet-with-form.RequestSchema.json +22 -0
- package/templates/default/docs/petstore/update-pet-with-form.StatusCodes.json +1 -0
- package/templates/default/docs/petstore/update-pet-with-form.api.mdx +49 -0
- package/templates/default/docs/petstore/update-pet.ParamsDetails.json +19 -0
- package/templates/default/docs/petstore/update-pet.RequestSchema.json +288 -0
- package/templates/default/docs/petstore/update-pet.StatusCodes.json +7 -0
- package/templates/default/docs/petstore/update-pet.api.mdx +43 -0
- package/templates/default/docs/petstore/update-user.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/update-user.RequestSchema.json +345 -0
- package/templates/default/docs/petstore/update-user.StatusCodes.json +6 -0
- package/templates/default/docs/petstore/update-user.api.mdx +45 -0
- package/templates/default/docs/petstore/upload-file.ParamsDetails.json +11 -0
- package/templates/default/docs/petstore/upload-file.RequestSchema.json +10 -0
- package/templates/default/docs/petstore/upload-file.StatusCodes.json +20 -0
- package/templates/default/docs/petstore/upload-file.api.mdx +43 -0
- package/templates/default/docs/petstore/user.tag.mdx +15 -0
- package/templates/default/docs/tutorial-basics/_category_.json +8 -0
- package/templates/default/docs/tutorial-basics/congratulations.md +23 -0
- package/templates/default/docs/tutorial-basics/create-a-blog-post.md +36 -0
- package/templates/default/docs/tutorial-basics/create-a-document.md +55 -0
- package/templates/default/docs/tutorial-basics/create-a-page.md +45 -0
- package/templates/default/docs/tutorial-basics/deploy-your-site.md +31 -0
- package/templates/default/docs/tutorial-basics/markdown-features.mdx +145 -0
- package/templates/default/docs/tutorial-extras/_category_.json +7 -0
- package/templates/default/docs/tutorial-extras/manage-docs-versions.md +57 -0
- package/templates/default/docs/tutorial-extras/translate-your-site.md +90 -0
- package/templates/default/docusaurus.config.ts +273 -0
- package/templates/default/examples/petstore.yaml +1271 -0
- package/templates/default/gitignore +21 -0
- package/templates/default/package.json +44 -0
- package/templates/default/sidebars.ts +37 -0
- package/templates/default/src/components/HomepageFeatures/index.js +64 -0
- package/templates/default/src/components/HomepageFeatures/styles.module.css +11 -0
- package/templates/default/src/css/custom.css +77 -0
- package/templates/default/src/pages/index.js +42 -0
- package/templates/default/src/pages/index.module.css +23 -0
- package/templates/default/src/pages/markdown-page.md +7 -0
- package/templates/default/static/.nojekyll +0 -0
- package/templates/default/static/img/docusaurus.png +0 -0
- package/templates/default/static/img/favicon.ico +0 -0
- package/templates/default/static/img/logo.svg +1 -0
- package/templates/default/static/img/tutorial/docsVersionDropdown.png +0 -0
- package/templates/default/static/img/tutorial/localeDropdown.png +0 -0
- package/templates/default/static/img/undraw_docusaurus_mountain.svg +171 -0
- package/templates/default/static/img/undraw_docusaurus_react.svg +170 -0
- package/templates/default/static/img/undraw_docusaurus_tree.svg +40 -0
- package/templates/default/tsconfig.json +10 -0
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
{
|
|
2
|
+
"responses": {
|
|
3
|
+
"200": {
|
|
4
|
+
"description": "successful operation",
|
|
5
|
+
"content": {
|
|
6
|
+
"application/json": {
|
|
7
|
+
"schema": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["name", "photoUrls", "tags"],
|
|
12
|
+
"discriminator": {
|
|
13
|
+
"propertyName": "petType",
|
|
14
|
+
"mapping": {
|
|
15
|
+
"cat": {
|
|
16
|
+
"x-tags": ["pet"],
|
|
17
|
+
"description": "A representation of a cat",
|
|
18
|
+
"allOf": [
|
|
19
|
+
"circular(Pet)",
|
|
20
|
+
{
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"huntingSkill": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "The measured skill for hunting",
|
|
26
|
+
"default": "lazy",
|
|
27
|
+
"example": "adventurous",
|
|
28
|
+
"enum": [
|
|
29
|
+
"clueless",
|
|
30
|
+
"lazy",
|
|
31
|
+
"adventurous",
|
|
32
|
+
"aggressive"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": ["huntingSkill"]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"title": "Cat"
|
|
40
|
+
},
|
|
41
|
+
"dog": {
|
|
42
|
+
"description": "A representation of a dog",
|
|
43
|
+
"allOf": [
|
|
44
|
+
"circular(Pet)",
|
|
45
|
+
{
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"packSize": {
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"format": "int32",
|
|
51
|
+
"description": "The size of the pack the dog is from",
|
|
52
|
+
"default": 1,
|
|
53
|
+
"minimum": 1
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": ["packSize"]
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"title": "Dog"
|
|
60
|
+
},
|
|
61
|
+
"bee": {
|
|
62
|
+
"description": "A representation of a honey bee",
|
|
63
|
+
"allOf": [
|
|
64
|
+
"circular(Pet)",
|
|
65
|
+
{
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"honeyPerDay": {
|
|
69
|
+
"type": "number",
|
|
70
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
71
|
+
"example": 3.14,
|
|
72
|
+
"multipleOf": 0.01,
|
|
73
|
+
"default": 0
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": ["honeyPerDay"]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"title": "HoneyBee"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"properties": {
|
|
84
|
+
"id": {
|
|
85
|
+
"externalDocs": {
|
|
86
|
+
"description": "Find more info here",
|
|
87
|
+
"url": "https://example.com"
|
|
88
|
+
},
|
|
89
|
+
"description": "Pet ID",
|
|
90
|
+
"allOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"format": "int64",
|
|
94
|
+
"readOnly": true,
|
|
95
|
+
"title": "Id"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"category": {
|
|
100
|
+
"description": "Categories this pet belongs to",
|
|
101
|
+
"allOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"id": {
|
|
106
|
+
"description": "Category ID",
|
|
107
|
+
"allOf": [
|
|
108
|
+
{
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"format": "int64",
|
|
111
|
+
"readOnly": true,
|
|
112
|
+
"title": "Id"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"name": {
|
|
117
|
+
"description": "Category name",
|
|
118
|
+
"type": "string",
|
|
119
|
+
"minLength": 1
|
|
120
|
+
},
|
|
121
|
+
"sub": {
|
|
122
|
+
"description": "Test Sub Category",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"prop1": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Dumb Property"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"xml": { "name": "Category" },
|
|
133
|
+
"title": "Category"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"name": {
|
|
138
|
+
"description": "The name given to a pet",
|
|
139
|
+
"type": "string",
|
|
140
|
+
"example": "Guru"
|
|
141
|
+
},
|
|
142
|
+
"photoUrls": {
|
|
143
|
+
"description": "The list of URL to a cute photos featuring pet",
|
|
144
|
+
"type": "array",
|
|
145
|
+
"maxItems": 20,
|
|
146
|
+
"xml": { "name": "photoUrl", "wrapped": true },
|
|
147
|
+
"items": { "type": "string", "format": "url" }
|
|
148
|
+
},
|
|
149
|
+
"friend": { "allOf": ["circular(Pet)"] },
|
|
150
|
+
"tags": {
|
|
151
|
+
"description": "Tags attached to the pet",
|
|
152
|
+
"type": "array",
|
|
153
|
+
"minItems": 1,
|
|
154
|
+
"xml": { "name": "tag", "wrapped": true },
|
|
155
|
+
"items": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"properties": {
|
|
158
|
+
"id": {
|
|
159
|
+
"description": "Tag ID",
|
|
160
|
+
"allOf": [
|
|
161
|
+
{
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"format": "int64",
|
|
164
|
+
"readOnly": true,
|
|
165
|
+
"title": "Id"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"name": {
|
|
170
|
+
"description": "Tag name",
|
|
171
|
+
"type": "string",
|
|
172
|
+
"minLength": 1
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"xml": { "name": "Tag" },
|
|
176
|
+
"title": "Tag"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"status": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "Pet status in the store",
|
|
182
|
+
"enum": ["available", "pending", "sold"]
|
|
183
|
+
},
|
|
184
|
+
"petType": {
|
|
185
|
+
"description": "Type of a pet",
|
|
186
|
+
"type": "string",
|
|
187
|
+
"oneOf": [
|
|
188
|
+
{
|
|
189
|
+
"x-tags": ["pet"],
|
|
190
|
+
"description": "A representation of a cat",
|
|
191
|
+
"allOf": [
|
|
192
|
+
"circular(Pet)",
|
|
193
|
+
{
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"huntingSkill": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "The measured skill for hunting",
|
|
199
|
+
"default": "lazy",
|
|
200
|
+
"example": "adventurous",
|
|
201
|
+
"enum": [
|
|
202
|
+
"clueless",
|
|
203
|
+
"lazy",
|
|
204
|
+
"adventurous",
|
|
205
|
+
"aggressive"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": ["huntingSkill"]
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"title": "Cat"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"description": "A representation of a dog",
|
|
216
|
+
"allOf": [
|
|
217
|
+
"circular(Pet)",
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"packSize": {
|
|
222
|
+
"type": "integer",
|
|
223
|
+
"format": "int32",
|
|
224
|
+
"description": "The size of the pack the dog is from",
|
|
225
|
+
"default": 1,
|
|
226
|
+
"minimum": 1
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": ["packSize"]
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"title": "Dog"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"description": "A representation of a honey bee",
|
|
236
|
+
"allOf": [
|
|
237
|
+
"circular(Pet)",
|
|
238
|
+
{
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"honeyPerDay": {
|
|
242
|
+
"type": "number",
|
|
243
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
244
|
+
"example": 3.14,
|
|
245
|
+
"multipleOf": 0.01,
|
|
246
|
+
"default": 0
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": ["honeyPerDay"]
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"title": "HoneyBee"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"xml": { "name": "Pet" },
|
|
258
|
+
"title": "Pet"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"application/xml": {
|
|
263
|
+
"schema": {
|
|
264
|
+
"type": "array",
|
|
265
|
+
"items": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"required": ["name", "photoUrls", "tags"],
|
|
268
|
+
"discriminator": {
|
|
269
|
+
"propertyName": "petType",
|
|
270
|
+
"mapping": {
|
|
271
|
+
"cat": {
|
|
272
|
+
"x-tags": ["pet"],
|
|
273
|
+
"description": "A representation of a cat",
|
|
274
|
+
"allOf": [
|
|
275
|
+
"circular(Pet)",
|
|
276
|
+
{
|
|
277
|
+
"type": "object",
|
|
278
|
+
"properties": {
|
|
279
|
+
"huntingSkill": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"description": "The measured skill for hunting",
|
|
282
|
+
"default": "lazy",
|
|
283
|
+
"example": "adventurous",
|
|
284
|
+
"enum": [
|
|
285
|
+
"clueless",
|
|
286
|
+
"lazy",
|
|
287
|
+
"adventurous",
|
|
288
|
+
"aggressive"
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"required": ["huntingSkill"]
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"title": "Cat"
|
|
296
|
+
},
|
|
297
|
+
"dog": {
|
|
298
|
+
"description": "A representation of a dog",
|
|
299
|
+
"allOf": [
|
|
300
|
+
"circular(Pet)",
|
|
301
|
+
{
|
|
302
|
+
"type": "object",
|
|
303
|
+
"properties": {
|
|
304
|
+
"packSize": {
|
|
305
|
+
"type": "integer",
|
|
306
|
+
"format": "int32",
|
|
307
|
+
"description": "The size of the pack the dog is from",
|
|
308
|
+
"default": 1,
|
|
309
|
+
"minimum": 1
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": ["packSize"]
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"title": "Dog"
|
|
316
|
+
},
|
|
317
|
+
"bee": {
|
|
318
|
+
"description": "A representation of a honey bee",
|
|
319
|
+
"allOf": [
|
|
320
|
+
"circular(Pet)",
|
|
321
|
+
{
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"honeyPerDay": {
|
|
325
|
+
"type": "number",
|
|
326
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
327
|
+
"example": 3.14,
|
|
328
|
+
"multipleOf": 0.01,
|
|
329
|
+
"default": 0
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": ["honeyPerDay"]
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"title": "HoneyBee"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"properties": {
|
|
340
|
+
"id": {
|
|
341
|
+
"externalDocs": {
|
|
342
|
+
"description": "Find more info here",
|
|
343
|
+
"url": "https://example.com"
|
|
344
|
+
},
|
|
345
|
+
"description": "Pet ID",
|
|
346
|
+
"allOf": [
|
|
347
|
+
{
|
|
348
|
+
"type": "integer",
|
|
349
|
+
"format": "int64",
|
|
350
|
+
"readOnly": true,
|
|
351
|
+
"title": "Id"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"category": {
|
|
356
|
+
"description": "Categories this pet belongs to",
|
|
357
|
+
"allOf": [
|
|
358
|
+
{
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {
|
|
361
|
+
"id": {
|
|
362
|
+
"description": "Category ID",
|
|
363
|
+
"allOf": [
|
|
364
|
+
{
|
|
365
|
+
"type": "integer",
|
|
366
|
+
"format": "int64",
|
|
367
|
+
"readOnly": true,
|
|
368
|
+
"title": "Id"
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"name": {
|
|
373
|
+
"description": "Category name",
|
|
374
|
+
"type": "string",
|
|
375
|
+
"minLength": 1
|
|
376
|
+
},
|
|
377
|
+
"sub": {
|
|
378
|
+
"description": "Test Sub Category",
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"prop1": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "Dumb Property"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"xml": { "name": "Category" },
|
|
389
|
+
"title": "Category"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"name": {
|
|
394
|
+
"description": "The name given to a pet",
|
|
395
|
+
"type": "string",
|
|
396
|
+
"example": "Guru"
|
|
397
|
+
},
|
|
398
|
+
"photoUrls": {
|
|
399
|
+
"description": "The list of URL to a cute photos featuring pet",
|
|
400
|
+
"type": "array",
|
|
401
|
+
"maxItems": 20,
|
|
402
|
+
"xml": { "name": "photoUrl", "wrapped": true },
|
|
403
|
+
"items": { "type": "string", "format": "url" }
|
|
404
|
+
},
|
|
405
|
+
"friend": { "allOf": ["circular(Pet)"] },
|
|
406
|
+
"tags": {
|
|
407
|
+
"description": "Tags attached to the pet",
|
|
408
|
+
"type": "array",
|
|
409
|
+
"minItems": 1,
|
|
410
|
+
"xml": { "name": "tag", "wrapped": true },
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"id": {
|
|
415
|
+
"description": "Tag ID",
|
|
416
|
+
"allOf": [
|
|
417
|
+
{
|
|
418
|
+
"type": "integer",
|
|
419
|
+
"format": "int64",
|
|
420
|
+
"readOnly": true,
|
|
421
|
+
"title": "Id"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"name": {
|
|
426
|
+
"description": "Tag name",
|
|
427
|
+
"type": "string",
|
|
428
|
+
"minLength": 1
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"xml": { "name": "Tag" },
|
|
432
|
+
"title": "Tag"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"status": {
|
|
436
|
+
"type": "string",
|
|
437
|
+
"description": "Pet status in the store",
|
|
438
|
+
"enum": ["available", "pending", "sold"]
|
|
439
|
+
},
|
|
440
|
+
"petType": {
|
|
441
|
+
"description": "Type of a pet",
|
|
442
|
+
"type": "string",
|
|
443
|
+
"oneOf": [
|
|
444
|
+
{
|
|
445
|
+
"x-tags": ["pet"],
|
|
446
|
+
"description": "A representation of a cat",
|
|
447
|
+
"allOf": [
|
|
448
|
+
"circular(Pet)",
|
|
449
|
+
{
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"huntingSkill": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"description": "The measured skill for hunting",
|
|
455
|
+
"default": "lazy",
|
|
456
|
+
"example": "adventurous",
|
|
457
|
+
"enum": [
|
|
458
|
+
"clueless",
|
|
459
|
+
"lazy",
|
|
460
|
+
"adventurous",
|
|
461
|
+
"aggressive"
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"required": ["huntingSkill"]
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"title": "Cat"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"description": "A representation of a dog",
|
|
472
|
+
"allOf": [
|
|
473
|
+
"circular(Pet)",
|
|
474
|
+
{
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"packSize": {
|
|
478
|
+
"type": "integer",
|
|
479
|
+
"format": "int32",
|
|
480
|
+
"description": "The size of the pack the dog is from",
|
|
481
|
+
"default": 1,
|
|
482
|
+
"minimum": 1
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"required": ["packSize"]
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"title": "Dog"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"description": "A representation of a honey bee",
|
|
492
|
+
"allOf": [
|
|
493
|
+
"circular(Pet)",
|
|
494
|
+
{
|
|
495
|
+
"type": "object",
|
|
496
|
+
"properties": {
|
|
497
|
+
"honeyPerDay": {
|
|
498
|
+
"type": "number",
|
|
499
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
500
|
+
"example": 3.14,
|
|
501
|
+
"multipleOf": 0.01,
|
|
502
|
+
"default": 0
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
"required": ["honeyPerDay"]
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"title": "HoneyBee"
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"xml": { "name": "Pet" },
|
|
514
|
+
"title": "Pet"
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"400": { "description": "Invalid tag value" }
|
|
521
|
+
}
|
|
522
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: find-pets-by-tags
|
|
3
|
+
title: "Finds Pets by tags"
|
|
4
|
+
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
|
|
5
|
+
sidebar_label: "Finds Pets by tags"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWlFvI7cR/isD5uVsrCTbd0gBPdVnJ6mRS2zYPrSBZSQUOdplzCU3JFfynqH/Xgy5K60s+Xxpk6Jo9WJryeFw5uPMcIbkEws892x8xyoM7D5jEr1wqgrKGjZmP9Q6qEojEBUIbmCKUDk7VxIlLFQoQNiy5OCx4o4HlOCDUyb3Q/jo47DjjP6exL9vYWYdBPRBmXzIMmYrdJzmupBszGbKyCsM/n1zS0KRMJVDQWzZOLgaM0azlBjQkcxPzPAS2TjpkDFFIv9Wo2vYc0WIIQQLM6UDOpgShcPfauXWvH1oNHGbWVeyjHlRYMnZ+ImFpqJ27hyncSpg6XvtSWO2XC7viamvrPEYCU6Ojujfpii+FgK9n9UaVuqzjAlrAppA9LyqtBKxY/Srp0FPXy6Nnf6KImyod5dwylhV2GA/Ok1gRcxowRUJVyrDg3XEp3IkVmh+TNhWGG6Jc8ZKXlWk6PiJCR4FfRx81npOwdECejQhKgN2BhxobMa41pczGimUE7Xm7s0VhgOWbevRyqMSpEVtyHhuHpTW22uwtewFQonc144sk8ZEC2yZRPIZr3VgY6b5J4ITH3lZRTPgco4m1M7W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p1d+BjkT7WG1YM8KPic8F0oLQV3kswVBzZpsiiUKKDkD/FkEsskMwbUDVT1VCsRrSDtS2pKLyIt4BxdYw1moIzQNZ0dADcNCCuRtgP67VXADmzaxSkF7fxuYlauY2czdB7CwkZPi4bMN8jHEwMwiIvxPTbpI+UFxKjNZwfA42ZpYhpshdVxDyXsupR2c6dQhvbKuF4TQxp29gmpREmoLnCaQWmnlF8TkUT/EGwFvauuNsOjaiVtxSdUCrB1idVtqiuVfzr94QP1oyv95ewG3VwJXOfHvaARSUbtG0kuQq+Oi9GsrirrKOXCkiud0jgKHX9d89g6FX/Jiyjdehxom8fsYnOMS4TDdqyyreN1gS4OG1YmHT2EW3wMqbZMCkemkb3k7uHZHCNV5puMItXL3Kh3xVIrgcZjH5iKDhvhJK7BRpVGnsZjb/S2dqgffbg4++bHm28GtHBFKNOhZ2V9KLnpMaYrBx9XkSJ46B7q9rKwp/Vb1j/9AXGbDwd8DKNKcxXT5ajuU1tVp2O3jPXq6vuMFdYH6nt6oo3so9PLJTWnx8NUbUvl6VRQsvGMa4+fUfHNdXsacQC7XhnvlDDWXt2z5XSgMGaxEp5zp+Jx5PiOzh/bEoQkSmNOhcAq9EZtPRbeOF/47ptbMp/NKmdVPbQ/eie/3DQ93uuSE9YlZSd9TPvjIcDOsb+vzE0sqY2qjheZrkrrbkRO9cLPkZaOeZb/BChfKNA=
|
|
9
|
+
sidebar_class_name: "get api-method"
|
|
10
|
+
info_path: docs/petstore/swagger-petstore-yaml
|
|
11
|
+
custom_edit_url: null
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
15
|
+
import ParamsDetails from "@theme/ParamsDetails";
|
|
16
|
+
import RequestSchema from "@theme/RequestSchema";
|
|
17
|
+
import StatusCodes from "@theme/StatusCodes";
|
|
18
|
+
import OperationTabs from "@theme/OperationTabs";
|
|
19
|
+
import TabItem from "@theme/TabItem";
|
|
20
|
+
import Heading from "@theme/Heading";
|
|
21
|
+
import Translate from "@docusaurus/Translate";
|
|
22
|
+
|
|
23
|
+
<Heading
|
|
24
|
+
as={"h1"}
|
|
25
|
+
className={"openapi__heading"}
|
|
26
|
+
children={"Finds Pets by tags"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"get"}
|
|
31
|
+
path={"/pet/findByTags"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
:::caution deprecated
|
|
36
|
+
|
|
37
|
+
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
42
|
+
|
|
43
|
+
<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"}>
|
|
44
|
+
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
45
|
+
</Heading>
|
|
46
|
+
|
|
47
|
+
<ParamsDetails
|
|
48
|
+
{...require("./find-pets-by-tags.ParamsDetails.json")}
|
|
49
|
+
></ParamsDetails>
|
|
50
|
+
|
|
51
|
+
<RequestSchema
|
|
52
|
+
{...require("./find-pets-by-tags.RequestSchema.json")}
|
|
53
|
+
></RequestSchema>
|
|
54
|
+
|
|
55
|
+
<StatusCodes {...require("./find-pets-by-tags.StatusCodes.json")}></StatusCodes>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: get-inventory
|
|
3
|
+
title: "Returns pet inventories by status"
|
|
4
|
+
description: "Returns a map of status codes to quantities"
|
|
5
|
+
sidebar_label: "Returns pet inventories by status"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWN1v5LgN/1cI7csm8NjZbIED5qlpdnsI7q4Jkl20h5ngjiPRY93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8sPVxyW5ObI/zT7/5Kk0Ybwhvt/2Qstvt5fulNzX2Y0wvzTA+7na7fwG5MER+
|
|
9
|
+
sidebar_class_name: "get api-method"
|
|
10
|
+
info_path: docs/petstore/swagger-petstore-yaml
|
|
11
|
+
custom_edit_url: null
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
15
|
+
import ParamsDetails from "@theme/ParamsDetails";
|
|
16
|
+
import RequestSchema from "@theme/RequestSchema";
|
|
17
|
+
import StatusCodes from "@theme/StatusCodes";
|
|
18
|
+
import OperationTabs from "@theme/OperationTabs";
|
|
19
|
+
import TabItem from "@theme/TabItem";
|
|
20
|
+
import Heading from "@theme/Heading";
|
|
21
|
+
import Translate from "@docusaurus/Translate";
|
|
22
|
+
|
|
23
|
+
<Heading
|
|
24
|
+
as={"h1"}
|
|
25
|
+
className={"openapi__heading"}
|
|
26
|
+
children={"Returns pet inventories by status"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"get"}
|
|
31
|
+
path={"/store/inventory"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
Returns a map of status codes to quantities
|
|
36
|
+
|
|
37
|
+
<ParamsDetails parameters={undefined}></ParamsDetails>
|
|
38
|
+
|
|
39
|
+
<RequestSchema
|
|
40
|
+
{...require("./get-inventory.RequestSchema.json")}
|
|
41
|
+
></RequestSchema>
|
|
42
|
+
|
|
43
|
+
<StatusCodes {...require("./get-inventory.StatusCodes.json")}></StatusCodes>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|