Documentation
¶
Index ¶
Constants ¶
View Source
const ( // traditional go-zero info keys ApiInfoTitle = "title" ApiInfoDesc = "desc" ApiInfoVersion = "version" ApiInfoAuthor = "author" ApiInfoEmail = "email" // extended openapi keys // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields ApiInfoServers = "servers" // comma separated urls ApiInfoExternalDocs = "externalDocs" // url ApiInfoTags = "tags" // comma separated string OptionDefault = "default" OptionOptional = "optional" OptionOptions = "options" OptionRange = "range" OptionOmitempty = "omitempty" TagKeyHeader = "header" TagKeyPath = "path" TagKeyForm = "form" TagKeyJson = "json" // https://github.com/go-playground/validator TagKeyValidate = "validate" )
View Source
const ( // https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#dataTypeFormat FormatInt = "int" FormatInt8 = "int8" FormatInt16 = "int16" FormatInt32 = "int32" FormatInt64 = "int64" FormatUint = "uint" FormatUint8 = "uint8" FormatUint16 = "uint16" FormatUint32 = "uint32" FormatUint64 = "uint64" FormatFloat = "float" FormatDouble = "double" FormatByte = "byte" FormatBinary = "binary" FormatDate = "date" FormatDateTime = "date-time" FormatPassword = "password" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.