Browse Source

fix: updated the openapi version in intorduced tutorial tests

pull/13434/head
Dale 1 month ago
parent
commit
4e10d03d23
  1. 2
      tests/test_tutorial/test_security/test_tutorial008.py
  2. 2
      tests/test_tutorial/test_security/test_tutorial009.py
  3. 2
      tests/test_tutorial/test_security/test_tutorial010.py

2
tests/test_tutorial/test_security/test_tutorial008.py

@ -5,7 +5,7 @@ from docs_src.security.tutorial008 import app
client = TestClient(app)
openapi_schema = {
"openapi": "3.0.2",
"openapi": "3.1.0",
"info": {"title": "FastAPI", "version": "0.1.0"},
"paths": {
"/health": {

2
tests/test_tutorial/test_security/test_tutorial009.py

@ -8,7 +8,7 @@ from docs_src.security.tutorial009 import app
client = TestClient(app)
openapi_schema = {
"openapi": "3.0.2",
"openapi": "3.1.0",
"info": {"title": "FastAPI", "version": "0.1.0"},
"paths": {
"/users/me": {

2
tests/test_tutorial/test_security/test_tutorial010.py

@ -8,7 +8,7 @@ from docs_src.security.tutorial010 import app
client = TestClient(app)
openapi_schema = {
"openapi": "3.0.2",
"openapi": "3.1.0",
"info": {"title": "FastAPI", "version": "0.1.0"},
"paths": {
"/users/me": {

Loading…
Cancel
Save