Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/partial-fastapi-json/latest.json
Source https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/partial-fastapi.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

entrypoint string

Import string entrypoint for the FastAPI application, in the format:

importable.module:attribute

For example, for an app like:

from fastapi import FastAPI

app = FastAPI()

in a file at backend/main.py the config could look like:

[tool.fastapi]
entrypoint = "backend.main:app"

Docs: https://fastapi.tiangolo.com/fastapi-cli/

Examples: "main:app", "backend.main:app"