-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
ci: Validation of OpenAPI files using GitHub Actions #6
base: main
Are you sure you want to change the base?
Conversation
gha-validation
Documentation and the openapi file are generated live by the API itself. |
Is there a FASTAPI option or plugin to generate it in command line for Continuous Integration purposes or other things ? |
Eg:
|
See: https://github.com/openfoodfacts/folksonomy_api/blob/main/generate_openapi_json.py It calls fastapi and generates the openapi.json on stdout. |
======================
|
E psycopg2.OperationalError: could not connect to server: No such file or directory |
I managed to populate and connect to the db
|
What db name, user and pass should I use ? Any tip to make the tests green ?