Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid filename for default class with modelNameSuffix #318

Closed
infomouse opened this issue Oct 6, 2023 · 2 comments
Closed

Invalid filename for default class with modelNameSuffix #318

infomouse opened this issue Oct 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@infomouse
Copy link

infomouse commented Oct 6, 2023

Steps to reproduce:

  1. Set modelNameSuffix (ex. Dto).
  2. Generate code for model used in allOf.
  3. Get interface ModelDto and default class ModelDtoDefault in file ModelDefaultDto.

codegen version: 4.0.2
gradle openapi generator: 7.0.1

source: https://github.com/infomouse/micronaut-openapi-codegen-test

@sschnabe sschnabe self-assigned this Oct 6, 2023
@sschnabe sschnabe added the bug Something isn't working label Oct 6, 2023
sschnabe added a commit that referenced this issue Oct 6, 2023
@sschnabe
Copy link
Member

sschnabe commented Oct 6, 2023

@infomouse can you review the pull request #319 ?

@sschnabe
Copy link
Member

sschnabe commented Oct 6, 2023

And thanks for the excellent bug report!

sschnabe added a commit that referenced this issue Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants