create-docusaurus-openapi-docs 0.0.0-1235

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.
Files changed (138) hide show
  1. package/LICENSE +21 -0
  2. package/bin/index.js +36 -0
  3. package/lib/index.d.ts +4 -0
  4. package/lib/index.js +191 -0
  5. package/package.json +48 -0
  6. package/templates/default/blog/2019-05-28-first-blog-post.md +12 -0
  7. package/templates/default/blog/2019-05-29-long-blog-post.md +44 -0
  8. package/templates/default/blog/2021-08-01-mdx-blog-post.mdx +20 -0
  9. package/templates/default/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
  10. package/templates/default/blog/2021-08-26-welcome/index.md +25 -0
  11. package/templates/default/blog/authors.yml +17 -0
  12. package/templates/default/docs/intro.md +49 -0
  13. package/templates/default/docs/petstore/add-pet.ParamsDetails.json +19 -0
  14. package/templates/default/docs/petstore/add-pet.RequestSchema.json +288 -0
  15. package/templates/default/docs/petstore/add-pet.StatusCodes.json +1 -0
  16. package/templates/default/docs/petstore/add-pet.api.mdx +45 -0
  17. package/templates/default/docs/petstore/create-user.RequestSchema.json +345 -0
  18. package/templates/default/docs/petstore/create-user.StatusCodes.json +1 -0
  19. package/templates/default/docs/petstore/create-user.api.mdx +45 -0
  20. package/templates/default/docs/petstore/create-users-with-array-input.RequestSchema.json +348 -0
  21. package/templates/default/docs/petstore/create-users-with-array-input.StatusCodes.json +1 -0
  22. package/templates/default/docs/petstore/create-users-with-array-input.api.mdx +47 -0
  23. package/templates/default/docs/petstore/create-users-with-list-input.RequestSchema.json +348 -0
  24. package/templates/default/docs/petstore/create-users-with-list-input.StatusCodes.json +1 -0
  25. package/templates/default/docs/petstore/create-users-with-list-input.api.mdx +47 -0
  26. package/templates/default/docs/petstore/delete-order.ParamsDetails.json +11 -0
  27. package/templates/default/docs/petstore/delete-order.RequestSchema.json +1 -0
  28. package/templates/default/docs/petstore/delete-order.StatusCodes.json +6 -0
  29. package/templates/default/docs/petstore/delete-order.api.mdx +49 -0
  30. package/templates/default/docs/petstore/delete-pet.ParamsDetails.json +18 -0
  31. package/templates/default/docs/petstore/delete-pet.RequestSchema.json +1 -0
  32. package/templates/default/docs/petstore/delete-pet.StatusCodes.json +1 -0
  33. package/templates/default/docs/petstore/delete-pet.api.mdx +43 -0
  34. package/templates/default/docs/petstore/delete-user.ParamsDetails.json +11 -0
  35. package/templates/default/docs/petstore/delete-user.RequestSchema.json +1 -0
  36. package/templates/default/docs/petstore/delete-user.StatusCodes.json +6 -0
  37. package/templates/default/docs/petstore/delete-user.api.mdx +45 -0
  38. package/templates/default/docs/petstore/find-pets-by-status.ParamsDetails.json +21 -0
  39. package/templates/default/docs/petstore/find-pets-by-status.RequestSchema.json +1 -0
  40. package/templates/default/docs/petstore/find-pets-by-status.StatusCodes.json +522 -0
  41. package/templates/default/docs/petstore/find-pets-by-status.api.mdx +51 -0
  42. package/templates/default/docs/petstore/find-pets-by-tags.ParamsDetails.json +12 -0
  43. package/templates/default/docs/petstore/find-pets-by-tags.RequestSchema.json +1 -0
  44. package/templates/default/docs/petstore/find-pets-by-tags.StatusCodes.json +522 -0
  45. package/templates/default/docs/petstore/find-pets-by-tags.api.mdx +55 -0
  46. package/templates/default/docs/petstore/get-inventory.RequestSchema.json +1 -0
  47. package/templates/default/docs/petstore/get-inventory.StatusCodes.json +15 -0
  48. package/templates/default/docs/petstore/get-inventory.api.mdx +43 -0
  49. package/templates/default/docs/petstore/get-order-by-id.ParamsDetails.json +16 -0
  50. package/templates/default/docs/petstore/get-order-by-id.RequestSchema.json +1 -0
  51. package/templates/default/docs/petstore/get-order-by-id.StatusCodes.json +127 -0
  52. package/templates/default/docs/petstore/get-order-by-id.api.mdx +49 -0
  53. package/templates/default/docs/petstore/get-pet-by-id.ParamsDetails.json +12 -0
  54. package/templates/default/docs/petstore/get-pet-by-id.RequestSchema.json +1 -0
  55. package/templates/default/docs/petstore/get-pet-by-id.StatusCodes.json +517 -0
  56. package/templates/default/docs/petstore/get-pet-by-id.api.mdx +49 -0
  57. package/templates/default/docs/petstore/get-user-by-name.ParamsDetails.json +11 -0
  58. package/templates/default/docs/petstore/get-user-by-name.RequestSchema.json +1 -0
  59. package/templates/default/docs/petstore/get-user-by-name.StatusCodes.json +683 -0
  60. package/templates/default/docs/petstore/get-user-by-name.api.mdx +47 -0
  61. package/templates/default/docs/petstore/login-user.ParamsDetails.json +18 -0
  62. package/templates/default/docs/petstore/login-user.RequestSchema.json +1 -0
  63. package/templates/default/docs/petstore/login-user.StatusCodes.json +29 -0
  64. package/templates/default/docs/petstore/login-user.api.mdx +43 -0
  65. package/templates/default/docs/petstore/logout-user.RequestSchema.json +1 -0
  66. package/templates/default/docs/petstore/logout-user.StatusCodes.json +1 -0
  67. package/templates/default/docs/petstore/logout-user.api.mdx +39 -0
  68. package/templates/default/docs/petstore/new-pet.RequestSchema.json +260 -0
  69. package/templates/default/docs/petstore/new-pet.StatusCodes.json +7 -0
  70. package/templates/default/docs/petstore/new-pet.api.mdx +45 -0
  71. package/templates/default/docs/petstore/pet.tag.mdx +15 -0
  72. package/templates/default/docs/petstore/place-order.RequestSchema.json +96 -0
  73. package/templates/default/docs/petstore/place-order.StatusCodes.json +133 -0
  74. package/templates/default/docs/petstore/place-order.api.mdx +43 -0
  75. package/templates/default/docs/petstore/schemas/cat.Schema.json +224 -0
  76. package/templates/default/docs/petstore/schemas/cat.schema.mdx +30 -0
  77. package/templates/default/docs/petstore/sidebar.ts +180 -0
  78. package/templates/default/docs/petstore/store.tag.mdx +15 -0
  79. package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.2.json +28 -0
  80. package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.3.json +28 -0
  81. package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.4.json +25 -0
  82. package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.5.json +20 -0
  83. package/templates/default/docs/petstore/subscribe-to-the-store-events.RequestSchema.json +27 -0
  84. package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.2.json +21 -0
  85. package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.3.json +17 -0
  86. package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.4.json +9 -0
  87. package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.5.json +9 -0
  88. package/templates/default/docs/petstore/subscribe-to-the-store-events.StatusCodes.json +20 -0
  89. package/templates/default/docs/petstore/subscribe-to-the-store-events.api.mdx +120 -0
  90. package/templates/default/docs/petstore/swagger-petstore-yaml.info.mdx +249 -0
  91. package/templates/default/docs/petstore/update-pet-with-form.ParamsDetails.json +11 -0
  92. package/templates/default/docs/petstore/update-pet-with-form.RequestSchema.json +22 -0
  93. package/templates/default/docs/petstore/update-pet-with-form.StatusCodes.json +1 -0
  94. package/templates/default/docs/petstore/update-pet-with-form.api.mdx +49 -0
  95. package/templates/default/docs/petstore/update-pet.ParamsDetails.json +19 -0
  96. package/templates/default/docs/petstore/update-pet.RequestSchema.json +288 -0
  97. package/templates/default/docs/petstore/update-pet.StatusCodes.json +7 -0
  98. package/templates/default/docs/petstore/update-pet.api.mdx +43 -0
  99. package/templates/default/docs/petstore/update-user.ParamsDetails.json +11 -0
  100. package/templates/default/docs/petstore/update-user.RequestSchema.json +345 -0
  101. package/templates/default/docs/petstore/update-user.StatusCodes.json +6 -0
  102. package/templates/default/docs/petstore/update-user.api.mdx +45 -0
  103. package/templates/default/docs/petstore/upload-file.ParamsDetails.json +11 -0
  104. package/templates/default/docs/petstore/upload-file.RequestSchema.json +10 -0
  105. package/templates/default/docs/petstore/upload-file.StatusCodes.json +20 -0
  106. package/templates/default/docs/petstore/upload-file.api.mdx +43 -0
  107. package/templates/default/docs/petstore/user.tag.mdx +15 -0
  108. package/templates/default/docs/tutorial-basics/_category_.json +8 -0
  109. package/templates/default/docs/tutorial-basics/congratulations.md +23 -0
  110. package/templates/default/docs/tutorial-basics/create-a-blog-post.md +36 -0
  111. package/templates/default/docs/tutorial-basics/create-a-document.md +55 -0
  112. package/templates/default/docs/tutorial-basics/create-a-page.md +45 -0
  113. package/templates/default/docs/tutorial-basics/deploy-your-site.md +31 -0
  114. package/templates/default/docs/tutorial-basics/markdown-features.mdx +145 -0
  115. package/templates/default/docs/tutorial-extras/_category_.json +7 -0
  116. package/templates/default/docs/tutorial-extras/manage-docs-versions.md +57 -0
  117. package/templates/default/docs/tutorial-extras/translate-your-site.md +90 -0
  118. package/templates/default/docusaurus.config.ts +273 -0
  119. package/templates/default/examples/petstore.yaml +1271 -0
  120. package/templates/default/gitignore +21 -0
  121. package/templates/default/package.json +44 -0
  122. package/templates/default/sidebars.ts +37 -0
  123. package/templates/default/src/components/HomepageFeatures/index.js +64 -0
  124. package/templates/default/src/components/HomepageFeatures/styles.module.css +11 -0
  125. package/templates/default/src/css/custom.css +77 -0
  126. package/templates/default/src/pages/index.js +42 -0
  127. package/templates/default/src/pages/index.module.css +23 -0
  128. package/templates/default/src/pages/markdown-page.md +7 -0
  129. package/templates/default/static/.nojekyll +0 -0
  130. package/templates/default/static/img/docusaurus.png +0 -0
  131. package/templates/default/static/img/favicon.ico +0 -0
  132. package/templates/default/static/img/logo.svg +1 -0
  133. package/templates/default/static/img/tutorial/docsVersionDropdown.png +0 -0
  134. package/templates/default/static/img/tutorial/localeDropdown.png +0 -0
  135. package/templates/default/static/img/undraw_docusaurus_mountain.svg +171 -0
  136. package/templates/default/static/img/undraw_docusaurus_react.svg +170 -0
  137. package/templates/default/static/img/undraw_docusaurus_tree.svg +40 -0
  138. 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 status value" }
521
+ }
522
+ }
@@ -0,0 +1,51 @@
1
+ ---
2
+ id: find-pets-by-status
3
+ title: "Finds Pets by status"
4
+ description: "Multiple status values can be provided with comma separated strings"
5
+ sidebar_label: "Finds Pets by status"
6
+ hide_title: true
7
+ hide_table_of_contents: true
8
+ api: eJztWlFvI7cR/isE7+VsrCTbd0gBPdWxr6mRS2zYPrSBZSQjcrRizCU3JFfynqH/Xgy5K+1a8vmapkXR6sXWLmeGMx9nhjNcPvEAuefjO15i4PcZl+iFU2VQ1vAx/6HSQZUamQ8QKs8WoCv0TIBhU2SlswslUbKlCnMmbFEA81iCg4CS+eCUyT3PuC3RAUm8kHzMZ8rIKwz+2/omCuUZJ5YCAzrS5IkbKJCPuW+HFanyW4Wu5s8VvOnpFeYQmEGULFhSUFjjlUSHks2sYzOlAzqecYe/Vcqh5OPgKsy4D7WmGWfWFTzjXsyxAD5+4qEu6T04BzR3ocxFwMLz8XHGC3hsHt5lXKVfa45kPM84mqogeGEBSsNUI5mLRqZRb7VMqM+g0oGmWtO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DJbtboJHWsWiwJy9/febRVNvpqAAf0I2kFT69HiRRg42oYSEPWkdolbghN5o1Z9F7j/g/9ogzZ70fXDqVK8Ou0dvKCWQ3c6CGsOMZa4C/yMDenl1e3xwwqoBw40XCUkUERmC6YMju/vbujFEu21i1XC6Hy3dD6/LR7fVIWOdjajw1Ml0GBE07HRNxemkLSHKLyjRuHPunmAunzi59TPKnWrP1vTs2hwXhu1RaCnCS3BUHNlmynCsxZwU8xANILJLOGFDXrKymWonoBWlfUlONtJa4QFdbgxlTRuiKjggYmJoJK5G2A/rtVcAWbNrFqQRt425i1qFjZzN0noWljZEWHRl65OOJYWwQF+N7rNNDqgtIUFPPDhjEzdLEMtgKq+MeSti1JW1/p1CG9sq4XhNDFrb+yVKTklBd4jRjhZ1SfU1EEv1DsCXrfNFqKjzqVtJWfEKtAN90Uu2mujb5p9MfPtI4usJfzm7QLZTATX3cSRqRZNRchQQROu1azGZVWVpHJRcWoHQq4yh1/HkjY+vw+6UoonLrcaBtHquLPo9LhMOGV9km8NpEF9mGpUknDOEWH0NqIZPBUWgUL8E9PJtjpIq8LyhSvSyNRtcitRJoPHaBKelMkZ3ENeh1aRRpEEdjtDWsfvTx4uzDjzcfBrRw81Cks83S+lCA6QimLws+riJl8PXV3l4d9rS5tPoH3Txu6t6Aj2FUalCxLI5mPTX9czpFy3ivg77P+Nz6QKNPT7RlfXJ6taLX6RYy9dVSeTrmk3w8A+3xC6a8vW6OFw7Y77uuvNOK2Idt7kinI4Qxj33xApyKZ5B0cpC1DQlpnbhOhcAydLi2bgj3zhu++3BLzrTV86Tmq/nROe4FU/dkt21amvwhNkIvED89pV5qtVrTN4cjL3Gsu61ETeDcr1arfwApeS6X
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 status"}
27
+ ></Heading>
28
+
29
+ <MethodEndpoint
30
+ method={"get"}
31
+ path={"/pet/findByStatus"}
32
+ context={"endpoint"}
33
+ ></MethodEndpoint>
34
+
35
+ Multiple status values can be provided with comma separated strings
36
+
37
+ <Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"}>
38
+ <Translate id="theme.openapi.request.title">Request</Translate>
39
+ </Heading>
40
+
41
+ <ParamsDetails
42
+ {...require("./find-pets-by-status.ParamsDetails.json")}
43
+ ></ParamsDetails>
44
+
45
+ <RequestSchema
46
+ {...require("./find-pets-by-status.RequestSchema.json")}
47
+ ></RequestSchema>
48
+
49
+ <StatusCodes
50
+ {...require("./find-pets-by-status.StatusCodes.json")}
51
+ ></StatusCodes>
@@ -0,0 +1,12 @@
1
+ {
2
+ "parameters": [
3
+ {
4
+ "name": "tags",
5
+ "in": "query",
6
+ "description": "Tags to filter by",
7
+ "required": true,
8
+ "style": "form",
9
+ "schema": { "type": "array", "items": { "type": "string" } }
10
+ }
11
+ ]
12
+ }