-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Description
openapi-generator version
4.0.0-SNAPSHOT
Description
- Have you provided a full/minimal spec to reproduce the issue?
- Any spec. The bug is about additionalProperties.
- What's the version of OpenAPI Generator used?
- 4.0.0-SNAPSHOT
- Have you search for related issues/PRs?
- yes. related, but different:
- What's the actual output vs expected output?
- parameter
--additional-properties= packageName="a.b"
result: directories in the ouput which are named "a.b" and "a/b"
- parameter
#####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
ackintosh