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

OpenAPI generator : Blank enum is not correctly generated #530

Open
AdrienMDevMobile opened this issue Oct 21, 2024 · 1 comment
Open

OpenAPI generator : Blank enum is not correctly generated #530

AdrienMDevMobile opened this issue Oct 21, 2024 · 1 comment

Comments

@AdrienMDevMobile
Copy link

AdrienMDevMobile commented Oct 21, 2024

Blank enum class is not correctly generated for the Kotlin project

The correction can easily be hand made : AdrienMDevMobile/openfoodfactApiKotlin@3c03b41#diff-8c6fe083fc223506054754bf477a90bfd717bd17bdc577d669d1dfaf0a39ef82R29

But I will look at how to not have to hand made fix it and rather fixe directly the openAPI
For instance : https://stackoverflow.com/questions/73244706/spring-boot-openapi-swagger-enums-with-empty-strings-generates-empty-inste

@AdrienMDevMobile
Copy link
Author

This generated error is tightly connected to #522 (comment) because classes using oneOf are the only affected by this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants