The OpenAPI schemas in this repo somehow provide the OpenAPI representation according to optimade-python-tools at the moment of the releases of the specification.
Currently this is quite out of date with the versions at https://github.com/Materials-Consortia/schemas, and in fact, requiring the OpenAPI schemas to be correct on release is quite an additional burden for optimade-python-tools. (see Materials-Consortia/optimade-python-tools#1427 and the many PRs before it that show my attempts to keep 1.1 compatibility whilst generating the 1.2 schema).
I will make a PR here with the latest draft 1.2 OpenAPI schema from optimade-python-tools, but I would suggest in future that we remove ./schemas from this repository and instead version them more explicitly in the schemas repo (and link to them from here). I will try to remember to bring this up next meeting...
The OpenAPI schemas in this repo somehow provide the OpenAPI representation according to optimade-python-tools at the moment of the releases of the specification.
Currently this is quite out of date with the versions at https://github.com/Materials-Consortia/schemas, and in fact, requiring the OpenAPI schemas to be correct on release is quite an additional burden for optimade-python-tools. (see Materials-Consortia/optimade-python-tools#1427 and the many PRs before it that show my attempts to keep 1.1 compatibility whilst generating the 1.2 schema).
I will make a PR here with the latest draft 1.2 OpenAPI schema from optimade-python-tools, but I would suggest in future that we remove
./schemasfrom this repository and instead version them more explicitly in the schemas repo (and link to them from here). I will try to remember to bring this up next meeting...