Skip to content

[BUG] [PYTHON] [FAST API] Given supportingFiles-false, APIs still use a not-generated extra_modules.py #23008

Description

@urmichm

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

When setting "supportingFiles" to "false", generated APIs still look for unused and not-generated extra_modules.py

from <SERVICE_NAME>.models.extra_models import TokenModel # noqa: F401
openapi-generator version

7.x

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions