We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4d429 commit 217c869Copy full SHA for 217c869
packages/openapi3/src/lib.ts
@@ -167,16 +167,18 @@ const EmitterOptionsSchema: JSONSchemaType<OpenAPI3EmitterOptions> = {
167
].join("\n"),
168
},
169
"openapi-versions": {
170
+ title: "OpenAPI Versions",
171
type: "array",
172
items: {
173
type: "string",
- enum: ["3.0.0", "3.1.0"],
174
+ enum: ["3.0.0", "3.1.0", "3.2.0"],
175
nullable: true,
176
description: "The versions of OpenAPI to emit. Defaults to `[3.0.0]`",
177
178
179
uniqueItems: true,
180
minItems: 1,
181
+ default: ["3.0.0"],
182
183
"new-line": {
184
0 commit comments