Invalid filename for default class with modelNameSuffix #318

Closed
opened 2023-10-06 13:22:22 +02:00 by infomouse · 2 comments
infomouse commented 2023-10-06 13:22:22 +02:00 (Migrated from github.com)

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

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 commented 2023-10-06 21:01:42 +02:00 (Migrated from github.com)

@infomouse can you review the pull request #319 ?

@infomouse can you review the pull request #319 ?
sschnabe commented 2023-10-06 21:02:10 +02:00 (Migrated from github.com)

And thanks for the excellent bug report!

And thanks for the excellent bug report!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
kokuwaio/micronaut-openapi-codegen#318
No description provided.