@voltro/plugin-openapi 0.81.0 → 0.83.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/CHANGELOG.md +1806 -6
- package/THIRD-PARTY-NOTICES.md +1 -1
- package/dist/index.js +17 -1
- package/package.json +3 -3
package/THIRD-PARTY-NOTICES.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -314,7 +314,23 @@ var a = "/rpc", o = "rpc", s = (e) => e.ast._tag === "NeverKeyword", c = (e, t)
|
|
|
314
314
|
...e.etag === !0 ? { ETag: {
|
|
315
315
|
description: "Weak validator; send it back as `If-None-Match` for a 304.",
|
|
316
316
|
schema: { type: "string" }
|
|
317
|
-
} } : {}
|
|
317
|
+
} } : {},
|
|
318
|
+
...e.cache !== void 0 && e.method === "GET" ? {
|
|
319
|
+
"Cache-Control": {
|
|
320
|
+
description: `\`public, max-age=${e.cache.maxAge}\` for a request without a credential; \`private, no-cache\` for one with \`Authorization\` or a cookie.`,
|
|
321
|
+
schema: { type: "string" }
|
|
322
|
+
},
|
|
323
|
+
...e.cache.tags === void 0 ? {} : {
|
|
324
|
+
"Cache-Tag": {
|
|
325
|
+
description: "Purge tags, comma-separated (only on a public answer).",
|
|
326
|
+
schema: { type: "string" }
|
|
327
|
+
},
|
|
328
|
+
"Surrogate-Key": {
|
|
329
|
+
description: "The same purge tags, space-separated (only on a public answer).",
|
|
330
|
+
schema: { type: "string" }
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
} : {}
|
|
318
334
|
};
|
|
319
335
|
return {
|
|
320
336
|
description: "OK",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-openapi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.0",
|
|
4
4
|
"description": "Generate an OpenAPI 3.1 spec from defineRestRoute descriptors and serve it + a Swagger-UI docs page. Zero hand-maintained API docs — the REST descriptors ARE the source of truth.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"node": ">=24.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@voltro/env": "0.
|
|
37
|
-
"@voltro/protocol": "0.
|
|
36
|
+
"@voltro/env": "0.83.0",
|
|
37
|
+
"@voltro/protocol": "0.83.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"effect": "^3.22.2"
|