![]() ![]() // API Support // // // Apache 2.0 // // localhost:8080 // /api/v1 // BasicAuth // OpenAPI // func main() httputil.HTTPError // /accounts func ( c * Controller) ListAccounts( ctx *gin. Swagger Example API // 1.0 // This is a sample server celler server. state value Initial state for the state machine (default: " "), in root file, in other files collectionFormat value, -cf value Set default collection format (default: "csv ") templateDelims value, -td value Provide custom delimeters for Go template generation. tags value, -t value A comma-separated list of tags to filter the APIs for which the documentation is generated.Special case if the tag is prefixed with the '! ' character then the APIs with that tag will be excluded parseGoList Parse dependency via 'go list ' (default: true) overridesFile value File to read global type overrides from. instanceName value This parameter can be used to name different swagger document instances. requiredByDefault Set validation required for all fields by default (default: false) parseDepth value Dependency parse depth (default: 100) generatedTime Generate timestamp at the top of docs.go, disabled by default (default: false) parseInternal Parse go files in internal packages, disabled by default (default: false) codeExampleFiles value, -cef value Parse folder containing code example files to use for the x-codeSamples extension, disabled by default markdownFiles value, -md value Parse folder containing markdown files to use as description, disabled by default parseDependency, -pd Parse go files inside dependency folder, disabled by default (default: false) parseVendor Parse go files in 'vendor ' folder, disabled by default (default: false) outputTypes value, -ot value Output types of generated files (docs.go, swagger.json, swagger.yaml) like go,json,yaml (default: "go,json,yaml ") output value, -o value Output directory for all the generated files(swagger.json, swagger.yaml and docs.go) (default: "./docs ") propertyStrategy value, -p value Property Naming Strategy like snakecase,camelcase,pascalcase (default: "camelcase ") exclude value Exclude directories and files when searching, comma separated dir value, -d value Directories you want to parse,comma separated and general-info file must be in the first one (default: "./ ") generalInfo value, -g value Go file path in which 'swagger general API Info ' is written (default: "main.go ") Use swaggerignore tag to exclude a fieldĪdd comments to your API source code, See Declarative Comments Format.Use global overrides to support a custom type.Install it on the device you want to print from, and then use it to set up the printer connection. Use swaggertype tag to supported custom type The HP Smart app is the main software for your printer.User defined structure with an array type.This allows you to quickly integrate with an existing Go project (using Swagger UI). We've created a variety of plugins for popular Go web frameworks. Docs To Go-Free Office Suite is a tool that allows you to create and edit text documents in Office and to view PDF documents from your Androids screen. ![]() Swag converts Go annotations to Swagger Documentation 2.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |