Skip to content

fix: align api-gateway OpenAPI auth schemes#336

Open
Olli-Dev wants to merge 1 commit into
Vexa-ai:mainfrom
Olli-Dev:fix-api-gateway-openapi-auth-schemes
Open

fix: align api-gateway OpenAPI auth schemes#336
Olli-Dev wants to merge 1 commit into
Vexa-ai:mainfrom
Olli-Dev:fix-api-gateway-openapi-auth-schemes

Conversation

@Olli-Dev
Copy link
Copy Markdown

Summary

  • Set explicit FastAPI security scheme names for client and admin API keys
  • Add OpenAPI regression tests for auth scheme references and header names

Fixes

Fixes #62
Fixes #80

Tests

  • PYTHONPATH='services/api-gateway;services/meeting-api;libs/admin-models' python -m pytest services/api-gateway/tests/test_openapi.py

@Olli-Dev
Copy link
Copy Markdown
Author

Note: I ran the focused OpenAPI regression test locally on Windows with:
PYTHONPATH='services/api-gateway;services/meeting-api;libs/admin-models' python -m pytest services/api-gateway/tests/test_openapi.py

It passed: 4 tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin API Swagger UI Shows Wrong Header in curl Examples BUG: Wrong APIKeyHeader security scheme name in OpenAPI definition

1 participant