Skip to content

Commit

Permalink
updated OpenAPI documentation to include summary API
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-flexion committed Jan 29, 2024
1 parent 160f5f3 commit 9deeca6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions etor/src/main/resources/openapi_etor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,38 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
/v1/etor/metadata/summary/{sender}:
get:
summary: Returns all the order and their status for particular hospital
parameters:
- name: sender
description: A valid sender for the partner metadata
required: true
schema:
type: string
security:
- bearerAuthorization: [ ]
responses:
'200':
description: orders and their status returned successfully
content:
application/json:
schema:
$ref: 'https://github.com/LinuxForHealth/FHIR/blob/main/fhir-openapi/src/main/webapp/META-INF/openapi.json?raw=true#/components/schemas/OperationOutcome'
'401':
description: Authentication failed due to invalid token or unknown organization
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedRequestError'
'404':
description: Unable to find requested metadata
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'


components:
schemas:
PatientDemographicsResponse:
Expand Down

0 comments on commit 9deeca6

Please sign in to comment.