Skip to content

Commit

Permalink
OpenAPI adapted to new way of work
Browse files Browse the repository at this point in the history
  • Loading branch information
aalonsolopez committed Jun 14, 2024
1 parent efe0ff2 commit 17ef5c0
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ info:
description: Gravitate Health Focusing Service. Focuses a Focused ePI.
contact: {}
servers:
- url: https://fosps.gravitatehealth.eu
- url: https://fosps.gravitatehealth.eu
paths:
/lenses:
get:
tags:
- Lenses
- Lenses
description: Returns all lenses IDs.
responses:
"200":
Expand All @@ -29,7 +29,7 @@ paths:
/lenses/{id}:
get:
tags:
- Lenses
- Lenses
description: Returns the lense itself.
responses:
"200":
Expand All @@ -39,9 +39,37 @@ paths:
schema:
type: object
properties:
metadata:
resourceType:
type: string
example: "Bundle"
id:
type: string
example: "049959c2-84ba-4fe1-874b-2ccdbd547e67"
meta:
type: object
lense:
properties:
lastUpdated:
type: string
example: "2024-06-14T09:48:58.880+00:00"
type:
type: string
example: "console.log('Hello World!')"
example: "searchset"
total:
type: integer
example: 1
link:
type: array
items:
type: object
properties:
relation:
type: string
example: "self"
url:
type: string
example: "http://gravitate-health.lst.tfo.upm.es/ips/api/fhir/Library?name%3Aexact=pregnancy-lens"
entry:
type: array
items:
type: object

0 comments on commit 17ef5c0

Please sign in to comment.