Skip to content

Commit 5fa4572

Browse files
committed
chore: use compatibilityVersion 4 in Nuxt example
1 parent 24175d0 commit 5fa4572

File tree

3 files changed

+133
-27
lines changed

3 files changed

+133
-27
lines changed

examples/openapi-ts-nuxt/nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ export default defineNuxtConfig({
44
devtools: {
55
enabled: true,
66
},
7+
future: {
8+
compatibilityVersion: 4,
9+
},
710
imports: {
811
transform: {
912
// Build was throwing an error.

packages/openapi-ts/src/ir/types.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ type IRSecurityObject = SecuritySchemeObject;
191191
interface IRModel {
192192
components?: IRComponentsObject;
193193
paths?: IRPathsObject;
194+
servers?: ReadonlyArray<unknown>;
194195
}
195196

196197
export namespace IR {

pnpm-lock.yaml

Lines changed: 129 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)