Carlos Mario Toro
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
tests/test_application.py
|
|
@ -58,6 +58,10 @@ def test_openapi_schema(): |
|
|
|
assert response.json() == { |
|
|
|
"openapi": "3.1.0", |
|
|
|
"info": {"title": "FastAPI", "version": "0.1.0"}, |
|
|
|
"externalDocs": { |
|
|
|
"description": "External API documentation.", |
|
|
|
"url": "https://docs.example.com/api-general", |
|
|
|
}, |
|
|
|
"paths": { |
|
|
|
"/api_route": { |
|
|
|
"get": { |
|
|
|