Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
endpoints to manage users and permissions managed by the FAB auth manager.
version: 0.1.0
paths:
/token:
/auth/token:
post:
tags:
- FabAuthManager
Expand Down Expand Up @@ -44,7 +44,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/token/cli:
/auth/token/cli:
post:
tags:
- FabAuthManager
Expand Down
4 changes: 3 additions & 1 deletion scripts/in_container/run_generate_openapi_spec_fab.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
# Generate FAB auth manager openapi spec
fab_auth_manager_app = FabAuthManager().get_fastapi_app()
if fab_auth_manager_app:
generate_openapi_file(app=fab_auth_manager_app, file_path=FAB_AUTH_MANAGER_OPENAPI_SPEC_FILE)
generate_openapi_file(
app=fab_auth_manager_app, file_path=FAB_AUTH_MANAGER_OPENAPI_SPEC_FILE, prefix="/auth"
)
validate_openapi_file(FAB_AUTH_MANAGER_OPENAPI_SPEC_FILE)
else:
console.print("[red]FAB auth manager app not found. Skipping OpenAPI spec generation.[/]")
Expand Down