Browse Source

Update test_application.py

pull/13713/head
Carlos Mario Toro 2 days ago
committed by GitHub
parent
commit
39db7382c9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      tests/test_application.py

4
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": {

Loading…
Cancel
Save