Closed tschaffter closed 8 months ago
Before doing more work on this, the platform team wrote a design doc around generating an openAPI spec: https://sagebionetworks.jira.com/wiki/spaces/PLFM/pages/2907963440/Generate+OpenAPI+Spec. There is already some work done: https://github.com/Sage-Bionetworks/Synapse-Repository-Services/tree/develop/lib/lib-openapi, but I'm not sure how far along it is.
It might be more fruitful to try and contribute to this work - I know they would like to continue having the source of truth be the source code.
A minimal product space exists for Synapse.
What projects is this feature for?
OpenChallenges
Description
The goal of this ticket is to create a space to explore/demonstrate the development of Synapse components with Sage Monorepo.
This ticket covers the creation of three projects:
libs/synapse/api-description
: The OpenAPI description of Synapselibs/synapse/api-client-python
: API client for Python generated by OpenAPI generatorapps/synapse/notebook
: Jupyter notebook that shows how to use the API clientMonorepo development workflow recipe: Update API client
libs/synapse/api-description
nx openapi-generate synapse-api-client-python
apps/openchallenges/api-docs
).Notes:
libs/openchallenges/api-description
libs/schematic/api-client-python
apps/schematic/notebook
Tasks:
cc: @thomasyu888 @brucehoff
Anything else?
No response
Code of Conduct