Description for API Key Security Scheme
pomaretta opened this issue · comments
Show a short description or tip for help the user enter correctly the API Key.
This is now supported but not used.
Current:
// APIKeyAuth creates an api key auth security scheme
func APIKeyAuth(fieldName, valueSource) *SecurityScheme {
return &SecurityScheme{SecuritySchemeProps: SecuritySchemeProps{Type: apiKey, Name: fieldName, In: valueSource}}
}
Maybe is not common to show up a description for API Key authentication, but the current implementation does not allow to use it.