Skip to content

[BUG] [Python][Python-Flask] packageName dots are not replaced to slashes #1899

@Fjolnir-Dvorak

Description

@Fjolnir-Dvorak
openapi-generator version

4.0.0-SNAPSHOT

Description

#####Bug description
Client:
PythonClientCodegen.java line 250-269
PythonFlaskConnectionServerCodegen.java line 47-57
new SupportingFile("asdf.mustache", packageName, "asdf.py"));
instead of
new SupportingFile("asdf.mustache", packageName.replace(".", "/"), "asdf.py"));

Related issues/PRs

#1853 It has to do with this issue because packageName should not exist. Instead invoker-package should be used (as far as I understand the documentation)
#1302 exactly this issue but only reported for the client

Suggest a fix

Pull-request already in work

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