Closed y9san9 closed 4 years ago
This can create bugs of you define multiple ones with the same name, i have to rework the tag system if you want to be able to define them like that.
Thanks, I have checked first reply and now I've reworked my tags with enums. That's better and it's not important to implement my way of creating tags
inline fun NormalOpenAPIRoute.tag(name: String = "", description: String = "", crossinline fn: NormalOpenAPIRoute.() -> Unit) { tag(object : APITag { override val description = description override val name = name }, fn) }
Sorry now I have a little bit time to create PM. You can add this code to create tags with name and description instead of implementing interface (or write if this functionality already exists)