Generation of APIs (e.g. swagger/openAPI) #241
-
I would like to autogenerate a swagger/openAPI CRUD interface from a LinkML schema. This would implement a number of patterns:
The idea is that something like https://github.com/biolink/biolink-api could be generated directly from the biolink schema Note that in future it may be possible to generate the actual access methods e.g. for a sql database, mongo database, triplestore. But to scope this, we would start with just the interface. One possibility is to auto-generate flask code for stub methods for each API call, and then use existing tools to generate swagger.json from this. Note: we also have a GraphQL exporter that could be used an alternative |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
https://github.com/linkml/linkml-dataops now supports a generic API framework. |
Beta Was this translation helpful? Give feedback.
https://github.com/linkml/linkml-dataops now supports a generic API framework.