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-array-input
|
|
3
|
+
title: "Creates list of users with given input array"
|
|
4
|
+
description: ""
|
|
5
|
+
sidebar_label: "Creates list of users with given input array"
|
|
6
|
+
hide_title: true
|
|
7
|
+
hide_table_of_contents: true
|
|
8
|
+
api: eJztWm1z47YR/isYpB/ODiXZvsubZjqJY+fFzSX2WPakqeQmK2JFIgYBBgAl6zz6750FSImU5POlSfsl5y8WCWCxu9iXZxd85B4yx4djXjm0/C7hAl1qZeml0XzIecJNiRbo8ULwIU8tgsdbh9b9KH1+ai0sL3RZeZ5wi6402qHjw0cucAaV8vFnm6Sr0hSdm1WKrUnz1YqW/1ah818asaRVqdEedSAAZalkGmYOfnVE5ZG7NMcC6JdflsiHHIgVnnDpsXCt92b6K6bEXmlpPy8jf1K05kjtMUPLEz4ztgAfX338KggF4lKrJR96W2HCvfSKllwIvkp4iYFBo/Fyxofj3U1JKGlRkIo1FEh85MabW6scT6L2SeuSVFRIDd5Yolgzu/yB1gxpnxuinPACylLqLGgIwuYPveYMiZudIzxlFkuLDrUPGmRmxoDR2oSDUoFvnkqb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aDlUn/wsMtOrP3mZg6piGbb1GRDhzXXr5OpydMMTPq0/HypCscMtLKjyhUXzMVMsF6gqoXePXIHOKshCRy/QpL//ABEaza8=
|
|
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 array"}
|
|
27
|
+
></Heading>
|
|
28
|
+
|
|
29
|
+
<MethodEndpoint
|
|
30
|
+
method={"post"}
|
|
31
|
+
path={"/user/createWithArray"}
|
|
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-array-input.RequestSchema.json")}
|
|
43
|
+
></RequestSchema>
|
|
44
|
+
|
|
45
|
+
<StatusCodes
|
|
46
|
+
{...require("./create-users-with-array-input.StatusCodes.json")}
|
|
47
|
+
></StatusCodes>
|