Skip to content

Commit 217c869

Browse files
committed
feat: adds version 3.2.0 to the playground
1 parent 6b4d429 commit 217c869

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/openapi3/src/lib.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,18 @@ const EmitterOptionsSchema: JSONSchemaType<OpenAPI3EmitterOptions> = {
167167
].join("\n"),
168168
},
169169
"openapi-versions": {
170+
title: "OpenAPI Versions",
170171
type: "array",
171172
items: {
172173
type: "string",
173-
enum: ["3.0.0", "3.1.0"],
174+
enum: ["3.0.0", "3.1.0", "3.2.0"],
174175
nullable: true,
175176
description: "The versions of OpenAPI to emit. Defaults to `[3.0.0]`",
176177
},
177178
nullable: true,
178179
uniqueItems: true,
179180
minItems: 1,
181+
default: ["3.0.0"],
180182
},
181183
"new-line": {
182184
type: "string",

0 commit comments

Comments
 (0)