Skip to content

Commit

Permalink
Add additionalProperties false to openapi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mabely committed Dec 15, 2023
1 parent 3f60c0b commit 6f54064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ components:
x-faker: internet.email
address:
$ref: "#/components/schemas/Address"
additionalProperties: false
Donor:
allOf:
- $ref: "#/components/schemas/Person"
Expand All @@ -298,6 +299,7 @@ components:
type: string
nullable: true
x-faker: name.findName
additionalProperties: false
Attorney:
allOf:
- $ref: "#/components/schemas/Person"
Expand All @@ -309,6 +311,7 @@ components:
- active
- replacement
- removed
additionalProperties: false
Update:
type: object
required:
Expand Down

0 comments on commit 6f54064

Please sign in to comment.