add short tags for summary/description for package goai

This commit is contained in:
John Guo 2021-10-25 10:50:01 +08:00
parent 940dcfb8c4
commit a92c31168a

View File

@ -89,7 +89,9 @@ var (
defaultWriteContentTypes = []string{`application/json`}
shortTypeMapForTag = map[string]string{
"sum": "summary",
"sm": "summary",
"des": "description",
"dc": "description",
}
)