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
@Schema(name="Car")
data classCar1(valp1:String)
@Schema(name="Car")
data classCar2(valp2:String)
This will today generate a single Car schema in the openapi spec (while it seems not deterministic which of both types will be used). So one type is missing in the spec. The generated spec is valid and the generator process finishes with status ok, without any hint that some Schemas were overridden.
A similar issue was solved with #947 . But that fix only considers the name of the type and not the annotated Schema.name override.
Feature description
Consider this situation
This will today generate a single Car schema in the openapi spec (while it seems not deterministic which of both types will be used). So one type is missing in the spec. The generated spec is valid and the generator process finishes with status ok, without any hint that some Schemas were overridden.
A similar issue was solved with #947 . But that fix only considers the name of the type and not the annotated Schema.name override.
It would be good to either:
The text was updated successfully, but these errors were encountered: