-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Describe the bug
Generating code results in incorrect output for services
To Reproduce
- Generate API spec using
openapi-python-generator https://listrr.pro/swagger/v1/swagger.json listrr --use-orjson --formatter none(disabling the formatter is required, as this bug causes generation to break completely) - In the generated service files, check the output types, you should see something like:
() -> listrr.Contracts.Models.ListrrList
() -> listrr.Contracts.Models.API.PagedResponse`1[listrr.Contracts.Models.ListrrList]Expected behavior
The services should use the correct models, e.g. for the above example:
() -> listrrContractsModelsListrrList
() -> listrrContractsModelsAPIPagedResponse1listrrContractsModelsListrrListScreenshots

Metadata
Metadata
Assignees
Labels
No labels