Option recommendations (experimental; quick mode; rules 2026-10-19)

Schema  not analysed (graphql input)

Start from  --preset standard-py310-20261027

Add  nothing on top of the preset

Notes
  - Target Python is not set: the recommendation assumes 3.10, the default. Set
    --target-python-version to start from the preset of the Python version the project runs.
  - Only the preset is recommended: schema rules are not available for graphql input; the rules
    cover OpenAPI, AsyncAPI, and JSON Schema documents.

Command
  datamodel-codegen --input simple-star-wars.graphql --input-file-type graphql --preset standard-py310-20261027

pyproject.toml
  [tool.datamodel-codegen]
  input = "simple-star-wars.graphql"
  input-file-type = "graphql"
  preset = "standard-py310-20261027"
