Skip to content

[BUG] Wrong generated import path for python-experimental generator #12986

@MRuecklCC

Description

@MRuecklCC

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • 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

Generating code for this spec with the python-experimental generator results in import errors from the generated code.

Actual output:
image

Expected Output:
from edu_sharing_client.api.admin_v1_endpoints.add_application import ...

openapi-generator version

6.1.0-SNAPSHOT

OpenAPI declaration file content or url

https://github.com/MRuecklCC/edu-sharing-client-python/blob/main/edu-sharing-api.json

Generation Details

Tested with both the npm package, and latest docker image

Steps to reproduce
Suggest a fix

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