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,348 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Body",
|
|
3
|
+
"body": {
|
|
4
|
+
"content": {
|
|
5
|
+
"application/json": {
|
|
6
|
+
"schema": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"id": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"format": "int64",
|
|
14
|
+
"readOnly": true,
|
|
15
|
+
"title": "Id"
|
|
16
|
+
},
|
|
17
|
+
"pet": {
|
|
18
|
+
"oneOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"required": ["name", "photoUrls", "tags"],
|
|
22
|
+
"discriminator": {
|
|
23
|
+
"propertyName": "petType",
|
|
24
|
+
"mapping": {
|
|
25
|
+
"cat": {
|
|
26
|
+
"x-tags": ["pet"],
|
|
27
|
+
"description": "A representation of a cat",
|
|
28
|
+
"allOf": [
|
|
29
|
+
"circular(Pet)",
|
|
30
|
+
{
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"huntingSkill": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "The measured skill for hunting",
|
|
36
|
+
"default": "lazy",
|
|
37
|
+
"example": "adventurous",
|
|
38
|
+
"enum": [
|
|
39
|
+
"clueless",
|
|
40
|
+
"lazy",
|
|
41
|
+
"adventurous",
|
|
42
|
+
"aggressive"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": ["huntingSkill"]
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"title": "Cat"
|
|
50
|
+
},
|
|
51
|
+
"dog": {
|
|
52
|
+
"description": "A representation of a dog",
|
|
53
|
+
"allOf": [
|
|
54
|
+
"circular(Pet)",
|
|
55
|
+
{
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"packSize": {
|
|
59
|
+
"type": "integer",
|
|
60
|
+
"format": "int32",
|
|
61
|
+
"description": "The size of the pack the dog is from",
|
|
62
|
+
"default": 1,
|
|
63
|
+
"minimum": 1
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": ["packSize"]
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"title": "Dog"
|
|
70
|
+
},
|
|
71
|
+
"bee": {
|
|
72
|
+
"description": "A representation of a honey bee",
|
|
73
|
+
"allOf": [
|
|
74
|
+
"circular(Pet)",
|
|
75
|
+
{
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"honeyPerDay": {
|
|
79
|
+
"type": "number",
|
|
80
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
81
|
+
"example": 3.14,
|
|
82
|
+
"multipleOf": 0.01,
|
|
83
|
+
"default": 0
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": ["honeyPerDay"]
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"title": "HoneyBee"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"properties": {
|
|
94
|
+
"id": {
|
|
95
|
+
"externalDocs": {
|
|
96
|
+
"description": "Find more info here",
|
|
97
|
+
"url": "https://example.com"
|
|
98
|
+
},
|
|
99
|
+
"description": "Pet ID",
|
|
100
|
+
"allOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "integer",
|
|
103
|
+
"format": "int64",
|
|
104
|
+
"readOnly": true,
|
|
105
|
+
"title": "Id"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"category": {
|
|
110
|
+
"description": "Categories this pet belongs to",
|
|
111
|
+
"allOf": [
|
|
112
|
+
{
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"id": {
|
|
116
|
+
"description": "Category ID",
|
|
117
|
+
"allOf": [
|
|
118
|
+
{
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"format": "int64",
|
|
121
|
+
"readOnly": true,
|
|
122
|
+
"title": "Id"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"name": {
|
|
127
|
+
"description": "Category name",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"minLength": 1
|
|
130
|
+
},
|
|
131
|
+
"sub": {
|
|
132
|
+
"description": "Test Sub Category",
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"prop1": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Dumb Property"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"xml": { "name": "Category" },
|
|
143
|
+
"title": "Category"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"name": {
|
|
148
|
+
"description": "The name given to a pet",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"example": "Guru"
|
|
151
|
+
},
|
|
152
|
+
"photoUrls": {
|
|
153
|
+
"description": "The list of URL to a cute photos featuring pet",
|
|
154
|
+
"type": "array",
|
|
155
|
+
"maxItems": 20,
|
|
156
|
+
"xml": { "name": "photoUrl", "wrapped": true },
|
|
157
|
+
"items": { "type": "string", "format": "url" }
|
|
158
|
+
},
|
|
159
|
+
"friend": { "allOf": ["circular(Pet)"] },
|
|
160
|
+
"tags": {
|
|
161
|
+
"description": "Tags attached to the pet",
|
|
162
|
+
"type": "array",
|
|
163
|
+
"minItems": 1,
|
|
164
|
+
"xml": { "name": "tag", "wrapped": true },
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"id": {
|
|
169
|
+
"description": "Tag ID",
|
|
170
|
+
"allOf": [
|
|
171
|
+
{
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"format": "int64",
|
|
174
|
+
"readOnly": true,
|
|
175
|
+
"title": "Id"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"name": {
|
|
180
|
+
"description": "Tag name",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"minLength": 1
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"xml": { "name": "Tag" },
|
|
186
|
+
"title": "Tag"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"status": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Pet status in the store",
|
|
192
|
+
"enum": ["available", "pending", "sold"]
|
|
193
|
+
},
|
|
194
|
+
"petType": {
|
|
195
|
+
"description": "Type of a pet",
|
|
196
|
+
"type": "string",
|
|
197
|
+
"oneOf": [
|
|
198
|
+
{
|
|
199
|
+
"x-tags": ["pet"],
|
|
200
|
+
"description": "A representation of a cat",
|
|
201
|
+
"allOf": [
|
|
202
|
+
"circular(Pet)",
|
|
203
|
+
{
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"huntingSkill": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "The measured skill for hunting",
|
|
209
|
+
"default": "lazy",
|
|
210
|
+
"example": "adventurous",
|
|
211
|
+
"enum": [
|
|
212
|
+
"clueless",
|
|
213
|
+
"lazy",
|
|
214
|
+
"adventurous",
|
|
215
|
+
"aggressive"
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": ["huntingSkill"]
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"title": "Cat"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"description": "A representation of a dog",
|
|
226
|
+
"allOf": [
|
|
227
|
+
"circular(Pet)",
|
|
228
|
+
{
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"packSize": {
|
|
232
|
+
"type": "integer",
|
|
233
|
+
"format": "int32",
|
|
234
|
+
"description": "The size of the pack the dog is from",
|
|
235
|
+
"default": 1,
|
|
236
|
+
"minimum": 1
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"required": ["packSize"]
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"title": "Dog"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"description": "A representation of a honey bee",
|
|
246
|
+
"allOf": [
|
|
247
|
+
"circular(Pet)",
|
|
248
|
+
{
|
|
249
|
+
"type": "object",
|
|
250
|
+
"properties": {
|
|
251
|
+
"honeyPerDay": {
|
|
252
|
+
"type": "number",
|
|
253
|
+
"description": "Average amount of honey produced per day in ounces",
|
|
254
|
+
"example": 3.14,
|
|
255
|
+
"multipleOf": 0.01,
|
|
256
|
+
"default": 0
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"required": ["honeyPerDay"]
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"title": "HoneyBee"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"xml": { "name": "Pet" },
|
|
268
|
+
"title": "Pet"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"id": {
|
|
274
|
+
"description": "Tag ID",
|
|
275
|
+
"allOf": [
|
|
276
|
+
{
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"format": "int64",
|
|
279
|
+
"readOnly": true,
|
|
280
|
+
"title": "Id"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"name": {
|
|
285
|
+
"description": "Tag name",
|
|
286
|
+
"type": "string",
|
|
287
|
+
"minLength": 1
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"xml": { "name": "Tag" },
|
|
291
|
+
"title": "Tag"
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"username": {
|
|
296
|
+
"description": "User supplied username",
|
|
297
|
+
"type": "string",
|
|
298
|
+
"minLength": 4,
|
|
299
|
+
"example": "John78"
|
|
300
|
+
},
|
|
301
|
+
"firstName": {
|
|
302
|
+
"description": "User first name",
|
|
303
|
+
"type": "string",
|
|
304
|
+
"minLength": 1,
|
|
305
|
+
"example": "John"
|
|
306
|
+
},
|
|
307
|
+
"lastName": {
|
|
308
|
+
"description": "User last name",
|
|
309
|
+
"type": "string",
|
|
310
|
+
"minLength": 1,
|
|
311
|
+
"example": "Smith"
|
|
312
|
+
},
|
|
313
|
+
"email": {
|
|
314
|
+
"description": "User email address",
|
|
315
|
+
"type": "string",
|
|
316
|
+
"format": "email",
|
|
317
|
+
"example": "john.smith@example.com"
|
|
318
|
+
},
|
|
319
|
+
"password": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "User password, MUST contain a mix of upper and lower case letters, as well as digits",
|
|
322
|
+
"format": "password",
|
|
323
|
+
"minLength": 8,
|
|
324
|
+
"pattern": "/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/",
|
|
325
|
+
"example": "drowssaP123"
|
|
326
|
+
},
|
|
327
|
+
"phone": {
|
|
328
|
+
"description": "User phone number in international format",
|
|
329
|
+
"type": "string",
|
|
330
|
+
"pattern": "/^\\+(?:[0-9]-?){6,14}[0-9]$/",
|
|
331
|
+
"example": "+1-202-555-0192"
|
|
332
|
+
},
|
|
333
|
+
"userStatus": {
|
|
334
|
+
"description": "User status",
|
|
335
|
+
"type": "integer",
|
|
336
|
+
"format": "int32"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"xml": { "name": "User" },
|
|
340
|
+
"title": "User"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"description": "List of user object",
|
|
346
|
+
"required": true
|
|
347
|
+
}
|
|
348
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "responses": { "default": { "description": "successful operation" } } }
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: create-users-with-list-input
|
|
3
|
+
title: "Creates list of users with given input list"
|
|
4
|
+
description: ""
|
|
5
|
+
sidebar_label: "Creates list of users with given input list"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWllz4zYS/isoZB/GDiXZnsmlqq3EsXN4M4ldll3ZrORNWkSLRAwCDABK1rj037caICVSkseTTXZfMn6xiKPR3ejj6yYfuYfM8eGYVw4tv0u4QJdaWXppNB9ynnBTogV6vBB8yFOL4PHWoXU/Sp+/ls5f6LLyPOEWXWm0Q8eHj1zgDCrl4882RVelKTo3qxRbU+arFW3/rULnvzRiSbtSoz3qQADKUsk0rBz86ojKI3dpjgXQL78skQ85WAtLnnDpsXCtcTP9FVNir7R0npeRPylaa6T2mKHlCZ8ZW4CPQx+/CkKBuNRqyYfeVphwL72iLReCrxJeYmDQaLyc8eF491ASSloUpGENBRIfufHm1irHk6h8UrokFRVSgzeWKNbMLn+gPUM654YoJ7yAspQ6CxqCcPhDr7lC4mbnBk+ZxdKiQ+2DBpmZMWC0N+GgVOC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+DlQH1DsfUu6zLKcLKofbkZ5GXXv29yxxUFYuwrW+ACG2u+yZXl6MbnvBp/e1QEUodbmFBdS8smg+ZYrFANQmNPXIFOqsgC+28QJP+/gOf9swj
|
|
9
|
+
sidebar_class_name: "post 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={"Creates list of users with given input list"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"post"}
|
|
31
|
+
path={"/user/createWithList"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"}>
|
|
36
|
+
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
37
|
+
</Heading>
|
|
38
|
+
|
|
39
|
+
<ParamsDetails parameters={undefined}></ParamsDetails>
|
|
40
|
+
|
|
41
|
+
<RequestSchema
|
|
42
|
+
{...require("./create-users-with-list-input.RequestSchema.json")}
|
|
43
|
+
></RequestSchema>
|
|
44
|
+
|
|
45
|
+
<StatusCodes
|
|
46
|
+
{...require("./create-users-with-list-input.StatusCodes.json")}
|
|
47
|
+
></StatusCodes>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: delete-order
|
|
3
|
+
title: "Delete purchase order by ID"
|
|
4
|
+
description: "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors"
|
|
5
|
+
sidebar_label: "Delete purchase order by ID"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWN9v47gR/lcG3JdNIEtOboEDjD40TdLCuL1mkeyiPdjBHU2OLSIUR0dSVtTA/3sxlGQ7P3a3fSj60D7ZImeGw4/fDGf4JKLcBDFbiBDJo7jPhMagvKmjISdm4s/kYSut0eAx1OQCQvQdGBdxgx7mVwFaE0uWaRD+AGfT6TSHC9fF0rgNyBVtMQ0CeXDkBkXWshY26NDLiHDxaQ7oPfkgMkE1Dxpycy1mQqPFiDdeoxeZqKWXFUb07PSTcLJCMRPEs3MtMmHY6VrGUrzcyfwKaA2xREjSEEsZwSHqAJFghdAvxEY8/t4Yj1rMom8wE0GVWEkxexKxq3m9EL1xG5GJyjhTNZWYne1296zYYxRY9sN0yj8vvHA9mvMrCE1dW4Na7DLxYfrhtWzaMziKsKbGabHbZaLCWNIBloRILMVMFOkAi7S34mkAZCcyEdBvR7gab8VMlDHWYVYUNcaklIdWbjboc0PF9vwVcFe4lo2N0BsSu+xfsROk0yt6fGXsrh9/29isKM7Of8yn+TQ/m32Ynk1fqX/yJlTwM6mHRJn3lpS0J4KxD6gab2J3x4fVn8Do2K+yYYxe4vsXjCCVwpAYoGWU0JbGItSeIqrIBO6o8SxEjYugPGp00Ugb8qW7uWhieQ4mgLSBQEKQa/QgnYaKPEJyCKGVHZvfmC2ytWHFfOlENtKJ2D8Gfm2pTZ6bqrZGmcj/eZK8+UcKiS/HYL0FvKxNkewV2khLTNKgqO4Bab2JOGM1MRMVabPugL/AuGc7TTEg9SjJ//v5NLDbMRNlbX59wO41rJwyYmkCBFnVFrO0ayUdNJw8SgRZG3jADn4LNSo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BLiVMtHzvj5fqfsu/XPz8kefRV+FmfYd+axQe6uOjpJFECpEJRS5KlQrroSRL2aypa/JccmElje3LOE4dfzzYENmLvudrUcTl1uPE0iZVF891fC+YD7qGhsAbE11Sy+vUXEobP+Nj5LZn3HAymsxr6R9erFGYavPcUJL6ujWe3Zu0RqELeAxMLVWJcJ7O4FmXxpEm02yKtkE1FB/nl9d/vbue8MGVsbKpZa0pxEq6I8NXqXeFuvGqlGFsyFcdzK9ednxP6cDQxf/SW8RQLEd8jEVtpUm1dMLiaei8x6eTrH+FEJmYjc8R95koKUSWeXri2+6Lt7sdD//eoO/EbHGfia30Rq6Y34snoU3g/1rM1tIG/AYY72+HR4oT+DdeNt7czti4OO5aEnhiJkQmUne3f1vZ3R8/P1xdf7z+fC12u38CKYFsfg==
|
|
9
|
+
sidebar_class_name: "delete 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={"Delete purchase order by ID"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"delete"}
|
|
31
|
+
path={"/store/order/{orderId}"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
|
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("./delete-order.ParamsDetails.json")}
|
|
43
|
+
></ParamsDetails>
|
|
44
|
+
|
|
45
|
+
<RequestSchema
|
|
46
|
+
{...require("./delete-order.RequestSchema.json")}
|
|
47
|
+
></RequestSchema>
|
|
48
|
+
|
|
49
|
+
<StatusCodes {...require("./delete-order.StatusCodes.json")}></StatusCodes>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parameters": [
|
|
3
|
+
{
|
|
4
|
+
"name": "api_key",
|
|
5
|
+
"in": "header",
|
|
6
|
+
"required": false,
|
|
7
|
+
"schema": { "type": "string" },
|
|
8
|
+
"example": "Bearer <TOKEN>"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "petId",
|
|
12
|
+
"in": "path",
|
|
13
|
+
"description": "Pet id to delete",
|
|
14
|
+
"required": true,
|
|
15
|
+
"schema": { "type": "integer", "format": "int64" }
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "responses": { "400": { "description": "Invalid pet value" } } }
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: delete-pet
|
|
3
|
+
title: "Deletes a pet"
|
|
4
|
+
description: ""
|
|
5
|
+
sidebar_label: "Deletes a pet"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWFFv47gR/isD7ssmkKXs3qIFjEPRXJIWxu5dgiSL68EO9mhyZBGhSB1JWXED/fdiSMmOE2eDe+hT+ySJnBkOP34znNEjC3zl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qqyfquKdouvPfn4Pziy8XtBXFjv4XZtgbDC/l0cB+7fhJ2/eK4eqzpY4d/UPfP9bDDhtpQUUvxqtFt3zxqrKgZ+BZl+7u+7/8DtZOZ5A==
|
|
9
|
+
sidebar_class_name: "delete 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={"Deletes a pet"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"delete"}
|
|
31
|
+
path={"/pet/{petId}"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"}>
|
|
36
|
+
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
37
|
+
</Heading>
|
|
38
|
+
|
|
39
|
+
<ParamsDetails {...require("./delete-pet.ParamsDetails.json")}></ParamsDetails>
|
|
40
|
+
|
|
41
|
+
<RequestSchema {...require("./delete-pet.RequestSchema.json")}></RequestSchema>
|
|
42
|
+
|
|
43
|
+
<StatusCodes {...require("./delete-pet.StatusCodes.json")}></StatusCodes>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: delete-user
|
|
3
|
+
title: "Delete user"
|
|
4
|
+
description: "This can only be done by the logged in user."
|
|
5
|
+
sidebar_label: "Delete user"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWEtv3DgS/isF5hIbasnxBFigT+O1vQtjMpvATrAz6DZmqslSizBFakiqZa3R/31RlNQP20lmD3vaPenBqmLx41cP8klEXAcxX4g2kBf3mVAUpNdN1M6Kufhc6QASLThrelgRKGcJVj3EisC49ZoUaAusnItMuIY8suqNEnOhyFCkL2w4Ew16rCmS59mehMWaxDzNml4zoXm+BmMlXjpBwEIQK4xgiVSA6JI3aQYlMuHpj1Z7UmIefUuZCLKiGsX8ScS+4ZlC9NquxXZ7z8KhcTZQ4PH3Z2f8OJ7yxm7QaAWTfxDapjGalNhm4v3Z+5cavEywLkLpWqvEdpuJmmLl9kAkEGIl5qJgs8XTZHwrMhHIbyZsWm/EXFQxNmFeFA3FEJ2nPHS4XpPPtSs25y9AuqISWxNhMCS22Z+xE9CqlXt8Yexu+P+6sXlRvDv/S36Wn+Xv5u/P3p29UP/kdajhZycf4OLTDbw1TqI5EQx9INl6Hfs73p9hAybHfsOW0XkO7N8pAkpJIW26wojQVdoQNN5FklHbNfSu9SzkWhtBelJko0YT8qX9eNHG6hx0ADTBAULAkjygVVA7T5AcIuiwZ/NrvSG2Ns6YL63IJgY59o+BL43rkue6boyWOvI7Dzqv/5Xo/+UQrNeAx0YXyV6hNBq3ZgZI1wyAdF5HmrOamIvaKV32wF8caYcrTbRHNUny+zCefmy3zEFs9G8P1L+E9W/OQ+ToDlg3hrK0ao70NlCKbmw0PFAPv4eGpEYze6D+d8YoUoiDxOGSodSGo/sIMmz0T9SLbAr3yZsx2itClegl/opBy4tx/0dlhk+MkczfK5ZJwoSe/PekkxCLXyQnnonvPDt0ZOfnL7OLTzczFthm4mND9ubqQNfxD3XprCUZh6y3//5yFHT0mNDNpauLvCNjZg/WdbZgFa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M5Cl2vjw0lqa9b49GdSaMl2UCHwDQoK4LztAdHpzSONEyjKdpG1VB8uLm8/sfd9Yw3roq1SYfVxoVYoz0wfJVOrekI/PyE95Q2iGz8z68Ixr420mMsGoM6tb3J7afxeDzeRWRivrsduM9E5ULksacnLkhfvNlu+fcfLflezBf3mdig17hiCi6ehNKB35WYl2gCfcP/t7fj1cEJ/JmLhlf9nw4Vlk8UGzQtf4lMpJPX/pJje394K3B1/eH687XYbv8NSxUtOw==
|
|
9
|
+
sidebar_class_name: "delete 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={"Delete user"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"delete"}
|
|
31
|
+
path={"/user/{username}"}
|
|
32
|
+
context={"endpoint"}
|
|
33
|
+
></MethodEndpoint>
|
|
34
|
+
|
|
35
|
+
This can only be done by the logged in user.
|
|
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 {...require("./delete-user.ParamsDetails.json")}></ParamsDetails>
|
|
42
|
+
|
|
43
|
+
<RequestSchema {...require("./delete-user.RequestSchema.json")}></RequestSchema>
|
|
44
|
+
|
|
45
|
+
<StatusCodes {...require("./delete-user.StatusCodes.json")}></StatusCodes>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parameters": [
|
|
3
|
+
{
|
|
4
|
+
"name": "status",
|
|
5
|
+
"in": "query",
|
|
6
|
+
"description": "Status values that need to be considered for filter",
|
|
7
|
+
"required": true,
|
|
8
|
+
"style": "form",
|
|
9
|
+
"schema": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"maxItems": 3,
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["available", "pending", "sold"],
|
|
16
|
+
"default": "available"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "title": "Body" }
|