You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] [python-fastapi] fastapiImplementationPackage ignores packageName option in favor of the "openapi_server.impl" default package name #20063
I think the following line within modules\openapi-generator\src\main\java\org\openapitools\codegen\languages\PythonFastAPIServerCodegen.java could fix for that (or the documentation of python-fastapi generator should be adapted):
@OverridepublicvoidprocessOpts() {
super.processOpts();
if (additionalProperties.containsKey(CodegenConstants.PACKAGE_NAME)) {
setPackageName((String) additionalProperties.get(CodegenConstants.PACKAGE_NAME));
}
Activity
wing328 commentedon Nov 8, 2024
can you please file a PR with the suggested fix when you've time?
evelynegroen commentedon Mar 19, 2026
I have the same issue for 7.20.0 (but it was not there in v7.10.0). @andremueller-cosateq Did you already made a PR? And we might see a regression?