mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-24 08:16:11 -04:00
⬆️ Add tests, fix issues and update Pydantic
This commit is contained in:
@@ -81,7 +81,7 @@ openapi_schema = {
|
||||
}
|
||||
|
||||
|
||||
def test_openapi_scheme():
|
||||
def test_openapi_schema():
|
||||
response = client.get("/openapi.json")
|
||||
assert response.status_code == 200
|
||||
assert response.json() == openapi_schema
|
||||
|
||||
Reference in New Issue
Block a user