Open hqsz opened 2 years ago
Is your feature request related to a problem? Please describe. I have below use case
using replaceWithSchema at configuration
init { SpringDocUtils .getConfig() .replaceWithSchema( UserId::class.java, Schema<UserId>().apply { description = "default description" type = "integer" } ) }
but sometimes i need to override schema because it need more detail description
data class TwoUserIds( val userId: UserId, @Schema(description = "detail description", type = "integer") val otherUserId: UserId )
but i couldn't find a way to control annotation processing order.
Describe the solution you'd like
I asked same question at springdoc/springdoc-openapi#1757 but they said it is part of swagger-core 🙏
Is your feature request related to a problem? Please describe. I have below use case
using replaceWithSchema at configuration
but sometimes i need to override schema because it need more detail description
but i couldn't find a way to control annotation processing order.
Describe the solution you'd like