Skip to content

Commit 3ef6f35

Browse files
authored
Remove the attribute "required" for properties that have a default value (#167)
1 parent 0e8c481 commit 3ef6f35

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

openapi/commons/components/schemas/ResponsePageMetadata.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ properties:
1717
description: Total number of results in the result set
1818
type: integer
1919
required:
20-
- offset
21-
- limit
2220
- links
2321
- totalResults

openapi/phi-deidentifier/components/schemas/DeidentificationStep.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ properties:
77
description: The minimum confidence level for a given annotation to be de-identified
88
minimum: 0
99
maximum: 100
10-
example: 42.4
10+
example: 95.5
1111
default: 0
1212
maskingCharConfig:
1313
$ref: MaskingCharConfig.yaml
@@ -26,3 +26,5 @@ properties:
2626
- "text_physical_address"
2727
- "text_date"
2828
- "text_person_name"
29+
required:
30+
- annotationTypes

openapi/phi-deidentifier/components/schemas/MaskingCharConfig.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ properties:
88
description: Character used to mask sensitive information
99
minLength: 1
1010
maxLength: 1
11-
default: "*"
12-
required:
13-
- maskingChar
11+
default: "*"

0 commit comments

Comments
 (0)