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,288 @@
1
+ {
2
+ "title": "Body",
3
+ "body": {
4
+ "content": {
5
+ "application/json": {
6
+ "schema": {
7
+ "allOf": [
8
+ { "description": "My Pet", "title": "Pettie" },
9
+ {
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
+ "example": {
263
+ "category": {
264
+ "name": "Great Dane",
265
+ "sub": { "prop1": "Just a test property" }
266
+ },
267
+ "name": "Pepper",
268
+ "photoUrls": [
269
+ "https://assets.orvis.com/is/image/orvisprd/great-dane"
270
+ ],
271
+ "tags": [{ "name": "Great Danes" }],
272
+ "status": "pending",
273
+ "petType": { "huntingSkill": "lazy" }
274
+ }
275
+ },
276
+ "application/xml": {
277
+ "schema": {
278
+ "type": "object",
279
+ "properties": {
280
+ "name": { "type": "string", "description": "hooray" }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "description": "Pet object that needs to be added to the store",
286
+ "required": true
287
+ }
288
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "responses": {
3
+ "400": { "description": "Invalid ID supplied" },
4
+ "404": { "description": "Pet not found" },
5
+ "405": { "description": "Validation exception" }
6
+ }
7
+ }
@@ -0,0 +1,43 @@
1
+ ---
2
+ id: update-pet
3
+ title: "Update an existing pet"
4
+ description: ""
5
+ sidebar_label: "Update an existing pet"
6
+ hide_title: true
7
+ hide_table_of_contents: true
8
+ api: eJztWm1z2zYS/is7aD7YHkq009zdjG6aOcdOU1/TxmPZd9eRPClErCjUIMACoGTGo/9+swApkZacpHftfbl8sUW8LHYXu8++kA/M89yx0YSV6NltwgS6zMrSS6PZiLGEmRItp8cLwUasKgX3eImeJcyiK4126Njogb04PqZ//e0XesmVFHBxDq4qSyVRsHXCXhy/2F17iR608TA3lW5W/Wl31T+IXmAH8D7DOLxeJ8xhVlnpazaaPJAszhuL73nlFyTcykqPIxoOfHMRf9+ubxN2P8iMwDEvSkWiTB6Y4jonjr67ZAlzprIZshF7Nje2gG9A4wqm00v0YzpiOn2tvfQSXRg7OPzrVIeVg5cO/SX6C3FwsjN4XZd4MGXnJp+y/uSPvKCZK7yPM2kKDj0Yv0ALc4lKuKn2toaHqQYAeFaih2/gWaYkaj94SXIdHA5exos6CISJzhoy7rMFHNzo0poMneMzhYH3+nWrSXiGhy3hJbfvRVWUB89w8DJH/9paY93BYSA21YxUZ/HXCp1/ZURNV5UZ7VF7+snptrNwUekvjq7ugblsgQUPs0q9mwdV92/3hxqiaXnpFUaj8BLZOnlgvi5pxMx+wSxa36+VtCjoejUvkCWsXBhvbqyiSw5mTfYs6YBCau6NpbNLSxbta1I0G5Gp0GWwhBW8LCVd/APLeBDifvBR5zgFi6VFh9pHizRz4KRmlmwkZJm0WaW4PbhEf8j2yNHwI6MbLSrtpc7Hd1Ipem5WO2+JtcccXC8QCuSusijA0R6YGwsNkbB8zivl2Ygp/qFmCcP7YOdsxLhYovaVNRWpC3VVBHZVhQodDTU7+ut4nlt0Ti6R3ZLbdW+hx3twr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/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={"Update an existing pet"}
27
+ ></Heading>
28
+
29
+ <MethodEndpoint
30
+ method={"put"}
31
+ path={"/pet"}
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("./update-pet.ParamsDetails.json")}></ParamsDetails>
40
+
41
+ <RequestSchema {...require("./update-pet.RequestSchema.json")}></RequestSchema>
42
+
43
+ <StatusCodes {...require("./update-pet.StatusCodes.json")}></StatusCodes>
@@ -0,0 +1,11 @@
1
+ {
2
+ "parameters": [
3
+ {
4
+ "name": "username",
5
+ "in": "path",
6
+ "description": "name that need to be deleted",
7
+ "required": true,
8
+ "schema": { "type": "string" }
9
+ }
10
+ ]
11
+ }