You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenAPI definition allows to automatically generate clients for different languages. We could publish them with every release. On top of that, we can use these generated clients to test if the OpenAPI definition matches the internal implementation.
Steps
Save the OpenAPI definition as a json file
Generate clients with the just generated json file
Write tests for at least one generated client and run them against the scicat-backend
Publish the generated clients
Questions
Save json file with every startup or only when, for example, an environment variable is set?
Which clients should we generate?
Which language to choose for the tests? Typescript, Python, ...?
The OpenAPI definition allows to automatically generate clients for different languages. We could publish them with every release. On top of that, we can use these generated clients to test if the OpenAPI definition matches the internal implementation.
Steps
Questions
References
The text was updated successfully, but these errors were encountered: