Skip to content

Commit

Permalink
openapi-types: Add support for number type as server variables value(…
Browse files Browse the repository at this point in the history
…s) (#901)
  • Loading branch information
melroy89 authored May 8, 2024
1 parent 32a74bc commit 70ada01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/openapi-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ export namespace OpenAPIV3 {
}

export interface ServerVariableObject {
enum?: string[];
default: string;
enum?: string[] | number[];
default: string | number;
description?: string;
}

Expand Down

0 comments on commit 70ada01

Please sign in to comment.