fumadocs-openapi 2.0.1 → 2.0.2
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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -418,7 +418,7 @@ async function generate(pathOrDocument, options = {}) {
|
|
|
418
418
|
([key, value]) => {
|
|
419
419
|
if (!value)
|
|
420
420
|
throw new Error("Invalid schema");
|
|
421
|
-
const methodKeys = ["get", "post", "patch", "delete", "head"];
|
|
421
|
+
const methodKeys = ["get", "post", "patch", "delete", "head", "put"];
|
|
422
422
|
const methods = [];
|
|
423
423
|
for (const methodKey of methodKeys) {
|
|
424
424
|
const operation = value[methodKey];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-openapi",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Generate MDX docs for your OpenAPI spec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@apidevtools/json-schema-ref-parser": "^11.6.
|
|
20
|
+
"@apidevtools/json-schema-ref-parser": "^11.6.2",
|
|
21
21
|
"fast-glob": "^3.3.1",
|
|
22
22
|
"json-schema-to-typescript": "^14.0.4",
|
|
23
23
|
"openapi-sampler": "^1.5.1"
|