mirror of https://github.com/tiangolo/fastapi.git
📝 Fix example of license identifier in documentation (#14492)
Co-authored-by: svlandeg <svlandeg@github.com>
This commit is contained in:
parent
a4297066c2
commit
3ee652dd0c
|
|
@ -28,7 +28,7 @@ app = FastAPI(
|
|||
},
|
||||
license_info={
|
||||
"name": "Apache 2.0",
|
||||
"identifier": "MIT",
|
||||
"identifier": "Apache-2.0",
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ def test_openapi_schema():
|
|||
},
|
||||
"license": {
|
||||
"name": "Apache 2.0",
|
||||
"identifier": "MIT",
|
||||
"identifier": "Apache-2.0",
|
||||
},
|
||||
"version": "0.0.1",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue