bopritchard
6 years agoOccasional Contributor
How to express an array in a swagger definition
How can I express an array of objects in a defition.
Here's the sample json
{
"resourceType": "Patient",
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
"ex...
- 6 years ago
extension: type: array items: oneOf: - $ref: '#/definitions/Race' - ...