Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the Json Schema and/or OpenAPI 3.1 Schema #49

Open
laurenceisla opened this issue Sep 23, 2024 · 0 comments
Open

Validate the Json Schema and/or OpenAPI 3.1 Schema #49

laurenceisla opened this issue Sep 23, 2024 · 0 comments

Comments

@laurenceisla
Copy link
Member

laurenceisla commented Sep 23, 2024

In the core repository we use gavinwahl/postgres-json-schema to validate the resulting OpenAPI document for testing purposes (see jsonschema.sql). It's doesn't look mantained anymore so we need to use another one, preferably in SQL, to start validating the output (I'm doing it manually in the Swagger Editor right now). I think the pg_jsonschema extension is a good alternative.

Edit: see extra info on OpenAPI validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant