-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The purpose of this issue is to create the server stub that handles receiving and responding to API calls to handle schema server functionality.
Currently, the service is planned to:
- Create a
/v1/uihtml endpoint for interactive use of the API. - Support 'default' operations on the
/schemas/endpoint-
GET(receive a paginated list of all schemas in the DB)- BUGFIX: Response does not currently align to API schema.
- Response is correct, OpenAPI Schema has bad examples.
- BUGFIX: Response does not currently align to API schema.
-
PUT(put a new schema)
-
- Support 'id' operations on the
/schemas/{id}endpoint-
GET -
DELETE -
PATCH -
PUT
-
- Support Schema validation on the
/schemas/validateendpoint- Moved to [Feature] LinkML Schema Service: Validate a LinkML Schema for processability #1882
- Endpoint itself exists
- Support Metadata validation on the
/schemas/{id}/validateendpoint- Moved to [Feature] LinkML Schema Service: Validate LinkML Metadata against a Stored Schema #1883
- Endpoint itself exists
Importantly, this service is not the de facto ground truth for the schema of the API. Therefore, it comes with a script to adjust the current ground truth schema into a format it can hand to Connexion to automatically set up certain functionality.
(Currently, this script treats the OpenAPI schema like plaintext -- for stability reasons, it should eventually be updated to actually parse it like the yaml it is.)
- Script to turn OpenAPI schema into schema sufficient for Connexion
- Update script to be more stable (treat schema like YAML)
Reactions are currently unavailable