fix: References for for protobuf objects (#466)
This commit is contained in:

committed by
GitHub

parent
592c116c3b
commit
68bae4918e
@ -8,7 +8,7 @@ import kotlin.reflect.KType
|
||||
|
||||
object Helpers {
|
||||
|
||||
private const val COMPONENT_SLUG = "#/components/schemas"
|
||||
const val COMPONENT_SLUG = "#/components/schemas"
|
||||
|
||||
fun KType.getSlug(enrichment: Enrichment? = null) = when (enrichment) {
|
||||
is TypeEnrichment<*> -> getEnrichedSlug(enrichment)
|
||||
|
Reference in New Issue
Block a user