-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
We need to decide and implement some handling of OpenAPI schemas for the v1.2.0 release.
The new framework with property definitions that hopefully soon will be merged #445 generate JSON Schemas for OPTIMADE, but not full OpenAPI schemas. It is possible to extend that framework to do this. On the other hand, optimade-python-tools will likely anyway not use them, but generate their own. It may be a better use of effort to instead extend the process_schemas tool to generate pydantic declarations that can be used for that.
Hence, a proposal is that we:
- For now, just clean out references to OpenAPI schemas in the repo.
- Add functionality to generate pydantic declarations for optimade-python-tools from property definitions
- At some point in the future: work towards adding back OpenAPI schemas generated directly out of the property definitions in the same way we generate JSON Schemas from property definitions.
A related old issue that should be fixed if we handle this is #434. (Also: pinging @ml-evs as I hope this issue addresses a concern posted in #445).
Metadata
Metadata
Assignees
Labels
No labels