Skip to content

Commit 9bc5d31

Browse files
NRL-518 Better format for single value enum in swagger
1 parent 3452fa3 commit 9bc5d31

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

api/consumer/swagger.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,9 +1200,7 @@ components:
12001200
url:
12011201
type: string
12021202
enum:
1203-
[
1204-
"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
1205-
]
1203+
- "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability"
12061204
valueCodeableConcept:
12071205
type: object
12081206
properties:
@@ -1214,9 +1212,7 @@ components:
12141212
system:
12151213
type: string
12161214
enum:
1217-
[
1218-
"https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
1219-
]
1215+
- "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability"
12201216
code:
12211217
type: string
12221218
enum: ["static", "dynamic"]

api/producer/swagger.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,9 +1766,7 @@ components:
17661766
url:
17671767
type: string
17681768
enum:
1769-
[
1770-
"https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
1771-
]
1769+
- "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability"
17721770
valueCodeableConcept:
17731771
type: object
17741772
properties:
@@ -1780,9 +1778,7 @@ components:
17801778
system:
17811779
type: string
17821780
enum:
1783-
[
1784-
"https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
1785-
]
1781+
- "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability"
17861782
code:
17871783
type: string
17881784
enum: ["static", "dynamic"]

0 commit comments

Comments
 (0)