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

Schema  Swagger 2.0
  components                       2, 0 operations
  inline objects / enums           0 / 2, nesting depth 0
  shared property names            1 (status x2)
  inline names = component names   0
  repeated inline objects / enums  0 of 0 shapes / 0 of 0 value sets
  titled components                0: 0 shared titles (none), 0 equal another key, 0 equal their own key
  inline titles                    0 objects, most repeated 0 (none)
  unions                           0 oneOf/anyOf, 0 with a discriminator, 0 inline variants
  union branch tags                0 tagged, 0 single required key, 0 tagged only through allOf $ref, 0 copy their parent
  component keys                   PascalCase (2 of 2); 0 dotted in 0 namespaces
  constraint keywords              uniqueItems 0, patternProperties 0 (0 beyond a typed map), multipleOf 0, OpenAPI 3.0 nullable 0, boolean exclusive bounds 0
  formats                          0 (none), decimal 0; int32/int64 0, ranges not enforced
  integer/number/boolean schemas   0
  root schema                      object model 0, title words 0

Start from  --preset standard-py314-20261027

Add (1 option)
  --naming-strategy full-path   [naming.qualify-shared-inline-names]
      Inline schemas under different parents share property names (names: 1, e.g. status x2; inline
      names equal to a component name: 0). Numbered names (Status, Status1) depend on parse order
      and shift when the schema grows; full-path names each inline model after its parent.
      measured: GitHub REST API description: numbered names 663 -> 53; locations renamed between two
      versions 17% -> 0.0%
      measured: Petstore: Status and Status1 became OrderStatus and PetStatus
      measured: Stripe API description: the expandable ID string of charge no longer displaces the
      charge component (ChargeModel)
      measured: SchemaStore workflow and tsconfig schemas: full-path doubled or lengthened names and
      lost

Notes
  - The rules were calibrated on the 20261017 presets.

Command
  datamodel-codegen --input swagger.yaml --input-file-type jsonschema --naming-strategy full-path --preset standard-py314-20261027 --target-python-version 3.14

pyproject.toml
  [tool.datamodel-codegen]
  input = "swagger.yaml"
  input-file-type = "jsonschema"
  naming-strategy = "full-path"
  preset = "standard-py314-20261027"
  target-python-version = "3.14"
