SYMBOL INDEX (1274 symbols across 216 files) FILE: cmd/swag/main.go constant searchDirFlag (line 18) | searchDirFlag = "dir" constant excludeFlag (line 19) | excludeFlag = "exclude" constant generalInfoFlag (line 20) | generalInfoFlag = "generalInfo" constant pipeFlag (line 21) | pipeFlag = "pipe" constant propertyStrategyFlag (line 22) | propertyStrategyFlag = "propertyStrategy" constant outputFlag (line 23) | outputFlag = "output" constant outputTypesFlag (line 24) | outputTypesFlag = "outputTypes" constant parseVendorFlag (line 25) | parseVendorFlag = "parseVendor" constant parseDependencyFlag (line 26) | parseDependencyFlag = "parseDependency" constant useStructNameFlag (line 27) | useStructNameFlag = "useStructName" constant parseDependencyLevelFlag (line 28) | parseDependencyLevelFlag = "parseDependencyLevel" constant markdownFilesFlag (line 29) | markdownFilesFlag = "markdownFiles" constant codeExampleFilesFlag (line 30) | codeExampleFilesFlag = "codeExampleFiles" constant parseInternalFlag (line 31) | parseInternalFlag = "parseInternal" constant generatedTimeFlag (line 32) | generatedTimeFlag = "generatedTime" constant requiredByDefaultFlag (line 33) | requiredByDefaultFlag = "requiredByDefault" constant parseDepthFlag (line 34) | parseDepthFlag = "parseDepth" constant instanceNameFlag (line 35) | instanceNameFlag = "instanceName" constant overridesFileFlag (line 36) | overridesFileFlag = "overridesFile" constant parseGoListFlag (line 37) | parseGoListFlag = "parseGoList" constant quietFlag (line 38) | quietFlag = "quiet" constant tagsFlag (line 39) | tagsFlag = "tags" constant parseExtensionFlag (line 40) | parseExtensionFlag = "parseExtension" constant templateDelimsFlag (line 41) | templateDelimsFlag = "templateDelims" constant packageName (line 42) | packageName = "packageName" constant collectionFormatFlag (line 43) | collectionFormatFlag = "collectionFormat" constant packagePrefixFlag (line 44) | packagePrefixFlag = "packagePrefix" constant stateFlag (line 45) | stateFlag = "state" constant parseFuncBodyFlag (line 46) | parseFuncBodyFlag = "parseFuncBody" constant parseGoPackagesFlag (line 47) | parseGoPackagesFlag = "parseGoPackages" function initAction (line 201) | func initAction(ctx *cli.Context) error { function main (line 286) | func main() { FILE: const.go type ConstVariable (line 13) | type ConstVariable struct method VariableName (line 23) | func (cv *ConstVariable) VariableName() string { method nameOverride (line 35) | func (cv *ConstVariable) nameOverride() string { function EvaluateEscapedChar (line 58) | func EvaluateEscapedChar(text string) rune { function EvaluateEscapedString (line 78) | func EvaluateEscapedString(text string) string { function EvaluateDataConversion (line 104) | func EvaluateDataConversion(x any, typeName string) any { function EvaluateUnary (line 388) | func EvaluateUnary(x any, operator token.Token, xtype ast.Expr) (any, as... function EvaluateBinary (line 431) | func EvaluateBinary(x, y any, operator token.Token, xtype, ytype ast.Exp... FILE: enums.go constant enumVarNamesExtension (line 4) | enumVarNamesExtension = "x-enum-varnames" constant enumCommentsExtension (line 5) | enumCommentsExtension = "x-enum-comments" constant enumDescriptionsExtension (line 6) | enumDescriptionsExtension = "x-enum-descriptions" type EnumValue (line 10) | type EnumValue struct FILE: enums_test.go function TestParseGlobalEnums (line 13) | func TestParseGlobalEnums(t *testing.T) { FILE: example/basic/api/api.go function GetStringByInt (line 23) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 46) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 62) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 70) | func AnonymousField() { type Pet3 (line 75) | type Pet3 struct FILE: example/basic/main.go function main (line 24) | func main() { FILE: example/basic/web/handler.go type Pet (line 8) | type Pet struct type Tag (line 21) | type Tag struct type Pet2 (line 27) | type Pet2 struct type APIError (line 32) | type APIError struct type RevValueBase (line 39) | type RevValueBase struct type RevValue (line 46) | type RevValue struct FILE: example/celler/controller/accounts.go method ShowAccount (line 26) | func (c *Controller) ShowAccount(ctx *gin.Context) { method ListAccounts (line 54) | func (c *Controller) ListAccounts(ctx *gin.Context) { method AddAccount (line 77) | func (c *Controller) AddAccount(ctx *gin.Context) { method UpdateAccount (line 113) | func (c *Controller) UpdateAccount(ctx *gin.Context) { method DeleteAccount (line 150) | func (c *Controller) DeleteAccount(ctx *gin.Context) { method UploadAccountImage (line 179) | func (c *Controller) UploadAccountImage(ctx *gin.Context) { FILE: example/celler/controller/admin.go method Auth (line 27) | func (c *Controller) Auth(ctx *gin.Context) { FILE: example/celler/controller/bottles.go method ShowBottle (line 27) | func (c *Controller) ShowBottle(ctx *gin.Context) { method ListBottles (line 54) | func (c *Controller) ListBottles(ctx *gin.Context) { FILE: example/celler/controller/controller.go type Controller (line 4) | type Controller struct function NewController (line 8) | func NewController() *Controller { type Message (line 13) | type Message struct FILE: example/celler/controller/examples.go method PingExample (line 24) | func (c *Controller) PingExample(ctx *gin.Context) { method CalcExample (line 42) | func (c *Controller) CalcExample(ctx *gin.Context) { method PathParamsExample (line 71) | func (c *Controller) PathParamsExample(ctx *gin.Context) { method HeaderExample (line 98) | func (c *Controller) HeaderExample(ctx *gin.Context) { method SecuritiesExample (line 117) | func (c *Controller) SecuritiesExample(ctx *gin.Context) { method AttributeExample (line 138) | func (c *Controller) AttributeExample(ctx *gin.Context) { method PostExample (line 159) | func (c *Controller) PostExample(ctx *gin.Context) { FILE: example/celler/httputil/error.go function NewError (line 6) | func NewError(ctx *gin.Context, status int, err error) { type HTTPError (line 15) | type HTTPError struct FILE: example/celler/main.go function main (line 59) | func main() { function auth (line 99) | func auth() gin.HandlerFunc { FILE: example/celler/model/account.go type Account (line 11) | type Account struct method Insert (line 77) | func (a Account) Insert() (int, error) { method Update (line 97) | func (a Account) Update() error { type AddAccount (line 23) | type AddAccount struct method Validation (line 28) | func (a AddAccount) Validation() error { type UpdateAccount (line 38) | type UpdateAccount struct method Validation (line 43) | func (a UpdateAccount) Validation() error { function AccountsAll (line 53) | func AccountsAll(q string) ([]Account, error) { function AccountOne (line 67) | func AccountOne(id int) (Account, error) { function Delete (line 86) | func Delete(id int) error { FILE: example/celler/model/admin.go type Admin (line 4) | type Admin struct FILE: example/celler/model/bottle.go type Bottle (line 4) | type Bottle struct function BottlesAll (line 11) | func BottlesAll() ([]Bottle, error) { function BottleOne (line 16) | func BottleOne(id int) (*Bottle, error) { FILE: example/go-module-support/docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 42) | func init() { FILE: example/go-module-support/main.go function main (line 23) | func main() { FILE: example/go-module-support/web/handler.go type Pet (line 8) | type Pet struct type Tag (line 21) | type Tag struct type Pet2 (line 27) | type Pet2 struct type APIError (line 32) | type APIError struct type RevValueBase (line 39) | type RevValueBase struct type RevValue (line 46) | type RevValue struct FILE: example/markdown/api/api.go type User (line 9) | type User struct type UsersCollection (line 16) | type UsersCollection type APIError (line 19) | type APIError struct function ListUsers (line 33) | func ListUsers(w http.ResponseWriter, r *http.Request) { function GetUser (line 48) | func GetUser(w http.ResponseWriter, r *http.Request) { function AddUser (line 63) | func AddUser(w http.ResponseWriter, r *http.Request) { function UpdateUser (line 78) | func UpdateUser(w http.ResponseWriter, r *http.Request) { FILE: example/markdown/docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 236) | func init() { FILE: example/markdown/main.go function main (line 30) | func main() { FILE: example/object-map-example/controller/api.go method GetMap (line 14) | func (c *Controller) GetMap(ctx *gin.Context) { FILE: example/object-map-example/controller/controller.go type Controller (line 4) | type Controller struct function NewController (line 8) | func NewController() *Controller { FILE: example/object-map-example/controller/response.go type Response (line 3) | type Response struct type Data (line 9) | type Data struct FILE: example/object-map-example/docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 100) | func init() { FILE: example/object-map-example/main.go function main (line 22) | func main() { FILE: example/override/docs/docs.go constant docTemplate (line 7) | docTemplate = `{ function init (line 87) | func init() { FILE: example/override/handler.go type ProductUpdates (line 9) | type ProductUpdates struct function UpdateProduct (line 23) | func UpdateProduct(w http.ResponseWriter, r *http.Request) { FILE: example/override/main.go function main (line 22) | func main() { FILE: field_parser.go constant requiredLabel (line 19) | requiredLabel = "required" constant optionalLabel (line 20) | optionalLabel = "optional" constant omitEmptyLabel (line 21) | omitEmptyLabel = "omitempty" constant swaggerTypeTag (line 22) | swaggerTypeTag = "swaggertype" constant swaggerIgnoreTag (line 23) | swaggerIgnoreTag = "swaggerignore" type tagBaseFieldParser (line 26) | type tagBaseFieldParser struct method ShouldSkip (line 45) | func (ps *tagBaseFieldParser) ShouldSkip() bool { method FieldNames (line 69) | func (ps *tagBaseFieldParser) FieldNames() ([]string, error) { method FirstTagValue (line 103) | func (ps *tagBaseFieldParser) FirstTagValue(tag string) string { method FormName (line 110) | func (ps *tagBaseFieldParser) FormName() string { method QueryName (line 114) | func (ps *tagBaseFieldParser) QueryName() string { method HeaderName (line 118) | func (ps *tagBaseFieldParser) HeaderName() string { method PathName (line 122) | func (ps *tagBaseFieldParser) PathName() string { method ParamName (line 126) | func (ps *tagBaseFieldParser) ParamName() string { method CustomSchema (line 170) | func (ps *tagBaseFieldParser) CustomSchema() (*spec.Schema, error) { method ComplementSchema (line 252) | func (ps *tagBaseFieldParser) ComplementSchema(schema *spec.Schema) er... method complementSchema (line 274) | func (ps *tagBaseFieldParser) complementSchema(schema *spec.Schema, ty... method IsRequired (line 519) | func (ps *tagBaseFieldParser) IsRequired() (bool, error) { function newTagBaseFieldParser (line 32) | func newTagBaseFieldParser(p *Parser, field *ast.Field) FieldParser { function toSnakeCase (line 130) | func toSnakeCase(in string) string { function toLowerCamelCase (line 149) | func toLowerCamelCase(in string) string { type structField (line 183) | type structField struct method setOneOf (line 617) | func (sf *structField) setOneOf(valValue string) { method setMin (line 638) | func (sf *structField) setMin(valValue string) { method setMax (line 656) | func (sf *structField) setMax(valValue string) { function splitNotWrapped (line 203) | func splitNotWrapped(s string, sep rune) []string { function getFloatTag (line 491) | func getFloatTag(structTag reflect.StructTag, tagName string) (*float64,... function getIntTag (line 505) | func getIntTag(structTag reflect.StructTag, tagName string) (*int64, err... function parseValidTags (line 560) | func parseValidTags(validTag string, sf *structField) { function parseEnumTags (line 597) | func parseEnumTags(enumTag string, field *structField) error { constant utf8HexComma (line 675) | utf8HexComma = "0x2C" constant utf8Pipe (line 676) | utf8Pipe = "0x7C" function parseOneOfParam2 (line 686) | func parseOneOfParam2(param string) []string { FILE: field_parser_test.go function TestDefaultFieldParser (line 11) | func TestDefaultFieldParser(t *testing.T) { function TestValidTags (line 437) | func TestValidTags(t *testing.T) { FILE: format/format.go type Format (line 19) | type Format struct method Build (line 49) | func (f *Format) Build(config *Config) error { method excludeDir (line 89) | func (f *Format) excludeDir(path string) bool { method excludeFile (line 95) | func (f *Format) excludeFile(path string) bool { method format (line 101) | func (f *Format) format(path string) error { method Run (line 142) | func (f *Format) Run(src io.Reader, dst io.Writer) error { function New (line 27) | func New() *Format { type Config (line 35) | type Config struct function write (line 119) | func write(path string, contents []byte) error { FILE: format/format_test.go function TestFormat_Format (line 12) | func TestFormat_Format(t *testing.T) { function TestFormat_PermissionsPreserved (line 19) | func TestFormat_PermissionsPreserved(t *testing.T) { function TestFormat_ExcludeDir (line 32) | func TestFormat_ExcludeDir(t *testing.T) { function TestFormat_ExcludeFile (line 41) | func TestFormat_ExcludeFile(t *testing.T) { function TestFormat_DefaultExcludes (line 50) | func TestFormat_DefaultExcludes(t *testing.T) { function TestFormat_ParseError (line 57) | func TestFormat_ParseError(t *testing.T) { function TestFormat_ReadError (line 64) | func TestFormat_ReadError(t *testing.T) { function TestFormat_WriteError (line 70) | func TestFormat_WriteError(t *testing.T) { function TestFormat_InvalidSearchDir (line 77) | func TestFormat_InvalidSearchDir(t *testing.T) { type fixture (line 82) | type fixture struct method isFormatted (line 104) | func (fx *fixture) isFormatted(file string) bool { function setup (line 87) | func setup(t *testing.T) *fixture { function permissionsEqual (line 112) | func permissionsEqual(t *testing.T, path string, expectedMode os.FileMod... FILE: formatter.go type Formatter (line 36) | type Formatter struct method Format (line 51) | func (f *Formatter) Format(fileName string, contents []byte) ([]byte, ... function NewFormatter (line 42) | func NewFormatter() *Formatter { type edit (line 86) | type edit struct type edits (line 92) | type edits method apply (line 94) | func (edits edits) apply(contents []byte) []byte { function formatFuncDoc (line 112) | func formatFuncDoc(fileSet *token.FileSet, commentList []*ast.Comment, e... function splitComment2 (line 155) | func splitComment2(attr, body string) string { function replaceRange (line 181) | func replaceRange(s string, start, end int, new string) string { function swagComment (line 187) | func swagComment(comment string) (string, string, bool) { FILE: formatter_test.go constant SearchDir (line 10) | SearchDir = "./testdata/format_test" constant Excludes (line 11) | Excludes = "./testdata/format_test/web" constant MainFile (line 12) | MainFile = "main.go" function testFormat (line 15) | func testFormat(t *testing.T, filename, contents, want string) { function Test_FormatMain (line 21) | func Test_FormatMain(t *testing.T) { function Test_FormatMultipleFunctions (line 114) | func Test_FormatMultipleFunctions(t *testing.T) { function Test_FormatApi (line 145) | func Test_FormatApi(t *testing.T) { function Test_NonSwagComment (line 184) | func Test_NonSwagComment(t *testing.T) { function Test_EmptyComment (line 204) | func Test_EmptyComment(t *testing.T) { function Test_AlignAttribute (line 218) | func Test_AlignAttribute(t *testing.T) { function Test_SyntaxError (line 233) | func Test_SyntaxError(t *testing.T) { function Test_splitComment2 (line 241) | func Test_splitComment2(t *testing.T) { function Test_FormatSkipGeneratedFile (line 283) | func Test_FormatSkipGeneratedFile(t *testing.T) { FILE: gen/gen.go constant DefaultOverridesFile (line 28) | DefaultOverridesFile = ".swaggo" type genTypeWriter (line 30) | type genTypeWriter type Gen (line 33) | type Gen struct method Build (line 161) | func (g *Gen) Build(config *Config) error { method writeDocSwagger (line 255) | func (g *Gen) writeDocSwagger(config *Config, swagger *spec.Swagger) e... method writeJSONSwagger (line 298) | func (g *Gen) writeJSONSwagger(config *Config, swagger *spec.Swagger) ... method writeYAMLSwagger (line 326) | func (g *Gen) writeYAMLSwagger(config *Config, swagger *spec.Swagger) ... method writeFile (line 359) | func (g *Gen) writeFile(b []byte, file string) error { method formatSource (line 372) | func (g *Gen) formatSource(src []byte) []byte { method writeGoDoc (line 426) | func (g *Gen) writeGoDoc(packageName string, output io.Writer, swagger... type Debugger (line 42) | type Debugger interface function New (line 47) | func New() *Gen { type Config (line 68) | type Config struct function parseOverrides (line 382) | func parseOverrides(r io.Reader) (map[string]string, error) { FILE: gen/gen_test.go constant searchDir (line 23) | searchDir = "../testdata/simple" function TestGen_Build (line 27) | func TestGen_Build(t *testing.T) { function TestGen_SpecificOutputTypes (line 51) | func TestGen_SpecificOutputTypes(t *testing.T) { function TestGen_BuildInstanceName (line 84) | func TestGen_BuildInstanceName(t *testing.T) { function TestGen_BuildSnakeCase (line 156) | func TestGen_BuildSnakeCase(t *testing.T) { function TestGen_BuildLowerCamelcase (line 181) | func TestGen_BuildLowerCamelcase(t *testing.T) { function TestGen_BuildDescriptionWithQuotes (line 206) | func TestGen_BuildDescriptionWithQuotes(t *testing.T) { function TestGen_BuildDocCustomDelims (line 264) | func TestGen_BuildDocCustomDelims(t *testing.T) { function TestGen_jsonIndent (line 325) | func TestGen_jsonIndent(t *testing.T) { function TestGen_jsonToYAML (line 342) | func TestGen_jsonToYAML(t *testing.T) { function TestGen_SearchDirIsNotExist (line 371) | func TestGen_SearchDirIsNotExist(t *testing.T) { function TestGen_MainAPiNotExist (line 385) | func TestGen_MainAPiNotExist(t *testing.T) { function TestGen_OutputIsNotExist (line 399) | func TestGen_OutputIsNotExist(t *testing.T) { function TestGen_FailToWrite (line 411) | func TestGen_FailToWrite(t *testing.T) { function TestGen_configWithOutputDir (line 459) | func TestGen_configWithOutputDir(t *testing.T) { function TestGen_configWithOutputTypesAll (line 484) | func TestGen_configWithOutputTypesAll(t *testing.T) { function TestGen_configWithOutputTypesSingle (line 512) | func TestGen_configWithOutputTypesSingle(t *testing.T) { function TestGen_formatSource (line 545) | func TestGen_formatSource(t *testing.T) { type mockWriter (line 569) | type mockWriter struct method Write (line 573) | func (w *mockWriter) Write(data []byte) (int, error) { function TestGen_writeGoDoc (line 581) | func TestGen_writeGoDoc(t *testing.T) { function TestGen_GeneratedDoc (line 621) | func TestGen_GeneratedDoc(t *testing.T) { function TestGen_cgoImports (line 657) | func TestGen_cgoImports(t *testing.T) { function TestGen_parseOverrides (line 683) | func TestGen_parseOverrides(t *testing.T) { function TestGen_TypeOverridesFile (line 754) | func TestGen_TypeOverridesFile(t *testing.T) { function TestGen_Debugger (line 829) | func TestGen_Debugger(t *testing.T) { function TestGen_ErrorAndInterface (line 857) | func TestGen_ErrorAndInterface(t *testing.T) { function TestGen_StateAdmin (line 899) | func TestGen_StateAdmin(t *testing.T) { function TestGen_StateUser (line 938) | func TestGen_StateUser(t *testing.T) { FILE: generics.go type genericTypeSpec (line 13) | type genericTypeSpec struct method TypeName (line 23) | func (t *genericTypeSpec) TypeName() string { type formalParamType (line 18) | type formalParamType struct function normalizeGenericTypeName (line 30) | func normalizeGenericTypeName(name string) string { method getTypeFromGenericParam (line 34) | func (pkgDefs *PackagesDefinitions) getTypeFromGenericParam(genericParam... method parametrizeGenericType (line 113) | func (pkgDefs *PackagesDefinitions) parametrizeGenericType(file *ast.Fil... function splitGenericsTypeName (line 206) | func splitGenericsTypeName(fullGenericForm string) (string, []string) { method getParametrizedType (line 246) | func (pkgDefs *PackagesDefinitions) getParametrizedType(genTypeSpec *gen... method resolveGenericType (line 259) | func (pkgDefs *PackagesDefinitions) resolveGenericType(file *ast.File, e... function getExtendedGenericFieldType (line 316) | func getExtendedGenericFieldType(file *ast.File, field ast.Expr, generic... function getGenericFieldType (line 344) | func getGenericFieldType(file *ast.File, field ast.Expr, genericParamTyp... function getGenericTypeName (line 395) | func getGenericTypeName(file *ast.File, field ast.Expr) (string, error) { method parseGenericTypeExpr (line 421) | func (parser *Parser) parseGenericTypeExpr(file *ast.File, typeExpr ast.... FILE: generics_test.go type testLogger (line 14) | type testLogger struct method Printf (line 18) | func (t *testLogger) Printf(format string, v ...interface{}) { function TestParseGenericsBasic (line 22) | func TestParseGenericsBasic(t *testing.T) { function TestParseGenericsArrays (line 43) | func TestParseGenericsArrays(t *testing.T) { function TestParseGenericsNested (line 59) | func TestParseGenericsNested(t *testing.T) { function TestParseGenericsMultiLevelNesting (line 74) | func TestParseGenericsMultiLevelNesting(t *testing.T) { function TestParseGenericsProperty (line 89) | func TestParseGenericsProperty(t *testing.T) { function TestParseGenericsNames (line 104) | func TestParseGenericsNames(t *testing.T) { function TestParseGenericsPackageAlias (line 119) | func TestParseGenericsPackageAlias(t *testing.T) { function TestParseGenericsFunctionScoped (line 134) | func TestParseGenericsFunctionScoped(t *testing.T) { function TestParametrizeStruct (line 150) | func TestParametrizeStruct(t *testing.T) { function TestSplitGenericsTypeNames (line 223) | func TestSplitGenericsTypeNames(t *testing.T) { function TestGetGenericFieldType (line 251) | func TestGetGenericFieldType(t *testing.T) { function TestGetGenericTypeName (line 354) | func TestGetGenericTypeName(t *testing.T) { function TestParseGenericTypeExpr (line 383) | func TestParseGenericTypeExpr(t *testing.T) { FILE: golist.go function listPackages (line 14) | func listPackages(ctx context.Context, dirs []string, env []string, args... function listOnePackages (line 43) | func listOnePackages(ctx context.Context, dir string, env []string, args... method getAllGoFileInfoFromDepsByList (line 80) | func (parser *Parser) getAllGoFileInfoFromDepsByList(pkg *build.Package,... FILE: golist_test.go function TestListPackages (line 15) | func TestListPackages(t *testing.T) { function TestGetAllGoFileInfoFromDepsByList (line 55) | func TestGetAllGoFileInfoFromDepsByList(t *testing.T) { FILE: operation.go type RouteProperties (line 21) | type RouteProperties struct type Operation (line 29) | type Operation struct method ParseComment (line 111) | func (operation *Operation) ParseComment(comment string, astFile *ast.... method ParseCodeSample (line 170) | func (operation *Operation) ParseCodeSample(attribute, _, lineRemainde... method ParseStateComment (line 195) | func (operation *Operation) ParseStateComment(lineRemainder string) { method ParseDescriptionComment (line 200) | func (operation *Operation) ParseDescriptionComment(lineRemainder stri... method ParseMetadata (line 211) | func (operation *Operation) ParseMetadata(attribute, lowerAttribute, l... method ParseParamComment (line 250) | func (operation *Operation) ParseParamComment(commentLine string, astF... method parseParamAttribute (line 470) | func (operation *Operation) parseParamAttribute(comment, objectType, s... method ParseTagsComment (line 691) | func (operation *Operation) ParseTagsComment(commentLine string) { method ParseAcceptComment (line 698) | func (operation *Operation) ParseAcceptComment(commentLine string) err... method ParseProduceComment (line 703) | func (operation *Operation) ParseProduceComment(commentLine string) er... method ParseRouterComment (line 732) | func (operation *Operation) ParseRouterComment(commentLine string, dep... method ParseSecurityComment (line 754) | func (operation *Operation) ParseSecurityComment(commentLine string) e... method parseObjectSchema (line 854) | func (operation *Operation) parseObjectSchema(refType string, astFile ... method parseAPIObjectSchema (line 975) | func (operation *Operation) parseAPIObjectSchema(commentLine, schemaTy... method ParseResponseComment (line 1007) | func (operation *Operation) ParseResponseComment(commentLine string, a... method ParseResponseHeaderComment (line 1077) | func (operation *Operation) ParseResponseHeaderComment(commentLine str... method ParseEmptyResponseComment (line 1132) | func (operation *Operation) ParseEmptyResponseComment(commentLine stri... method ParseEmptyResponseOnly (line 1159) | func (operation *Operation) ParseEmptyResponseOnly(commentLine string)... method DefaultResponse (line 1179) | func (operation *Operation) DefaultResponse() *spec.Response { method AddResponse (line 1193) | func (operation *Operation) AddResponse(code int, response *spec.Respo... function NewOperation (line 58) | func NewOperation(parser *Parser, options ...func(*Operation)) *Operation { function SetCodeExampleFilesDirectory (line 104) | func SetCodeExampleFilesDirectory(directoryPath string) func(*Operation) { function findInSlice (line 234) | func findInSlice(arr []string, target string) bool { constant formTag (line 421) | formTag = "form" constant jsonTag (line 422) | jsonTag = "json" constant uriTag (line 423) | uriTag = "uri" constant headerTag (line 424) | headerTag = "header" constant queryTag (line 425) | queryTag = "query" constant paramTag (line 426) | paramTag = "param" constant bindingTag (line 427) | bindingTag = "binding" constant defaultTag (line 428) | defaultTag = "default" constant enumsTag (line 429) | enumsTag = "enums" constant exampleTag (line 430) | exampleTag = "example" constant schemaExampleTag (line 431) | schemaExampleTag = "schemaExample" constant formatTag (line 432) | formatTag = "format" constant titleTag (line 433) | titleTag = "title" constant validateTag (line 434) | validateTag = "validate" constant minimumTag (line 435) | minimumTag = "minimum" constant maximumTag (line 436) | maximumTag = "maximum" constant minLengthTag (line 437) | minLengthTag = "minLength" constant maxLengthTag (line 438) | maxLengthTag = "maxLength" constant multipleOfTag (line 439) | multipleOfTag = "multipleOf" constant readOnlyTag (line 440) | readOnlyTag = "readonly" constant extensionsTag (line 441) | extensionsTag = "extensions" constant collectionFormatTag (line 442) | collectionFormatTag = "collectionFormat" function findAttr (line 508) | func findAttr(re *regexp.Regexp, commentLine string) (string, error) { function setStringParam (line 519) | func setStringParam(param *spec.Parameter, name, schemaType, attr, comme... function setNumberParam (line 539) | func setNumberParam(param *spec.Parameter, name, schemaType, attr, comme... function setEnumParam (line 560) | func setEnumParam(param *spec.Parameter, attr, objectType, schemaType, p... function setExtensionParam (line 585) | func setExtensionParam(attr string) spec.Extensions { function setCollectionFormatParam (line 608) | func setCollectionFormatParam(param *spec.Parameter, name, schemaType, a... function setDefault (line 618) | func setDefault(param *spec.Parameter, schemaType string, value string) ... function setSchemaExample (line 629) | func setSchemaExample(param *spec.Parameter, schemaType string, value st... function setExample (line 650) | func setExample(param *spec.Parameter, schemaType string, value string) ... function defineType (line 662) | func defineType(schemaType string, value string) (v any, err error) { function parseMimeTypeList (line 710) | func parseMimeTypeList(mimeTypeList string, typeList *[]string, format s... function findTypeDef (line 795) | func findTypeDef(importPath, typeName string) (*ast.TypeSpec, error) { function parseObjectSchema (line 858) | func parseObjectSchema(parser *Parser, refType string, astFile *ast.File... function parseFields (line 911) | func parseFields(s string) []string { function parseCombinedObjectSchema (line 929) | func parseCombinedObjectSchema(parser *Parser, refType string, astFile *... function newHeaderSpec (line 1048) | func newHeaderSpec(schemaType, description string) spec.Header { function createParameter (line 1202) | func createParameter(paramType, description, paramName, objectType, sche... function getCodeExampleForSummary (line 1238) | func getCodeExampleForSummary(summaryName string, dirPath string) ([]byt... FILE: operation_test.go function TestParseEmptyComment (line 17) | func TestParseEmptyComment(t *testing.T) { function TestParseTagsComment (line 26) | func TestParseTagsComment(t *testing.T) { function TestParseAcceptComment (line 35) | func TestParseAcceptComment(t *testing.T) { function TestParseAcceptCommentErr (line 60) | func TestParseAcceptCommentErr(t *testing.T) { function TestParseProduceComment (line 69) | func TestParseProduceComment(t *testing.T) { function TestParseProduceCommentErr (line 97) | func TestParseProduceCommentErr(t *testing.T) { function TestParseRouterComment (line 105) | func TestParseRouterComment(t *testing.T) { function TestParseRouterMultipleComments (line 122) | func TestParseRouterMultipleComments(t *testing.T) { function TestParseRouterOnlySlash (line 142) | func TestParseRouterOnlySlash(t *testing.T) { function TestParseRouterCommentWithPlusSign (line 154) | func TestParseRouterCommentWithPlusSign(t *testing.T) { function TestParseRouterCommentWithDollarSign (line 166) | func TestParseRouterCommentWithDollarSign(t *testing.T) { function TestParseRouterCommentWithParens (line 178) | func TestParseRouterCommentWithParens(t *testing.T) { function TestParseRouterCommentNoDollarSignAtPathStartErr (line 190) | func TestParseRouterCommentNoDollarSignAtPathStartErr(t *testing.T) { function TestParseRouterCommentWithColonSign (line 199) | func TestParseRouterCommentWithColonSign(t *testing.T) { function TestParseRouterCommentNoColonSignAtPathStartErr (line 211) | func TestParseRouterCommentNoColonSignAtPathStartErr(t *testing.T) { function TestParseRouterCommentWithTilde (line 220) | func TestParseRouterCommentWithTilde(t *testing.T) { function TestParseRouterCommentWithAt (line 229) | func TestParseRouterCommentWithAt(t *testing.T) { function TestParseRouterCommentMethodSeparationErr (line 238) | func TestParseRouterCommentMethodSeparationErr(t *testing.T) { function TestParseRouterCommentMethodMissingErr (line 247) | func TestParseRouterCommentMethodMissingErr(t *testing.T) { function TestOperation_ParseResponseWithDefault (line 256) | func TestOperation_ParseResponseWithDefault(t *testing.T) { function TestParseResponseSuccessCommentWithEmptyResponse (line 277) | func TestParseResponseSuccessCommentWithEmptyResponse(t *testing.T) { function TestParseResponseFailureCommentWithEmptyResponse (line 300) | func TestParseResponseFailureCommentWithEmptyResponse(t *testing.T) { function TestParseResponseCommentWithObjectType (line 320) | func TestParseResponseCommentWithObjectType(t *testing.T) { function TestParseResponseCommentWithNestedPrimitiveType (line 348) | func TestParseResponseCommentWithNestedPrimitiveType(t *testing.T) { function TestParseResponseCommentWithNestedPrimitiveArrayType (line 392) | func TestParseResponseCommentWithNestedPrimitiveArrayType(t *testing.T) { function TestParseResponseCommentWithNestedObjectType (line 442) | func TestParseResponseCommentWithNestedObjectType(t *testing.T) { function TestParseResponseCommentWithNestedArrayObjectType (line 487) | func TestParseResponseCommentWithNestedArrayObjectType(t *testing.T) { function TestParseResponseCommentWithNestedFields (line 539) | func TestParseResponseCommentWithNestedFields(t *testing.T) { function TestParseResponseCommentWithDeepNestedFields (line 596) | func TestParseResponseCommentWithDeepNestedFields(t *testing.T) { function TestParseResponseCommentWithNestedArrayMapFields (line 689) | func TestParseResponseCommentWithNestedArrayMapFields(t *testing.T) { function TestParseResponseCommentWithObjectTypeInSameFile (line 751) | func TestParseResponseCommentWithObjectTypeInSameFile(t *testing.T) { function TestParseResponseCommentWithObjectTypeAnonymousField (line 788) | func TestParseResponseCommentWithObjectTypeAnonymousField(t *testing.T) { function TestParseResponseCommentWithObjectTypeErr (line 792) | func TestParseResponseCommentWithObjectTypeErr(t *testing.T) { function TestParseResponseCommentWithArrayType (line 804) | func TestParseResponseCommentWithArrayType(t *testing.T) { function TestParseResponseCommentWithBasicType (line 834) | func TestParseResponseCommentWithBasicType(t *testing.T) { function TestParseResponseCommentWithBasicTypeAndCodes (line 856) | func TestParseResponseCommentWithBasicTypeAndCodes(t *testing.T) { function TestParseEmptyResponseComment (line 890) | func TestParseEmptyResponseComment(t *testing.T) { function TestParseEmptyResponseCommentWithCodes (line 910) | func TestParseEmptyResponseCommentWithCodes(t *testing.T) { function TestParseResponseCommentWithHeader (line 936) | func TestParseResponseCommentWithHeader(t *testing.T) { function TestParseResponseCommentWithHeaderForCodes (line 971) | func TestParseResponseCommentWithHeaderForCodes(t *testing.T) { function TestParseResponseCommentWithHeaderOnlyAll (line 1041) | func TestParseResponseCommentWithHeaderOnlyAll(t *testing.T) { function TestParseEmptyResponseOnlyCode (line 1095) | func TestParseEmptyResponseOnlyCode(t *testing.T) { function TestParseEmptyResponseOnlyCodes (line 1114) | func TestParseEmptyResponseOnlyCodes(t *testing.T) { function TestParseResponseCommentParamMissing (line 1140) | func TestParseResponseCommentParamMissing(t *testing.T) { function TestOperation_ParseParamComment (line 1158) | func TestOperation_ParseParamComment(t *testing.T) { function TestParseParamCommentBodyArray (line 1225) | func TestParseParamCommentBodyArray(t *testing.T) { function TestParseParamCommentArray (line 1255) | func TestParseParamCommentArray(t *testing.T) { function TestParseParamCommentDefaultValue (line 1287) | func TestParseParamCommentDefaultValue(t *testing.T) { function TestParseParamCommentQueryArrayFormat (line 1309) | func TestParseParamCommentQueryArrayFormat(t *testing.T) { function TestParseParamCommentQueryArrayFormatWithStructTag (line 1335) | func TestParseParamCommentQueryArrayFormatWithStructTag(t *testing.T) { function TestParseParamCommentQuerySkipWithStructTag (line 1362) | func TestParseParamCommentQuerySkipWithStructTag(t *testing.T) { function TestParseParamCommentPathWithParamTag (line 1387) | func TestParseParamCommentPathWithParamTag(t *testing.T) { function TestParseParamCommentByID (line 1417) | func TestParseParamCommentByID(t *testing.T) { function TestParseParamCommentWithMultilineDescriptions (line 1438) | func TestParseParamCommentWithMultilineDescriptions(t *testing.T) { function TestParseParamCommentByQueryType (line 1459) | func TestParseParamCommentByQueryType(t *testing.T) { function TestParseParamCommentByBodyType (line 1480) | func TestParseParamCommentByBodyType(t *testing.T) { function TestParseParamCommentByBodyTextPlain (line 1505) | func TestParseParamCommentByBodyTextPlain(t *testing.T) { function TestParseParamCommentByBodyEnumsText (line 1530) | func TestParseParamCommentByBodyEnumsText(t *testing.T) { function TestParseParamCommentByBodyTypeWithDeepNestedFields (line 1559) | func TestParseParamCommentByBodyTypeWithDeepNestedFields(t *testing.T) { function TestParseParamCommentByBodyTypeArrayOfPrimitiveGo (line 1604) | func TestParseParamCommentByBodyTypeArrayOfPrimitiveGo(t *testing.T) { function TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFields (line 1630) | func TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFiel... function TestParseParamCommentByBodyTypeErr (line 1677) | func TestParseParamCommentByBodyTypeErr(t *testing.T) { function TestParseParamCommentByFormDataType (line 1688) | func TestParseParamCommentByFormDataType(t *testing.T) { function TestParseParamCommentByFormDataTypeUint64 (line 1710) | func TestParseParamCommentByFormDataTypeUint64(t *testing.T) { function TestParseParamCommentByNotSupportedType (line 1733) | func TestParseParamCommentByNotSupportedType(t *testing.T) { function TestParseParamCommentNotMatch (line 1743) | func TestParseParamCommentNotMatch(t *testing.T) { function TestParseParamCommentByEnums (line 1753) | func TestParseParamCommentByEnums(t *testing.T) { function TestParseParamCommentByMaxLength (line 1858) | func TestParseParamCommentByMaxLength(t *testing.T) { function TestParseParamCommentByMinLength (line 1886) | func TestParseParamCommentByMinLength(t *testing.T) { function TestParseParamCommentByMinimum (line 1914) | func TestParseParamCommentByMinimum(t *testing.T) { function TestParseParamCommentByMaximum (line 1945) | func TestParseParamCommentByMaximum(t *testing.T) { function TestParseParamCommentByDefault (line 1976) | func TestParseParamCommentByDefault(t *testing.T) { function TestParseParamCommentByExampleInt (line 1998) | func TestParseParamCommentByExampleInt(t *testing.T) { function TestParseParamCommentByExampleString (line 2020) | func TestParseParamCommentByExampleString(t *testing.T) { function TestParseParamCommentByExampleStringComplex (line 2042) | func TestParseParamCommentByExampleStringComplex(t *testing.T) { function TestParseParamCommentByExampleUnsupportedType (line 2064) | func TestParseParamCommentByExampleUnsupportedType(t *testing.T) { function TestParseParamCommentBySchemaExampleString (line 2081) | func TestParseParamCommentBySchemaExampleString(t *testing.T) { function TestParseParamCommentBySchemaExampleUnsupportedType (line 2105) | func TestParseParamCommentBySchemaExampleUnsupportedType(t *testing.T) { function TestParseParamArrayWithEnums (line 2129) | func TestParseParamArrayWithEnums(t *testing.T) { function TestParseAndExtractionParamAttribute (line 2158) | func TestParseAndExtractionParamAttribute(t *testing.T) { function TestParseParamCommentByExtensions (line 2212) | func TestParseParamCommentByExtensions(t *testing.T) { function TestParseParamStructCodeExample (line 2234) | func TestParseParamStructCodeExample(t *testing.T) { function TestParseIdComment (line 2374) | func TestParseIdComment(t *testing.T) { function TestFindTypeDefCoreLib (line 2385) | func TestFindTypeDefCoreLib(t *testing.T) { function TestFindTypeDefExternalPkg (line 2393) | func TestFindTypeDefExternalPkg(t *testing.T) { function TestFindTypeDefInvalidPkg (line 2401) | func TestFindTypeDefInvalidPkg(t *testing.T) { function TestParseSecurityComment (line 2409) | func TestParseSecurityComment(t *testing.T) { function TestParseSecurityCommentSimple (line 2425) | func TestParseSecurityCommentSimple(t *testing.T) { function TestParseSecurityCommentAnd (line 2441) | func TestParseSecurityCommentAnd(t *testing.T) { function TestParseMultiDescription (line 2465) | func TestParseMultiDescription(t *testing.T) { function TestParseDescriptionMarkdown (line 2488) | func TestParseDescriptionMarkdown(t *testing.T) { function TestParseSummary (line 2505) | func TestParseSummary(t *testing.T) { function TestParseDeprecationDescription (line 2519) | func TestParseDeprecationDescription(t *testing.T) { function TestParseExtentions (line 2533) | func TestParseExtentions(t *testing.T) { function TestFindInSlice (line 2588) | func TestFindInSlice(t *testing.T) { function TestParseResponseHeaderComment (line 2597) | func TestParseResponseHeaderComment(t *testing.T) { function TestParseObjectSchema (line 2608) | func TestParseObjectSchema(t *testing.T) { function TestParseCodeSamples (line 2685) | func TestParseCodeSamples(t *testing.T) { function TestParseDeprecatedRouter (line 2734) | func TestParseDeprecatedRouter(t *testing.T) { FILE: package.go type PackageDefinitions (line 13) | type PackageDefinitions struct method AddFile (line 54) | func (pkg *PackageDefinitions) AddFile(pkgPath string, file *ast.File)... method AddTypeSpec (line 60) | func (pkg *PackageDefinitions) AddTypeSpec(name string, typeSpec *Type... method AddConst (line 66) | func (pkg *PackageDefinitions) AddConst(astFile *ast.File, valueSpec *... method evaluateConstValue (line 86) | func (pkg *PackageDefinitions) evaluateConstValue(file *ast.File, iota... type ConstVariableGlobalEvaluator (line 36) | type ConstVariableGlobalEvaluator interface function NewPackageDefinitions (line 43) | func NewPackageDefinitions(name, pkgPath string) *PackageDefinitions { FILE: packages.go type PackagesDefinitions (line 22) | type PackagesDefinitions struct method AddPackages (line 40) | func (pkgDefs *PackagesDefinitions) AddPackages(pkgs []*packages.Packa... method ParseFile (line 59) | func (pkgDefs *PackagesDefinitions) ParseFile(packageDir, path string,... method CollectAstFile (line 70) | func (pkgDefs *PackagesDefinitions) CollectAstFile(fileSet *token.File... method RangeFiles (line 114) | func (pkgDefs *PackagesDefinitions) RangeFiles(handle func(info *AstFi... method ParseTypes (line 141) | func (pkgDefs *PackagesDefinitions) ParseTypes() (map[*TypeSpecDef]*Sc... method parseTypesFromFile (line 153) | func (pkgDefs *PackagesDefinitions) parseTypesFromFile(astFile *ast.Fi... method parseFunctionScopedTypesFromFile (line 218) | func (pkgDefs *PackagesDefinitions) parseFunctionScopedTypesFromFile(a... method collectConstVariables (line 306) | func (pkgDefs *PackagesDefinitions) collectConstVariables(astFile *ast... method evaluateAllConstVariables (line 329) | func (pkgDefs *PackagesDefinitions) evaluateAllConstVariables() { method EvaluateConstValue (line 409) | func (pkgDefs *PackagesDefinitions) EvaluateConstValue(pkg *PackageDef... method EvaluateConstValueByName (line 453) | func (pkgDefs *PackagesDefinitions) EvaluateConstValueByName(file *ast... method collectConstEnums (line 476) | func (pkgDefs *PackagesDefinitions) collectConstEnums(parsedSchemas ma... method removeAllNotUniqueTypes (line 533) | func (pkgDefs *PackagesDefinitions) removeAllNotUniqueTypes() { method findTypeSpec (line 541) | func (pkgDefs *PackagesDefinitions) findTypeSpec(pkgPath string, typeN... method loadExternalPackage (line 557) | func (pkgDefs *PackagesDefinitions) loadExternalPackage(importPath str... method findPackagePathFromImports (line 589) | func (pkgDefs *PackagesDefinitions) findPackagePathFromImports(pkg str... method findTypeSpecFromPackagePaths (line 655) | func (pkgDefs *PackagesDefinitions) findTypeSpecFromPackagePaths(match... method FindTypeSpec (line 681) | func (pkgDefs *PackagesDefinitions) FindTypeSpec(typeName string, file... method CheckTypeSpec (line 757) | func (pkgDefs *PackagesDefinitions) CheckTypeSpec(typeSpecDef *TypeSpe... method checkJSONMarshal (line 778) | func (pkgDefs *PackagesDefinitions) checkJSONMarshal(pkg *packages.Pac... function NewPackagesDefinitions (line 31) | func NewPackagesDefinitions() *PackagesDefinitions { function findFileInPackageByObject (line 337) | func findFileInPackageByObject(pkg *packages.Package, obj types.Object) ... function findFileInPackageByPos (line 341) | func findFileInPackageByPos(pkg *packages.Package, pos token.Pos) *ast.F... function findAstNodeInPackage (line 352) | func findAstNodeInPackage(pkg *packages.Package, obj types.Object) (*ast... function tryParseTypeFromPackage (line 380) | func tryParseTypeFromPackage(pkg *packages.Package, constObj *types.Cons... function findGenericTypeFromPackage (line 733) | func findGenericTypeFromPackage(pkg *packages.Package, pos token.Pos) ty... FILE: packages_test.go function TestPackagesDefinitions_ParseFile (line 13) | func TestPackagesDefinitions_ParseFile(t *testing.T) { function TestPackagesDefinitions_collectAstFile (line 21) | func TestPackagesDefinitions_collectAstFile(t *testing.T) { function TestPackagesDefinitions_rangeFiles (line 55) | func TestPackagesDefinitions_rangeFiles(t *testing.T) { function TestPackagesDefinitions_ParseTypes (line 83) | func TestPackagesDefinitions_ParseTypes(t *testing.T) { function TestPackagesDefinitions_parseFunctionScopedTypesFromFile (line 125) | func TestPackagesDefinitions_parseFunctionScopedTypesFromFile(t *testing... function TestPackagesDefinitions_FindTypeSpec (line 170) | func TestPackagesDefinitions_FindTypeSpec(t *testing.T) { function TestPackage_rangeFiles (line 195) | func TestPackage_rangeFiles(t *testing.T) { function TestPackagesDefinitions_findTypeSpec (line 242) | func TestPackagesDefinitions_findTypeSpec(t *testing.T) { FILE: parser.go constant CamelCase (line 28) | CamelCase = "camelcase" constant PascalCase (line 31) | PascalCase = "pascalcase" constant SnakeCase (line 34) | SnakeCase = "snakecase" constant idAttr (line 36) | idAttr = "@id" constant acceptAttr (line 37) | acceptAttr = "@accept" constant produceAttr (line 38) | produceAttr = "@produce" constant paramAttr (line 39) | paramAttr = "@param" constant successAttr (line 40) | successAttr = "@success" constant failureAttr (line 41) | failureAttr = "@failure" constant responseAttr (line 42) | responseAttr = "@response" constant headerAttr (line 43) | headerAttr = "@header" constant tagsAttr (line 44) | tagsAttr = "@tags" constant routerAttr (line 45) | routerAttr = "@router" constant deprecatedRouterAttr (line 46) | deprecatedRouterAttr = "@deprecatedrouter" constant summaryAttr (line 47) | summaryAttr = "@summary" constant deprecatedAttr (line 48) | deprecatedAttr = "@deprecated" constant securityAttr (line 49) | securityAttr = "@security" constant titleAttr (line 50) | titleAttr = "@title" constant conNameAttr (line 51) | conNameAttr = "@contact.name" constant conURLAttr (line 52) | conURLAttr = "@contact.url" constant conEmailAttr (line 53) | conEmailAttr = "@contact.email" constant licNameAttr (line 54) | licNameAttr = "@license.name" constant licURLAttr (line 55) | licURLAttr = "@license.url" constant versionAttr (line 56) | versionAttr = "@version" constant descriptionAttr (line 57) | descriptionAttr = "@description" constant descriptionMarkdownAttr (line 58) | descriptionMarkdownAttr = "@description.markdown" constant secBasicAttr (line 59) | secBasicAttr = "@securitydefinitions.basic" constant secAPIKeyAttr (line 60) | secAPIKeyAttr = "@securitydefinitions.apikey" constant secApplicationAttr (line 61) | secApplicationAttr = "@securitydefinitions.oauth2.application" constant secImplicitAttr (line 62) | secImplicitAttr = "@securitydefinitions.oauth2.implicit" constant secPasswordAttr (line 63) | secPasswordAttr = "@securitydefinitions.oauth2.password" constant secAccessCodeAttr (line 64) | secAccessCodeAttr = "@securitydefinitions.oauth2.accesscode" constant tosAttr (line 65) | tosAttr = "@termsofservice" constant extDocsDescAttr (line 66) | extDocsDescAttr = "@externaldocs.description" constant extDocsURLAttr (line 67) | extDocsURLAttr = "@externaldocs.url" constant xCodeSamplesAttr (line 68) | xCodeSamplesAttr = "@x-codesamples" constant scopeAttrPrefix (line 69) | scopeAttrPrefix = "@scope." constant stateAttr (line 70) | stateAttr = "@state" type ParseFlag (line 74) | type ParseFlag constant ParseNone (line 78) | ParseNone ParseFlag = 0x00 constant ParseModels (line 80) | ParseModels = 0x01 constant ParseOperations (line 82) | ParseOperations = 0x02 constant ParseAll (line 84) | ParseAll = ParseOperations | ParseModels type Parser (line 112) | type Parser struct method ParseAPI (line 389) | func (parser *Parser) ParseAPI(searchDir string, mainAPIFile string, p... method skipPackageByPrefix (line 395) | func (parser *Parser) skipPackageByPrefix(pkgpath string) bool { method ParseAPIMultiSearchDir (line 408) | func (parser *Parser) ParseAPIMultiSearchDir(searchDirs []string, main... method ParseGeneralAPIInfo (line 529) | func (parser *Parser) ParseGeneralAPIInfo(mainAPIFile string) error { method ParseAcceptComment (line 915) | func (parser *Parser) ParseAcceptComment(commentLine string) error { method ParseProduceComment (line 920) | func (parser *Parser) ParseProduceComment(commentLine string) error { method matchTag (line 1012) | func (parser *Parser) matchTag(tag string) bool { method matchTags (line 1033) | func (parser *Parser) matchTags(comments []*ast.Comment) (match bool) { method ParseRouterAPIInfo (line 1111) | func (parser *Parser) ParseRouterAPIInfo(fileInfo *AstFileInfo) error { method parseRouterAPIInfoComment (line 1141) | func (parser *Parser) parseRouterAPIInfoComment(comments []*ast.Commen... method getTypeSchema (line 1250) | func (parser *Parser) getTypeSchema(typeName string, file *ast.File, r... method getRefTypeSchema (line 1320) | func (parser *Parser) getRefTypeSchema(typeSpecDef *TypeSpecDef, schem... method isInStructStack (line 1337) | func (parser *Parser) isInStructStack(typeSpecDef *TypeSpecDef) bool { method ParseDefinition (line 1350) | func (parser *Parser) ParseDefinition(typeSpecDef *TypeSpecDef) (*Sche... method fillDefinitionDescription (line 1454) | func (parser *Parser) fillDefinitionDescription(definition *spec.Schem... method extractDeclarationDescription (line 1485) | func (parser *Parser) extractDeclarationDescription(typeName string, c... method parseTypeExpr (line 1534) | func (parser *Parser) parseTypeExpr(file *ast.File, typeExpr ast.Expr,... method parseStruct (line 1585) | func (parser *Parser) parseStruct(file *ast.File, fields *ast.FieldLis... method parseStructField (line 1620) | func (parser *Parser) parseStructField(file *ast.File, field *ast.Fiel... method getUnderlyingSchema (line 1752) | func (parser *Parser) getUnderlyingSchema(schema *spec.Schema) *spec.S... method GetSchemaTypePath (line 1778) | func (parser *Parser) GetSchemaTypePath(schema *spec.Schema, depth int... method getAllGoFileInfo (line 1884) | func (parser *Parser) getAllGoFileInfo(packageDir, searchDir string) e... method getAllGoFileInfoFromDeps (line 1910) | func (parser *Parser) getAllGoFileInfoFromDeps(pkg *depth.Pkg, parseFl... method parseFile (line 1956) | func (parser *Parser) parseFile(packageDir, path string, src any, flag... method checkOperationIDUniqueness (line 1964) | func (parser *Parser) checkOperationIDUniqueness() error { method Skip (line 2000) | func (parser *Parser) Skip(path string, f os.FileInfo) error { method GetSwagger (line 2025) | func (parser *Parser) GetSwagger() *spec.Swagger { method addTestType (line 2030) | func (parser *Parser) addTestType(typename string) { type FieldParserFactory (line 197) | type FieldParserFactory type FieldParser (line 200) | type FieldParser interface type Debugger (line 215) | type Debugger interface function New (line 220) | func New(options ...func(*Parser)) *Parser { function SetParseDependency (line 266) | func SetParseDependency(parseDependency int) func(*Parser) { function SetUseStructName (line 276) | func SetUseStructName(useStructName bool) func(*Parser) { function SetMarkdownFileDirectory (line 283) | func SetMarkdownFileDirectory(directoryPath string) func(*Parser) { function SetCodeExamplesDirectory (line 290) | func SetCodeExamplesDirectory(directoryPath string) func(*Parser) { function SetExcludedDirsAndFiles (line 297) | func SetExcludedDirsAndFiles(excludes string) func(*Parser) { function SetPackagePrefix (line 312) | func SetPackagePrefix(packagePrefix string) func(*Parser) { function SetTags (line 324) | func SetTags(include string) func(*Parser) { function SetParseExtension (line 336) | func SetParseExtension(parseExtension string) func(*Parser) { function SetStrict (line 343) | func SetStrict(strict bool) func(*Parser) { function SetDebugger (line 350) | func SetDebugger(logger Debugger) func(parser *Parser) { function SetFieldParserFactory (line 359) | func SetFieldParserFactory(factory FieldParserFactory) func(parser *Pars... function SetOverrides (line 366) | func SetOverrides(overrides map[string]string) func(parser *Parser) { function SetCollectionFormat (line 375) | func SetCollectionFormat(collectionFormat string) func(*Parser) { function ParseUsingGoList (line 382) | func ParseUsingGoList(enabled bool) func(parser *Parser) { function getPkgName (line 502) | func getPkgName(searchDir string) (string, error) { function parseGeneralAPIInfo (line 552) | func parseGeneralAPIInfo(parser *Parser, comments []string) error { function setSwaggerInfo (line 739) | func setSwaggerInfo(swagger *spec.Swagger, attribute, value string) { function parseSecAttributes (line 764) | func parseSecAttributes(context string, lines []string, index *int) (*sp... function parseSecurity (line 878) | func parseSecurity(commentLine string) map[string][]string { function initIfEmpty (line 906) | func initIfEmpty(license *spec.License) *spec.License { function isGeneralAPIComment (line 924) | func isGeneralAPIComment(comments []string) bool { function getMarkdownForTag (line 941) | func getMarkdownForTag(tagName string, dirPath string) ([]byte, error) { function isExistsScope (line 981) | func isExistsScope(scope string) (bool, error) { function getTagsFromComment (line 994) | func getTagsFromComment(comment string) (tags []string) { function matchExtension (line 1061) | func matchExtension(extensionToMatch string, comments []*ast.Comment) (m... function getFuncDoc (line 1079) | func getFuncDoc(decl any) (*ast.CommentGroup, bool) { function refRouteMethodOp (line 1163) | func refRouteMethodOp(item *spec.PathItem, method string) (op **spec.Ope... function processRouterOperation (line 1184) | func processRouterOperation(parser *Parser, operation *Operation) error { function convertFromSpecificToPrimitive (line 1234) | func convertFromSpecificToPrimitive(typeName string) (string, error) { function fullTypeName (line 1448) | func fullTypeName(parts ...string) string { function getFieldType (line 1729) | func getFieldType(file *ast.File, field ast.Expr, genericParamTypeDefs m... function defineTypeOfExample (line 1813) | func defineTypeOfExample(schemaType, arrayType, exampleValue string) (in... function walkWith (line 2004) | func walkWith(excludes map[string]struct{}, parseVendor bool) func(path ... FILE: parser_test.go constant defaultParseDepth (line 21) | defaultParseDepth = 100 constant mainAPIFile (line 23) | mainAPIFile = "main.go" function TestNew (line 25) | func TestNew(t *testing.T) { function TestSetOverrides (line 69) | func TestSetOverrides(t *testing.T) { function TestOverrides_getTypeSchema (line 80) | func TestOverrides_getTypeSchema(t *testing.T) { function TestParser_ParseDefinition (line 108) | func TestParser_ParseDefinition(t *testing.T) { function TestParser_ParseGeneralApiInfo (line 174) | func TestParser_ParseGeneralApiInfo(t *testing.T) { function TestParser_ParseGeneralApiInfoTemplated (line 280) | func TestParser_ParseGeneralApiInfoTemplated(t *testing.T) { function TestParser_ParseGeneralApiInfoExtensions (line 369) | func TestParser_ParseGeneralApiInfoExtensions(t *testing.T) { function TestParser_ParseGeneralApiInfoWithOpsInSameFile (line 403) | func TestParser_ParseGeneralApiInfoWithOpsInSameFile(t *testing.T) { function TestParser_ParseGeneralAPIInfoMarkdown (line 430) | func TestParser_ParseGeneralAPIInfoMarkdown(t *testing.T) { function TestParser_ParseGeneralApiInfoFailed (line 464) | func TestParser_ParseGeneralApiInfoFailed(t *testing.T) { function TestParser_ParseAcceptComment (line 473) | func TestParser_ParseAcceptComment(t *testing.T) { function TestParser_ParseProduceComment (line 507) | func TestParser_ParseProduceComment(t *testing.T) { function TestParser_ParseGeneralAPIInfoCollectionFormat (line 541) | func TestParser_ParseGeneralAPIInfoCollectionFormat(t *testing.T) { function TestParser_ParseGeneralAPITagGroups (line 556) | func TestParser_ParseGeneralAPITagGroups(t *testing.T) { function TestParser_ParseGeneralAPITagDocs (line 568) | func TestParser_ParseGeneralAPITagDocs(t *testing.T) { function TestParser_ParseGeneralAPITagDocsWithTagFilters (line 600) | func TestParser_ParseGeneralAPITagDocsWithTagFilters(t *testing.T) { function TestParser_ParseGeneralAPISecurity (line 635) | func TestParser_ParseGeneralAPISecurity(t *testing.T) { function TestParser_RefWithOtherPropertiesIsWrappedInAllOf (line 789) | func TestParser_RefWithOtherPropertiesIsWrappedInAllOf(t *testing.T) { function TestGetAllGoFileInfo (line 878) | func TestGetAllGoFileInfo(t *testing.T) { function TestParser_ParseType (line 890) | func TestParser_ParseType(t *testing.T) { function TestParseSimpleApi1 (line 907) | func TestParseSimpleApi1(t *testing.T) { function TestParseInterfaceAndError (line 922) | func TestParseInterfaceAndError(t *testing.T) { function TestParseSimpleApi_ForSnakecase (line 936) | func TestParseSimpleApi_ForSnakecase(t *testing.T) { function TestParseSimpleApi_ForLowerCamelcase (line 1422) | func TestParseSimpleApi_ForLowerCamelcase(t *testing.T) { function TestParseStructComment (line 1878) | func TestParseStructComment(t *testing.T) { function TestParseNonExportedJSONFields (line 1969) | func TestParseNonExportedJSONFields(t *testing.T) { function TestParsePetApi (line 2044) | func TestParsePetApi(t *testing.T) { function TestParseModelAsTypeAlias (line 2078) | func TestParseModelAsTypeAlias(t *testing.T) { function TestParseComposition (line 2149) | func TestParseComposition(t *testing.T) { function TestParseImportAliases (line 2166) | func TestParseImportAliases(t *testing.T) { function TestParseTypeOverrides (line 2182) | func TestParseTypeOverrides(t *testing.T) { function TestGlobalSecurity (line 2202) | func TestGlobalSecurity(t *testing.T) { function TestParseNested (line 2217) | func TestParseNested(t *testing.T) { function TestParseDuplicated (line 2232) | func TestParseDuplicated(t *testing.T) { function TestParseDuplicatedOtherMethods (line 2241) | func TestParseDuplicatedOtherMethods(t *testing.T) { function TestParseDuplicatedFunctionScoped (line 2250) | func TestParseDuplicatedFunctionScoped(t *testing.T) { function TestParseConflictSchemaName (line 2259) | func TestParseConflictSchemaName(t *testing.T) { function TestParseExternalModels (line 2272) | func TestParseExternalModels(t *testing.T) { function TestParseGoList (line 2285) | func TestParseGoList(t *testing.T) { function TestParser_ParseStructArrayObject (line 2386) | func TestParser_ParseStructArrayObject(t *testing.T) { function TestParser_ParseEmbededStruct (line 2454) | func TestParser_ParseEmbededStruct(t *testing.T) { function TestParser_ParseStructPointerMembers (line 2517) | func TestParser_ParseStructPointerMembers(t *testing.T) { function TestParser_ParseStructMapMember (line 2578) | func TestParser_ParseStructMapMember(t *testing.T) { function TestParser_ParseRouterApiInfoErr (line 2707) | func TestParser_ParseRouterApiInfoErr(t *testing.T) { function TestParser_ParseRouterApiGet (line 2725) | func TestParser_ParseRouterApiGet(t *testing.T) { function TestParser_ParseRouterApiPOST (line 2750) | func TestParser_ParseRouterApiPOST(t *testing.T) { function TestParser_ParseRouterApiDELETE (line 2775) | func TestParser_ParseRouterApiDELETE(t *testing.T) { function TestParser_ParseRouterApiPUT (line 2800) | func TestParser_ParseRouterApiPUT(t *testing.T) { function TestParser_ParseRouterApiPATCH (line 2825) | func TestParser_ParseRouterApiPATCH(t *testing.T) { function TestParser_ParseRouterApiHead (line 2850) | func TestParser_ParseRouterApiHead(t *testing.T) { function TestParser_ParseRouterApiOptions (line 2874) | func TestParser_ParseRouterApiOptions(t *testing.T) { function TestParser_ParseRouterApiMultipleRoutesForSameFunction (line 2899) | func TestParser_ParseRouterApiMultipleRoutesForSameFunction(t *testing.T) { function TestParser_ParseRouterApiMultiple (line 2930) | func TestParser_ParseRouterApiMultiple(t *testing.T) { function TestParser_ParseRouterApiMultiplePathsWithMultipleParams (line 2965) | func TestParser_ParseRouterApiMultiplePathsWithMultipleParams(t *testing... function TestParser_ParseRouterApiDuplicateRoute (line 3026) | func TestParser_ParseRouterApiDuplicateRoute(t *testing.T) { function TestApiParseTag (line 3062) | func TestApiParseTag(t *testing.T) { function TestApiParseTag_NonExistendTag (line 3092) | func TestApiParseTag_NonExistendTag(t *testing.T) { function TestParseTagMarkdownDescription (line 3102) | func TestParseTagMarkdownDescription(t *testing.T) { function TestParseApiMarkdownDescription (line 3123) | func TestParseApiMarkdownDescription(t *testing.T) { function TestIgnoreInvalidPkg (line 3139) | func TestIgnoreInvalidPkg(t *testing.T) { function TestFixes432 (line 3149) | func TestFixes432(t *testing.T) { function TestParseOutsideDependencies (line 3161) | func TestParseOutsideDependencies(t *testing.T) { function TestParseStructParamCommentByQueryType (line 3173) | func TestParseStructParamCommentByQueryType(t *testing.T) { function TestParseStructParamCommentByQueryTypeWithQueryTag (line 3244) | func TestParseStructParamCommentByQueryTypeWithQueryTag(t *testing.T) { function TestParseParamCommentExtension (line 3306) | func TestParseParamCommentExtension(t *testing.T) { function TestParseRenamedStructDefinition (line 3360) | func TestParseRenamedStructDefinition(t *testing.T) { function TestParseTabFormattedRenamedStructDefinition (line 3405) | func TestParseTabFormattedRenamedStructDefinition(t *testing.T) { function TestParseFunctionScopedStructDefinition (line 3429) | func TestParseFunctionScopedStructDefinition(t *testing.T) { function TestParseFunctionScopedComplexStructDefinition (line 3461) | func TestParseFunctionScopedComplexStructDefinition(t *testing.T) { function TestParseFunctionScopedStructRequestResponseJSON (line 3518) | func TestParseFunctionScopedStructRequestResponseJSON(t *testing.T) { function TestParseFunctionScopedComplexStructRequestResponseJSON (line 3603) | func TestParseFunctionScopedComplexStructRequestResponseJSON(t *testing.... function TestPackagesDefinitions_CollectAstFileInit (line 3727) | func TestPackagesDefinitions_CollectAstFileInit(t *testing.T) { function TestCollectAstFileMultipleTimes (line 3749) | func TestCollectAstFileMultipleTimes(t *testing.T) { function TestParseJSONFieldString (line 3779) | func TestParseJSONFieldString(t *testing.T) { function TestParseSwaggerignoreForEmbedded (line 3882) | func TestParseSwaggerignoreForEmbedded(t *testing.T) { function TestDefineTypeOfExample (line 3924) | func TestDefineTypeOfExample(t *testing.T) { type mockFS (line 4021) | type mockFS struct method Name (line 4027) | func (fs *mockFS) Name() string { method IsDir (line 4031) | func (fs *mockFS) IsDir() bool { function TestParser_Skip (line 4035) | func TestParser_Skip(t *testing.T) { function TestGetFuncDoc_NilPointerSafety (line 4060) | func TestGetFuncDoc_NilPointerSafety(t *testing.T) { function TestGetFieldType (line 4127) | func TestGetFieldType(t *testing.T) { function TestTryAddDescription (line 4156) | func TestTryAddDescription(t *testing.T) { function Test_getTagsFromComment (line 4256) | func Test_getTagsFromComment(t *testing.T) { function TestParser_matchTags (line 4296) | func TestParser_matchTags(t *testing.T) { function TestParser_parseExtension (line 4335) | func TestParser_parseExtension(t *testing.T) { function TestParser_collectionFormat (line 4391) | func TestParser_collectionFormat(t *testing.T) { function TestParser_skipPackageByPrefix (line 4422) | func TestParser_skipPackageByPrefix(t *testing.T) { function TestParser_ParseRouterApiInFuncBody (line 4444) | func TestParser_ParseRouterApiInFuncBody(t *testing.T) { function TestParser_ParseRouterApiInfoInAndOutFuncBody (line 4472) | func TestParser_ParseRouterApiInfoInAndOutFuncBody(t *testing.T) { function TestParser_EmbeddedStructAsOtherAliasGoListNested (line 4507) | func TestParser_EmbeddedStructAsOtherAliasGoListNested(t *testing.T) { function TestParser_genVarDefinedFuncDoc (line 4526) | func TestParser_genVarDefinedFuncDoc(t *testing.T) { function TestParser_DescriptionLineContinuation (line 4557) | func TestParser_DescriptionLineContinuation(t *testing.T) { function TestParser_ParseDefinitionWithRecursiveTypeAndNameAnnotation (line 4575) | func TestParser_ParseDefinitionWithRecursiveTypeAndNameAnnotation(t *tes... FILE: parsergopackages.go method loadPackagesAndDeps (line 12) | func (parser *Parser) loadPackagesAndDeps(searchDirs []string, absMainAP... method walkPackages (line 69) | func (parser *Parser) walkPackages(pkgs []*packages.Package, f func(p *p... method walkPackagesInternal (line 74) | func (parser *Parser) walkPackagesInternal(pkgs []*packages.Package, f f... FILE: schema.go constant ARRAY (line 14) | ARRAY = "array" constant OBJECT (line 16) | OBJECT = "object" constant PRIMITIVE (line 18) | PRIMITIVE = "primitive" constant BOOLEAN (line 20) | BOOLEAN = "boolean" constant INTEGER (line 22) | INTEGER = "integer" constant NUMBER (line 24) | NUMBER = "number" constant STRING (line 26) | STRING = "string" constant FUNC (line 28) | FUNC = "func" constant ERROR (line 30) | ERROR = "error" constant INTERFACE (line 32) | INTERFACE = "interface{}" constant ANY (line 34) | ANY = "any" constant NIL (line 36) | NIL = "nil" constant IgnoreNameOverridePrefix (line 39) | IgnoreNameOverridePrefix = '$' function CheckSchemaType (line 43) | func CheckSchemaType(typeName string) error { function IsSimplePrimitiveType (line 52) | func IsSimplePrimitiveType(typeName string) bool { function IsPrimitiveType (line 62) | func IsPrimitiveType(typeName string) bool { function IsInterfaceLike (line 72) | func IsInterfaceLike(typeName string) bool { function IsNumericType (line 77) | func IsNumericType(typeName string) bool { function TransToValidPrimitiveSchema (line 82) | func TransToValidPrimitiveSchema(typeName string) *spec.Schema { function TransToValidSchemeTypeWithFormat (line 101) | func TransToValidSchemeTypeWithFormat(typeName string) (string, string) { function TransToValidSchemeType (line 120) | func TransToValidSchemeType(typeName string) string { function IsGolangPrimitiveType (line 140) | func IsGolangPrimitiveType(typeName string) bool { function TransToValidCollectionFormat (line 165) | func TransToValidCollectionFormat(format string) string { function ignoreNameOverride (line 174) | func ignoreNameOverride(name string) bool { function nameOverride (line 180) | func nameOverride(commentGroup *ast.CommentGroup) string { function commentWithoutNameOverride (line 197) | func commentWithoutNameOverride(comment string) string { function IsComplexSchema (line 211) | func IsComplexSchema(schema *spec.Schema) bool { function IsRefSchema (line 232) | func IsRefSchema(schema *spec.Schema) bool { function RefSchema (line 237) | func RefSchema(refType string) *spec.Schema { function PrimitiveSchema (line 242) | func PrimitiveSchema(refType string) *spec.Schema { function BuildCustomSchema (line 247) | func BuildCustomSchema(types []string) (*spec.Schema, error) { function MergeSchema (line 292) | func MergeSchema(dst *spec.Schema, src *spec.Schema) *spec.Schema { FILE: schema_test.go function TestValidDataType (line 10) | func TestValidDataType(t *testing.T) { function TestTransToValidSchemeType (line 23) | func TestTransToValidSchemeType(t *testing.T) { function TestTransToValidCollectionFormat (line 38) | func TestTransToValidCollectionFormat(t *testing.T) { function TestIsGolangPrimitiveType (line 51) | func TestIsGolangPrimitiveType(t *testing.T) { function TestIsSimplePrimitiveType (line 73) | func TestIsSimplePrimitiveType(t *testing.T) { function TestBuildCustomSchema (line 84) | func TestBuildCustomSchema(t *testing.T) { function TestIsNumericType (line 135) | func TestIsNumericType(t *testing.T) { function TestIsInterfaceLike (line 144) | func TestIsInterfaceLike(t *testing.T) { FILE: spec.go type Spec (line 11) | type Spec struct method ReadDoc (line 25) | func (i *Spec) ReadDoc() string { method InstanceName (line 62) | func (i *Spec) InstanceName() string { FILE: spec_test.go function TestSpec_InstanceName (line 9) | func TestSpec_InstanceName(t *testing.T) { function TestSpec_ReadDoc (line 56) | func TestSpec_ReadDoc(t *testing.T) { FILE: swagger.go constant Name (line 10) | Name = "swagger" type Swagger (line 18) | type Swagger interface function Register (line 23) | func Register(name string, swagger Swagger) { function GetSwagger (line 44) | func GetSwagger(name string) Swagger { function ReadDoc (line 53) | func ReadDoc(optionalName ...string) (string, error) { FILE: swagger_test.go type s (line 160) | type s struct method ReadDoc (line 162) | func (s *s) ReadDoc() string { function TestRegister (line 166) | func TestRegister(t *testing.T) { function TestRegisterByName (line 173) | func TestRegisterByName(t *testing.T) { function TestRegisterMultiple (line 180) | func TestRegisterMultiple(t *testing.T) { function TestReadDocBeforeRegistered (line 190) | func TestReadDocBeforeRegistered(t *testing.T) { function TestReadDocWithInvalidName (line 196) | func TestReadDocWithInvalidName(t *testing.T) { function TestNilRegister (line 203) | func TestNilRegister(t *testing.T) { function TestCalledTwicelRegister (line 211) | func TestCalledTwicelRegister(t *testing.T) { function setup (line 219) | func setup() { function TestGetSwagger (line 223) | func TestGetSwagger(t *testing.T) { FILE: testdata/alias_import/api/api.go function GetApplication (line 18) | func GetApplication(w http.ResponseWriter, r *http.Request) { FILE: testdata/alias_import/data/applicationresponse.go type ApplicationResponse (line 7) | type ApplicationResponse struct FILE: testdata/alias_import/main.go function main (line 23) | func main() { FILE: testdata/alias_import/types/application.go type Application (line 5) | type Application struct type DateOnly (line 9) | type DateOnly type TypeToEmbed (line 11) | type TypeToEmbed struct FILE: testdata/alias_nested/cmd/main/main.go function main (line 7) | func main() { FILE: testdata/alias_nested/pkg/bad/data.go type Emb (line 3) | type Emb struct FILE: testdata/alias_nested/pkg/good/data.go type Gen (line 3) | type Gen struct type Emb (line 7) | type Emb struct FILE: testdata/alias_type/api/api.go function GetTimeAsTimeContainer (line 44) | func GetTimeAsTimeContainer(w http.ResponseWriter, r *http.Request) { FILE: testdata/alias_type/data/alias.go type TimeContainer (line 8) | type TimeContainer struct FILE: testdata/alias_type/main.go function main (line 23) | func main() { FILE: testdata/alias_type/types/alias.go type StringAlias (line 5) | type StringAlias type DateOnly (line 7) | type DateOnly FILE: testdata/code_examples/api/api1.go function Get1 (line 11) | func Get1(w http.ResponseWriter, r *http.Request) { FILE: testdata/code_examples/main.go function main (line 6) | func main() { FILE: testdata/composition/api/api.go type Foo (line 9) | type Foo struct type Bar (line 12) | type Bar struct type EmptyStruct (line 15) | type EmptyStruct struct type unexported (line 17) | type unexported struct type Ignored (line 19) | type Ignored struct type FooBar (line 23) | type FooBar struct type FooBarPointer (line 31) | type FooBarPointer struct type BarMap (line 40) | type BarMap type FooBarMap (line 42) | type FooBarMap struct type MapValue (line 46) | type MapValue struct function GetFoo (line 56) | func GetFoo(w http.ResponseWriter, r *http.Request) { function GetBar (line 67) | func GetBar(w http.ResponseWriter, r *http.Request) { function GetFooBar (line 78) | func GetFooBar(w http.ResponseWriter, r *http.Request) { function GetFooBarPointer (line 89) | func GetFooBarPointer(w http.ResponseWriter, r *http.Request) { function GetBarMap (line 100) | func GetBarMap(w http.ResponseWriter, r *http.Request) { function GetFooBarMap (line 111) | func GetFooBarMap(w http.ResponseWriter, r *http.Request) { FILE: testdata/composition/common/response.go type ResponseFormat (line 3) | type ResponseFormat struct FILE: testdata/composition/main.go function main (line 17) | func main() { FILE: testdata/conflict_name/api/api1.go function Get1 (line 15) | func Get1(w http.ResponseWriter, r *http.Request) { FILE: testdata/conflict_name/api/api2.go function Get2 (line 15) | func Get2(w http.ResponseWriter, r *http.Request) { FILE: testdata/conflict_name/main.go function main (line 6) | func main() { FILE: testdata/conflict_name/model/model.go type MyStruct (line 3) | type MyStruct struct type MyPayload (line 7) | type MyPayload struct type ErrorsResponse (line 12) | type ErrorsResponse struct FILE: testdata/conflict_name/model2/model.go type MyStruct (line 3) | type MyStruct struct type MyPayload2 (line 7) | type MyPayload2 struct type ErrorsResponse (line 12) | type ErrorsResponse struct FILE: testdata/delims/api/api.go function MyFunc (line 7) | func MyFunc() {} type MyStruct (line 9) | type MyStruct struct FILE: testdata/delims/main.go function ReadDoc (line 9) | func ReadDoc() string { function main (line 19) | func main() { FILE: testdata/deprecated_router/api/api.go function AddFoo (line 11) | func AddFoo(w http.ResponseWriter, r *http.Request) {} function GetFoo (line 17) | func GetFoo(w http.ResponseWriter, r *http.Request) {} FILE: testdata/deprecated_router/main.go function main (line 8) | func main() { FILE: testdata/deps_having_invalid_pkg/main.go function main (line 4) | func main() {} FILE: testdata/description_line_continuation/api/api.go function EndpointA (line 20) | func EndpointA(w http.ResponseWriter, r *http.Request) { function EndpointB (line 31) | func EndpointB(w http.ResponseWriter, r *http.Request) { FILE: testdata/description_line_continuation/main.go function main (line 21) | func main() { FILE: testdata/duplicated/api/api.go function GetFoo (line 9) | func GetFoo(w http.ResponseWriter, r *http.Request) {} function PostBar (line 15) | func PostBar(w http.ResponseWriter, r *http.Request) {} FILE: testdata/duplicated/main.go function main (line 17) | func main() { FILE: testdata/duplicated2/api/api.go function PutFoo (line 9) | func PutFoo(w http.ResponseWriter, r *http.Request) {} function HeadFoo (line 15) | func HeadFoo(w http.ResponseWriter, r *http.Request) {} function OptionsFoo (line 21) | func OptionsFoo(w http.ResponseWriter, r *http.Request) {} function PatchFoo (line 27) | func PatchFoo(w http.ResponseWriter, r *http.Request) {} function DeleteFoo (line 33) | func DeleteFoo(w http.ResponseWriter, r *http.Request) {} FILE: testdata/duplicated2/main.go function main (line 17) | func main() { FILE: testdata/duplicated_function_scoped/api/api.go function GetFoo (line 9) | func GetFoo(w http.ResponseWriter, r *http.Request) { FILE: testdata/duplicated_function_scoped/main.go function main (line 18) | func main() { FILE: testdata/duplicated_function_scoped/other_api/api.go function GetFoo (line 9) | func GetFoo(w http.ResponseWriter, r *http.Request) { FILE: testdata/enums/api/api.go function API (line 11) | func API() { function API2 (line 24) | func API2() { function API3 (line 35) | func API3() { function API4 (line 46) | func API4() { FILE: testdata/enums/consts/const.go constant Base (line 3) | Base = 1 constant uintSize (line 5) | uintSize = 32 << (^uint(uintptr(0)) >> 63) constant maxBase (line 6) | maxBase = 10 + ('z' - 'a' + 1) + ('Z' - 'A' + 1) constant shlByLen (line 7) | shlByLen = 1 << len("aaa") constant hexnum (line 8) | hexnum = 0xFF constant octnum (line 9) | octnum = 017 constant nonescapestr (line 10) | nonescapestr = `aa\nbb\u8888cc` constant escapestr (line 11) | escapestr = "aa\nbb\u8888cc" constant escapechar (line 12) | escapechar = '\u8888' constant underscored (line 13) | underscored = 1_000_000 constant binaryInteger (line 14) | binaryInteger = 0b10001000 constant octInteger (line 15) | octInteger = 0o755 FILE: testdata/enums/main.go function main (line 16) | func main() { FILE: testdata/enums/types/model.go type Class (line 7) | type Class constant None (line 10) | None Class = -1 constant A (line 11) | A Class = consts.Base + (iota+1-1)*2/2%100 - (1&1 | 1) + (2 ^ 2) constant B (line 12) | B constant C (line 13) | C constant D (line 14) | D = C + 1 constant F (line 15) | F = Class(5) constant G (line 17) | G = H + 10 constant H (line 19) | H = 10 constant I (line 21) | I = int(F + 2) constant J (line 24) | J = 1 << uint16(I) type Mask (line 26) | type Mask constant Mask1 (line 29) | Mask1 Mask = 0x02 << iota >> 1 constant Mask2 (line 30) | Mask2 constant Mask3 (line 31) | Mask3 constant Mask4 (line 32) | Mask4 constant Mask5 (line 33) | Mask5 = Mask(A + B) type Type (line 36) | type Type constant Teacher (line 41) | Teacher Type = "teacher" constant Student (line 42) | Student Type = "student" constant Other (line 43) | Other Type = "Other" constant Unknown (line 44) | Unknown = "Unknown" constant OtherUnknown (line 45) | OtherUnknown = string(Other + Unknown) type Sex (line 48) | type Sex constant Male (line 51) | Male Sex = 'M' constant Female (line 52) | Female Sex = 'F' type Difficulty (line 55) | type Difficulty constant DifficultyEasy (line 58) | DifficultyEasy Difficulty = "easy" constant DifficultyMedium (line 59) | DifficultyMedium Difficulty = "medium" constant DifficultyHard (line 60) | DifficultyHard Difficulty = "hard" type SecurityClearance (line 63) | type SecurityClearance constant SecurityClearancePublic (line 66) | SecurityClearancePublic SecurityClearance = iota constant SecurityClearanceSensitive (line 67) | SecurityClearanceSensitive constant SecurityClearanceSecret (line 68) | SecurityClearanceSecret type GenericDifficulty (line 72) | type GenericDifficulty type Level (line 73) | type Level constant GenericDifficultyEasy (line 77) | GenericDifficultyEasy GenericDifficulty[Level] = "g_easy" constant GenericDifficultyMedium (line 78) | GenericDifficultyMedium GenericDifficulty[Level] = "g_medium" constant GenericDifficultyHard (line 79) | GenericDifficultyHard GenericDifficulty[Level] = "g_hard" type Person (line 82) | type Person struct type PersonWithArrayEnum (line 93) | type PersonWithArrayEnum struct FILE: testdata/error/api/api.go function Upload (line 20) | func Upload(w http.ResponseWriter, r *http.Request) { FILE: testdata/error/errors/errors.go type CustomInterface (line 4) | type CustomInterface interface type Errors (line 9) | type Errors struct FILE: testdata/error/main.go function main (line 24) | func main() { FILE: testdata/error/web/handler.go type CrossErrors (line 7) | type CrossErrors FILE: testdata/external_models/external/model.go type MyError (line 5) | type MyError struct FILE: testdata/external_models/main/api/api.go function GetExternalModels (line 16) | func GetExternalModels(w http.ResponseWriter, r *http.Request) { FILE: testdata/external_models/main/main.go function main (line 7) | func main() { FILE: testdata/format_dst/api/api.go function GetStringByInt (line 20) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 43) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 58) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 65) | func AnonymousField() { function Pet2 (line 72) | func Pet2() { function IndirectRecursiveTest (line 79) | func IndirectRecursiveTest() { function Tags (line 85) | func Tags() { function CrossAlias (line 91) | func CrossAlias() { function AnonymousStructArray (line 97) | func AnonymousStructArray() { type Pet3 (line 100) | type Pet3 struct function GetPet5a (line 106) | func GetPet5a() { function GetPet5b (line 112) | func GetPet5b() { function GetPet5c (line 118) | func GetPet5c() { type SwagReturn (line 122) | type SwagReturn function GetPet6MapString (line 126) | func GetPet6MapString() { FILE: testdata/format_dst/main.go function main (line 50) | func main() { FILE: testdata/format_dst/web/handler.go type Pet (line 12) | type Pet struct type Tag (line 41) | type Tag struct type Tags (line 47) | type Tags type AnonymousStructArray (line 49) | type AnonymousStructArray type CrossAlias (line 53) | type CrossAlias type Pet2 (line 55) | type Pet2 struct type IndirectRecursiveTest (line 61) | type IndirectRecursiveTest struct type APIError (line 65) | type APIError struct type RevValueBase (line 71) | type RevValueBase struct type RevValue (line 76) | type RevValue struct type Pet5a (line 87) | type Pet5a struct type Pet5b (line 92) | type Pet5b struct type Pet5c (line 96) | type Pet5c struct function testFunc (line 103) | func testFunc() { FILE: testdata/format_src/api/api.go function GetStringByInt (line 20) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 43) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 58) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 65) | func AnonymousField() { function Pet2 (line 72) | func Pet2() { function IndirectRecursiveTest (line 79) | func IndirectRecursiveTest() { function Tags (line 85) | func Tags() { function CrossAlias (line 91) | func CrossAlias() { function AnonymousStructArray (line 97) | func AnonymousStructArray() { type Pet3 (line 100) | type Pet3 struct function GetPet5a (line 106) | func GetPet5a() { function GetPet5b (line 112) | func GetPet5b() { function GetPet5c (line 118) | func GetPet5c() { type SwagReturn (line 122) | type SwagReturn function GetPet6MapString (line 126) | func GetPet6MapString() { FILE: testdata/format_src/main.go function main (line 50) | func main() { FILE: testdata/format_src/web/handler.go type Pet (line 12) | type Pet struct type Tag (line 41) | type Tag struct type Tags (line 47) | type Tags type AnonymousStructArray (line 49) | type AnonymousStructArray type CrossAlias (line 53) | type CrossAlias type Pet2 (line 55) | type Pet2 struct type IndirectRecursiveTest (line 61) | type IndirectRecursiveTest struct type APIError (line 65) | type APIError struct type RevValueBase (line 71) | type RevValueBase struct type RevValue (line 76) | type RevValue struct type Pet5a (line 87) | type Pet5a struct type Pet5b (line 92) | type Pet5b struct type Pet5c (line 96) | type Pet5c struct function testFunc (line 103) | func testFunc() { FILE: testdata/format_test/api/api.go function GetStringByInt (line 20) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 43) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 58) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 65) | func AnonymousField() { function Pet2 (line 72) | func Pet2() { function IndirectRecursiveTest (line 79) | func IndirectRecursiveTest() { function Tags (line 85) | func Tags() { function CrossAlias (line 91) | func CrossAlias() { function AnonymousStructArray (line 97) | func AnonymousStructArray() { type Pet3 (line 100) | type Pet3 struct function GetPet5a (line 106) | func GetPet5a() { function GetPet5b (line 112) | func GetPet5b() { function GetPet5c (line 118) | func GetPet5c() { type SwagReturn (line 122) | type SwagReturn function GetPet6MapString (line 126) | func GetPet6MapString() { FILE: testdata/format_test/main.go function main (line 50) | func main() { FILE: testdata/format_test/web/handler.go type Pet (line 12) | type Pet struct type Tag (line 41) | type Tag struct type Tags (line 47) | type Tags type AnonymousStructArray (line 49) | type AnonymousStructArray type CrossAlias (line 53) | type CrossAlias type Pet2 (line 55) | type Pet2 struct type IndirectRecursiveTest (line 61) | type IndirectRecursiveTest struct type APIError (line 65) | type APIError struct type RevValueBase (line 71) | type RevValueBase struct type RevValue (line 76) | type RevValue struct type Pet5a (line 87) | type Pet5a struct type Pet5b (line 92) | type Pet5b struct type Pet5c (line 96) | type Pet5c struct function testFunc (line 103) | func testFunc() { FILE: testdata/generics_arrays/api/api.go function GetPosts (line 18) | func GetPosts(w http.ResponseWriter, r *http.Request) { function GetPostMulti (line 30) | func GetPostMulti(w http.ResponseWriter, r *http.Request) { function GetPostArray (line 43) | func GetPostArray(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_arrays/main.go function main (line 14) | func main() { FILE: testdata/generics_arrays/types/post.go type APIBase (line 3) | type APIBase struct type Post (line 8) | type Post struct FILE: testdata/generics_arrays/web/handler.go type GenericListBody (line 7) | type GenericListBody struct type GenericListBodyMulti (line 11) | type GenericListBodyMulti struct type GenericListResponse (line 18) | type GenericListResponse struct type GenericListResponseMulti (line 27) | type GenericListResponseMulti struct type APIError (line 41) | type APIError struct FILE: testdata/generics_basic/api/api.go type Response (line 10) | type Response struct type Response2 (line 17) | type Response2 struct type StringStruct (line 24) | type StringStruct struct function GetPost (line 47) | func GetPost(w http.ResponseWriter, r *http.Request) { function GetPostMulti (line 63) | func GetPostMulti(w http.ResponseWriter, r *http.Request) { function GetPostArray (line 77) | func GetPostArray(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_basic/main.go function main (line 14) | func main() { FILE: testdata/generics_basic/types/post.go type APIBase (line 3) | type APIBase struct type Post (line 8) | type Post struct FILE: testdata/generics_basic/types/string.go type Field (line 3) | type Field struct type DoubleField (line 7) | type DoubleField struct type TrippleField (line 12) | type TrippleField struct type ArrayField (line 17) | type ArrayField type MapField (line 18) | type MapField type MapFieldValue (line 19) | type MapFieldValue struct type MapFieldNestedStruct (line 23) | type MapFieldNestedStruct type Hello (line 25) | type Hello struct FILE: testdata/generics_basic/web/handler.go type GenericBody (line 7) | type GenericBody struct type GenericBodyMulti (line 11) | type GenericBodyMulti struct type GenericResponse (line 16) | type GenericResponse struct type GenericResponseMulti (line 22) | type GenericResponseMulti struct type APIError (line 33) | type APIError struct FILE: testdata/generics_function_scoped/api/api.go function GetGeneric (line 14) | func GetGeneric(w http.ResponseWriter, r *http.Request) { function GetGenericRenamed (line 32) | func GetGenericRenamed(w http.ResponseWriter, r *http.Request) { function GetGenericMulti (line 50) | func GetGenericMulti(w http.ResponseWriter, r *http.Request) { function GetGenericMultiRenamed (line 66) | func GetGenericMultiRenamed(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_function_scoped/main.go function main (line 14) | func main() { FILE: testdata/generics_function_scoped/types/response.go type GenericResponse (line 3) | type GenericResponse struct type GenericMultiResponse (line 8) | type GenericMultiResponse struct FILE: testdata/generics_multi_level_nesting/api/api.go function GetPosts (line 14) | func GetPosts(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_multi_level_nesting/main.go function main (line 14) | func main() { FILE: testdata/generics_multi_level_nesting/web/handler.go type TestResponse (line 7) | type TestResponse struct type Entity (line 12) | type Entity struct type DataPoint (line 18) | type DataPoint struct type EmptyArray (line 24) | type EmptyArray method MarshalJSON (line 26) | func (arr EmptyArray[T]) MarshalJSON() ([]byte, error) { type MultipleLines (line 34) | type MultipleLines type NamedLineData (line 36) | type NamedLineData struct FILE: testdata/generics_names/api/api.go function GetPost (line 20) | func GetPost(w http.ResponseWriter, r *http.Request) { function GetPostMulti (line 33) | func GetPostMulti(w http.ResponseWriter, r *http.Request) { function GetPostArray (line 46) | func GetPostArray(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_names/api/api_alias_pkg.go function GetPostFromAliasPkg (line 16) | func GetPostFromAliasPkg(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_names/main.go function main (line 14) | func main() { FILE: testdata/generics_names/types/post.go type APIBase (line 3) | type APIBase struct type Post (line 8) | type Post struct FILE: testdata/generics_names/web/handler.go type GenericBody (line 7) | type GenericBody struct type GenericBodyMulti (line 11) | type GenericBodyMulti struct type GenericResponse (line 16) | type GenericResponse struct type GenericResponseMulti (line 22) | type GenericResponseMulti struct type APIError (line 33) | type APIError struct type AliasPkgGenericResponse (line 42) | type AliasPkgGenericResponse struct FILE: testdata/generics_nested/api/api.go function GetPosts (line 21) | func GetPosts(w http.ResponseWriter, r *http.Request) { function GetPostArray (line 38) | func GetPostArray(w http.ResponseWriter, r *http.Request) { function GetPostSelfNestStruct (line 48) | func GetPostSelfNestStruct(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_nested/main.go function main (line 14) | func main() { FILE: testdata/generics_nested/types/post.go type APIBase (line 3) | type APIBase struct type Post (line 8) | type Post struct FILE: testdata/generics_nested/web/handler.go type GenericNestedBody (line 9) | type GenericNestedBody struct type GenericInnerType (line 18) | type GenericInnerType struct type GenericInnerMultiType (line 25) | type GenericInnerMultiType struct type GenericNestedResponse (line 34) | type GenericNestedResponse struct type GenericNestedResponseMulti (line 43) | type GenericNestedResponseMulti struct type APIError (line 57) | type APIError struct type GenericNodeThree (line 66) | type GenericNodeThree struct FILE: testdata/generics_package_alias/external/external1/external.go type Customer (line 3) | type Customer struct FILE: testdata/generics_package_alias/external/external2/external.go type Customer (line 3) | type Customer struct FILE: testdata/generics_package_alias/external/external3/external.go type Customer (line 3) | type Customer struct FILE: testdata/generics_package_alias/external/external4/external.go type Customer (line 3) | type Customer struct FILE: testdata/generics_package_alias/internal/api/api1.go function CreateMovie01 (line 13) | func CreateMovie01() { function CreateMovie02 (line 23) | func CreateMovie02() { FILE: testdata/generics_package_alias/internal/api/api2.go function CreateMovie03 (line 14) | func CreateMovie03() { function CreateMovie04 (line 24) | func CreateMovie04() { function CreateMovie05 (line 34) | func CreateMovie05() { function CreateMovie06 (line 44) | func CreateMovie06() { FILE: testdata/generics_package_alias/internal/api/api3.go function CreateMovie07 (line 14) | func CreateMovie07() { function CreateMovie08 (line 24) | func CreateMovie08() { function CreateMovie09 (line 34) | func CreateMovie09() { function CreateMovie10 (line 44) | func CreateMovie10() { FILE: testdata/generics_package_alias/internal/api/api4.go function CreateMovie11 (line 14) | func CreateMovie11() { FILE: testdata/generics_package_alias/internal/api/api5.go function CreateMovie12 (line 14) | func CreateMovie12() { FILE: testdata/generics_package_alias/internal/api/api6.go function CreateMovie13 (line 14) | func CreateMovie13() { FILE: testdata/generics_package_alias/internal/api/api7.go function CreateMovie14 (line 14) | func CreateMovie14() { FILE: testdata/generics_package_alias/internal/api/api8.go function CreateMovie15 (line 14) | func CreateMovie15() { FILE: testdata/generics_package_alias/internal/main.go function main (line 3) | func main() { FILE: testdata/generics_package_alias/internal/path1/v1/product.go type ProductDto (line 3) | type ProductDto struct type ListResult (line 7) | type ListResult struct type RenamedProductDto (line 11) | type RenamedProductDto struct type RenamedListResult (line 15) | type RenamedListResult struct FILE: testdata/generics_package_alias/internal/path2/v1/product.go type ProductDto (line 3) | type ProductDto struct type ListResult (line 7) | type ListResult struct type RenamedProductDto (line 11) | type RenamedProductDto struct type RenamedListResult (line 15) | type RenamedListResult struct type UniqueProduct (line 19) | type UniqueProduct struct FILE: testdata/generics_package_alias/internal/path3/v1/product.go type ProductDto (line 3) | type ProductDto struct type ListResult (line 7) | type ListResult struct type RenamedProductDto (line 11) | type RenamedProductDto struct type RenamedListResult (line 15) | type RenamedListResult struct FILE: testdata/generics_property/api/api.go type NestedResponse (line 9) | type NestedResponse struct type Audience (line 14) | type Audience type CreateMovie (line 16) | type CreateMovie struct type Person (line 29) | type Person struct function GetPosts (line 43) | func GetPosts(w http.ResponseWriter, r *http.Request) { function CreateMovieApi (line 53) | func CreateMovieApi(w http.ResponseWriter, r *http.Request) { FILE: testdata/generics_property/main.go function main (line 14) | func main() { FILE: testdata/generics_property/types/post.go type SubField1 (line 3) | type SubField1 struct type Field (line 8) | type Field struct type APIBase (line 15) | type APIBase struct type Post (line 20) | type Post struct FILE: testdata/generics_property/web/handler.go type PostSelector (line 5) | type PostSelector type Filter (line 7) | type Filter interface type query (line 11) | type query interface type Pager (line 15) | type Pager struct type String (line 23) | type String method Where (line 25) | func (String) Where(ps ...PostSelector) String { type PostPager (line 29) | type PostPager struct type PostResponse (line 34) | type PostResponse struct type PostResponses (line 38) | type PostResponses struct type StringResponse (line 42) | type StringResponse struct type GenericResponse (line 46) | type GenericResponse struct FILE: testdata/global_override/api/api.go function GetApplication (line 18) | func GetApplication(w http.ResponseWriter, r *http.Request) { FILE: testdata/global_override/data/applicationresponse.go type ApplicationResponse (line 7) | type ApplicationResponse struct FILE: testdata/global_override/main.go function main (line 23) | func main() { FILE: testdata/global_override/othertypes/application.go type Application (line 3) | type Application struct FILE: testdata/global_override/types/application.go type Application (line 5) | type Application struct type Application2 (line 9) | type Application2 struct type DateOnly (line 13) | type DateOnly type TypeToEmbed (line 15) | type TypeToEmbed struct type ShouldSkip (line 19) | type ShouldSkip struct FILE: testdata/global_security/api/api.go function GetApplication (line 10) | func GetApplication(w http.ResponseWriter, r *http.Request) {} function GetNoSec (line 16) | func GetNoSec(w http.ResponseWriter, r *http.Request) {} function GetBasic (line 22) | func GetBasic(w http.ResponseWriter, r *http.Request) {} function GetOAuthWrite (line 28) | func GetOAuthWrite(w http.ResponseWriter, r *http.Request) {} function GetOAuthAdmin (line 34) | func GetOAuthAdmin(w http.ResponseWriter, r *http.Request) {} FILE: testdata/global_security/main.go function main (line 18) | func main() {} FILE: testdata/golist/api/api.go function PrintInt (line 12) | func PrintInt(i, j int) { type Foo (line 17) | type Foo struct function GetFoo (line 36) | func GetFoo(w http.ResponseWriter, r *http.Request) { FILE: testdata/golist/api/foo.c function add (line 1) | int add(int a, int b) { FILE: testdata/golist/main.go function main (line 29) | func main() { FILE: testdata/golist_disablemodule/api/api.go function PrintInt (line 11) | func PrintInt(i, j int) { FILE: testdata/golist_disablemodule/api/foo.c function add (line 1) | int add(int a, int b) { FILE: testdata/golist_disablemodule/main.go function main (line 28) | func main() { FILE: testdata/golist_invalid/main.go function main (line 28) | func main() { FILE: testdata/invalid_external_pkg/invalid/normal.go function Foo (line 3) | func Foo() { FILE: testdata/invalid_external_pkg/main.go function main (line 3) | func main() {} FILE: testdata/json_field_string/main.go type MyStruct (line 9) | type MyStruct struct function DoSomething (line 27) | func DoSomething(w http.ResponseWriter, r *http.Request) { function main (line 41) | func main() { FILE: testdata/main.go function main (line 56) | func main() {} FILE: testdata/markdown.go function main (line 11) | func main() {} FILE: testdata/nested/api/api.go type Foo (line 9) | type Foo struct type Bar (line 17) | type Bar struct function GetFoo (line 27) | func GetFoo(w http.ResponseWriter, r *http.Request) { FILE: testdata/nested/common/data.go type Data (line 3) | type Data struct FILE: testdata/nested/main.go function main (line 17) | func main() { FILE: testdata/nested2/data.go type Body (line 3) | type Body struct FILE: testdata/non_exported_json_fields/main.go type MyStruct (line 7) | type MyStruct struct function DoSomething (line 31) | func DoSomething(w http.ResponseWriter, r *http.Request) { function main (line 40) | func main() { FILE: testdata/param_structs/structs.go type FormModel (line 3) | type FormModel struct type AuthHeader (line 9) | type AuthHeader struct type PathModel (line 16) | type PathModel struct FILE: testdata/pare_outside_dependencies/cmd/main.go function main (line 23) | func main() { FILE: testdata/parseExtension/parseExtension.go function Fun (line 4) | func Fun() {} function Fun2 (line 8) | func Fun2() {} function Fun3 (line 12) | func Fun3() {} function FunEmptyCommentLine (line 15) | func FunEmptyCommentLine() {} FILE: testdata/pet/main.go function main (line 16) | func main() { FILE: testdata/pet/web/handler.go type Pet (line 3) | type Pet struct type Tag (line 23) | type Tag struct FILE: testdata/quotes/api/api.go function RandomFunc (line 7) | func RandomFunc() {} FILE: testdata/quotes/main.go function ReadDoc (line 9) | func ReadDoc() string { function main (line 21) | func main() { FILE: testdata/recursive_with_name/main.go type EntityHierarchyNode (line 12) | type EntityHierarchyNode struct type TreeData (line 19) | type TreeData struct function GetEntityHierarchy (line 31) | func GetEntityHierarchy(w http.ResponseWriter, r *http.Request) { function main (line 35) | func main() { FILE: testdata/simple/api/api.go function GetStringByInt (line 21) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 46) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 62) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 69) | func AnonymousField() { function Pet2 (line 76) | func Pet2() { function IndirectRecursiveTest (line 83) | func IndirectRecursiveTest() { function Tags (line 89) | func Tags() { function CrossAlias (line 95) | func CrossAlias() { function AnonymousStructArray (line 101) | func AnonymousStructArray() { type Pet3 (line 104) | type Pet3 struct function GetPet5a (line 110) | func GetPet5a() { function GetPet5b (line 116) | func GetPet5b() { function GetPet5c (line 122) | func GetPet5c() { type SwagReturn (line 126) | type SwagReturn function GetPet6MapString (line 130) | func GetPet6MapString() { function GetPet6FunctionScopedResponse (line 136) | func GetPet6FunctionScopedResponse() { function GetPet6FunctionScopedComplexResponse (line 144) | func GetPet6FunctionScopedComplexResponse() { FILE: testdata/simple/cross/test.go type Cross (line 3) | type Cross struct FILE: testdata/simple/main.go function main (line 50) | func main() { FILE: testdata/simple/web/handler.go type Pet (line 11) | type Pet struct type Tag (line 43) | type Tag struct type Tags (line 49) | type Tags type AnonymousStructArray (line 51) | type AnonymousStructArray type CrossAlias (line 55) | type CrossAlias type Pet2 (line 57) | type Pet2 struct type IndirectRecursiveTest (line 63) | type IndirectRecursiveTest struct type APIError (line 67) | type APIError struct type RevValueBase (line 73) | type RevValueBase struct type RevValue (line 78) | type RevValue struct type Pet5a (line 89) | type Pet5a struct type Pet5b (line 94) | type Pet5b struct type Pet5c (line 98) | type Pet5c struct FILE: testdata/simple2/api/api.go function GetStringByInt (line 18) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 41) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 55) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 61) | func AnonymousField() { function Pet2 (line 67) | func Pet2() { type Pet3 (line 71) | type Pet3 struct FILE: testdata/simple2/main.go function main (line 50) | func main() { FILE: testdata/simple2/web/handler.go type TimestampTime (line 13) | type TimestampTime struct method MarshalJSON (line 17) | func (t *TimestampTime) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 23) | func (t *TimestampTime) UnmarshalJSON(bin []byte) error { type Pet (line 32) | type Pet struct type CustomString (line 63) | type CustomString type Tag (line 65) | type Tag struct type Pet2 (line 71) | type Pet2 struct type APIError (line 77) | type APIError struct type RevValueBase (line 83) | type RevValueBase struct type RevValue (line 88) | type RevValue struct FILE: testdata/simple3/api/api.go function GetStringByInt (line 16) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 39) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 53) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 59) | func AnonymousField() { function Pet2 (line 65) | func Pet2() { type Pet3 (line 69) | type Pet3 struct FILE: testdata/simple3/main.go function main (line 50) | func main() { FILE: testdata/simple3/web/handler.go type Pet (line 10) | type Pet struct type Tag (line 37) | type Tag struct type Pet2 (line 43) | type Pet2 struct type APIError (line 49) | type APIError struct type RevValueBase (line 55) | type RevValueBase struct type RevValue (line 60) | type RevValue struct FILE: testdata/simple_cgo/api/api.go function GetStringByInt (line 16) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { FILE: testdata/simple_cgo/main.go function main (line 59) | func main() { FILE: testdata/single_file_api/main.go function op (line 12) | func op() bool { FILE: testdata/state/api/api.go function GetStringByInt (line 17) | func GetStringByInt(w http.ResponseWriter, r *http.Request) { function GetStructArrayByString (line 41) | func GetStructArrayByString(w http.ResponseWriter, r *http.Request) { function Upload (line 56) | func Upload(w http.ResponseWriter, r *http.Request) { function AnonymousField (line 63) | func AnonymousField() { function Pet2 (line 70) | func Pet2() { type Pet3 (line 74) | type Pet3 struct FILE: testdata/state/api/api_user.go function GetStringByIntUser (line 17) | func GetStringByIntUser(w http.ResponseWriter, r *http.Request) { function GetStructArrayByStringUser (line 41) | func GetStructArrayByStringUser(w http.ResponseWriter, r *http.Request) { function UploadUser (line 56) | func UploadUser(w http.ResponseWriter, r *http.Request) { function AnonymousFieldUser (line 63) | func AnonymousFieldUser() { function Pet2User (line 70) | func Pet2User() { type Pet3User (line 74) | type Pet3User struct FILE: testdata/state/main.go function main (line 24) | func main() { FILE: testdata/state/web/handler.go type Pet (line 10) | type Pet struct type Tag (line 37) | type Tag struct type Pet2 (line 43) | type Pet2 struct type APIError (line 49) | type APIError struct type RevValueBase (line 55) | type RevValueBase struct type RevValue (line 60) | type RevValue struct FILE: testdata/struct_comment/api/api.go function GetPost (line 14) | func GetPost(w http.ResponseWriter, r *http.Request) { FILE: testdata/struct_comment/main.go function main (line 14) | func main() { FILE: testdata/struct_comment/web/handler.go type Post (line 7) | type Post struct type APIError (line 22) | type APIError struct FILE: testdata/tags/main.go function main (line 12) | func main() {} FILE: testdata/tags2/main.go function main (line 12) | func main() {} FILE: testdata/tags_nonexistend_tag/main.go function main (line 11) | func main() {} FILE: testdata/templated.go function main (line 45) | func main() {} FILE: types.go type Schema (line 12) | type Schema struct type TypeSpecDef (line 19) | type TypeSpecDef struct method Name (line 38) | func (t *TypeSpecDef) Name() string { method TypeName (line 47) | func (t *TypeSpecDef) TypeName() string { method FullPath (line 72) | func (t *TypeSpecDef) FullPath() string { method Alias (line 76) | func (t *TypeSpecDef) Alias() string { method SetSchemaName (line 80) | func (t *TypeSpecDef) SetSchemaName() { type AstFileInfo (line 90) | type AstFileInfo struct FILE: utils.go function FieldsFunc (line 9) | func FieldsFunc(s string, f func(rune2 rune) bool, n int) []string { function FieldsByAnySpace (line 56) | func FieldsByAnySpace(s string, n int) []string { function AppendDescription (line 62) | func AppendDescription(current, addition string) string { FILE: utils_test.go function TestFieldsByAnySpace (line 9) | func TestFieldsByAnySpace(t *testing.T) { function TestAppendDescription (line 41) | func TestAppendDescription(t *testing.T) { FILE: version.go constant Version (line 4) | Version = "v1.16.7"