Browse Source

📝 Fix example of license identifier in documentation (#14492)

Co-authored-by: svlandeg <[email protected]>
pull/14816/head
johnson-earls 4 months ago
committed by GitHub
parent
commit
3ee652dd0c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs_src/metadata/tutorial001_1_py39.py
  2. 2
      tests/test_tutorial/test_metadata/test_tutorial001_1.py

2
docs_src/metadata/tutorial001_1_py39.py

@ -28,7 +28,7 @@ app = FastAPI(
},
license_info={
"name": "Apache 2.0",
"identifier": "MIT",
"identifier": "Apache-2.0",
},
)

2
tests/test_tutorial/test_metadata/test_tutorial001_1.py

@ -28,7 +28,7 @@ def test_openapi_schema():
},
"license": {
"name": "Apache 2.0",
"identifier": "MIT",
"identifier": "Apache-2.0",
},
"version": "0.0.1",
},

Loading…
Cancel
Save