Skip to content

Commit 80b8324

Browse files
committed
fix(api): declare the data license in the OpenAPI document
info.license said MIT, but the API serves the dataset, which is CC BY-SA 4.0; the engine code itself stays MIT. Refs #100
1 parent 986a04a commit 80b8324

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎app/main.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ async def lifespan(_app: FastAPI) -> AsyncIterator[None]:
5050
version=__version__,
5151
description=DESCRIPTION,
5252
lifespan=lifespan,
53-
license_info={"name": "MIT", "url": "https://opensource.org/licenses/MIT"},
53+
# The API serves the dataset, so it carries the data license; the engine code is MIT.
54+
license_info={"name": "CC BY-SA 4.0", "url": "https://creativecommons.org/licenses/by-sa/4.0/"},
5455
contact={"name": "TechAPI", "url": "https://techapi.dev"},
5556
)
5657

0 commit comments

Comments
 (0)