Skip to content

Commit

Permalink
Fix: const is any, not only string
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail authored Apr 1, 2024
1 parent 6560019 commit 1d205b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/openapi31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export interface SchemaObject extends ISpecificationExtension {
title?: string;
multipleOf?: number;
maximum?: number;
const?: string;
const?: any;
/** @desc In OpenAPI 3.1: number */
exclusiveMaximum?: number;
minimum?: number;
Expand Down

0 comments on commit 1d205b3

Please sign in to comment.