-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We have entities with hundreds of properties and different classes and the DSL is basically not usable like this. I need to manually add all classes to the components.
components {
schema<PartnerJourneyStatus>()
schema<Step>()
schema<ErrorResponse>()
schema<...>()
schema<...>()
securityScheme("ottoApi") {
type(SecurityScheme.Type.OAUTH2)
flows { clientCredentials { tokenUrl("https://api.otto.de/oauth2/token") } }
}
}
It would be nice if using
responses {
response("500") {
content {
mediaTypeRef<ErrorResponse>("application/json")
}
}
}
automatically add every class recursively to the components.
Metadata
Metadata
Assignees
Labels
No labels