Skip to content

Commit

Permalink
update type of additionalProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
omermecitoglu committed Jul 8, 2024
1 parent 6616d06 commit 495f37c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@omer-x/openapi-types",
"version": "0.2.0",
"version": "0.2.1",
"description": "TypeScript types for the OpenAPI Specification",
"keywords": [
"swagger",
Expand Down
2 changes: 1 addition & 1 deletion src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type ObjectSchema = {
* By default, all object properties are optional. You can specify the required properties in the required list
*/
required?: string[],
additionalProperties?: Record<string, SchemaObject> | ReferenceObject | false,
additionalProperties?: SchemaObject | ReferenceObject | boolean,
minProperties?: number,
maxProperties?: number,
};
Expand Down

0 comments on commit 495f37c

Please sign in to comment.