Skip to content

Commit

Permalink
Merge pull request #133 from RobinTail/patch-4
Browse files Browse the repository at this point in the history
Fix for 3.1: `const` is `any`, not only `string`
  • Loading branch information
pjmolina committed Apr 1, 2024
2 parents 6560019 + 1d205b3 commit d22436f
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 d22436f

Please sign in to comment.