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
Additional context
As a side note, we are using OpenApiGenerator to generate TypeScript client from the OpenAPI schema, and now the client code has method return types object instead of previous void.
The text was updated successfully, but these errors were encountered:
Describe the bug
With upgrade from
2.6.0
to2.7.0
we experience unexpected changes to generated schema -Unit
Kotlin return type appears in the schema.To Reproduce
Consider Spring REST Controller method like this:
In
2.6.0
, the schema was generated correctly, in our opinion:In
2.7.0
, however, the extra type is generated:Additional context
As a side note, we are using OpenApiGenerator to generate TypeScript client from the OpenAPI schema, and now the client code has method return types
object
instead of previousvoid
.The text was updated successfully, but these errors were encountered: