>>> go-swag: Building testing/go-swag 1.16.4-r0 (using abuild 3.14.0-r0) started Mon, 21 Oct 2024 19:30:20 +0000 >>> go-swag: Validating /home/buildozer/aports/testing/go-swag/APKBUILD... >>> WARNING: go-swag: Setting the maintainer with a comment is deprecated. Use maintainer="leso-kn " instead >>> WARNING: go-swag: Go packages require network connection to build. Maybe add 'net' to options >>> go-swag: Analyzing dependencies... >>> go-swag: Installing for build: build-base go (1/2) Installing go (1.23.2-r0) (2/2) Installing .makedepends-go-swag (20241021.193022) Executing busybox-1.37.0-r3.trigger OK: 478 MiB in 110 packages >>> go-swag: Cleaning up srcdir >>> go-swag: Cleaning up pkgdir >>> go-swag: Cleaning up tmpdir >>> go-swag: Fetching https://distfiles.alpinelinux.org/distfiles/edge/go-swag-1.16.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> go-swag: Fetching go-swag-1.16.4.tar.gz::https://github.com/swaggo/swag/archive/refs/tags/v1.16.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 279k 100 279k 0 0 133k 0 0:00:02 0:00:02 --:--:-- 273k 100 279k 100 279k 0 0 133k 0 0:00:02 0:00:02 --:--:-- 273k >>> go-swag: Fetching https://distfiles.alpinelinux.org/distfiles/edge/go-swag-1.16.4.tar.gz >>> go-swag: Checking sha512sums... go-swag-1.16.4.tar.gz: OK >>> go-swag: Unpacking /var/cache/distfiles/go-swag-1.16.4.tar.gz... go: downloading github.com/urfave/cli/v2 v2.3.0 go: downloading github.com/go-openapi/spec v0.20.4 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading golang.org/x/text v0.14.0 go: downloading golang.org/x/tools v0.7.0 go: downloading github.com/KyleBanks/depth v1.2.1 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/go-openapi/jsonpointer v0.19.5 go: downloading github.com/go-openapi/swag v0.19.15 go: downloading github.com/go-openapi/jsonreference v0.19.6 go: downloading github.com/PuerkitoBio/purell v1.1.1 go: downloading github.com/mailru/easyjson v0.7.6 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d go: downloading golang.org/x/sys v0.18.0 go: downloading golang.org/x/net v0.23.0 go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 go: downloading github.com/russross/blackfriday/v2 v2.0.1 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0 /usr/bin/go mod tidy go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.0 go: downloading golang.org/x/mod v0.9.0 go: downloading gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f go: downloading github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e go: downloading github.com/kr/text v0.2.0 /usr/bin/go build -o swag ./cmd/swag echo "mode: count" > coverage.out for PKG in github.com/swaggo/swag github.com/swaggo/swag/cmd/swag github.com/swaggo/swag/gen github.com/swaggo/swag/format; do \ /usr/bin/go test -v -covermode=count -coverprofile=profile.out $PKG > tmp.out; \ cat tmp.out; \ if grep -q "^--- FAIL" tmp.out; then \ rm tmp.out; \ exit 1; \ elif grep -q "build failed" tmp.out; then \ rm tmp.out; \ exit; \ fi; \ if [ -f profile.out ]; then \ cat profile.out | grep -v "mode:" >> coverage.out; \ rm profile.out; \ fi; \ done === RUN TestParseGlobalEnums 2024/10/21 19:30:48 Generate general API Info, search dir:testdata/enums 2024/10/21 19:30:48 Generating types.Person 2024/10/21 19:30:48 Generating types.Class 2024/10/21 19:30:48 Generating types.Mask 2024/10/21 19:30:48 Generating types.Type 2024/10/21 19:30:48 Generating types.PersonWithArrayEnum --- PASS: TestParseGlobalEnums (0.02s) === RUN TestDefaultFieldParser === RUN TestDefaultFieldParser/Example_tag === PAUSE TestDefaultFieldParser/Example_tag === RUN TestDefaultFieldParser/Format_tag === PAUSE TestDefaultFieldParser/Format_tag === RUN TestDefaultFieldParser/Title_tag === PAUSE TestDefaultFieldParser/Title_tag === RUN TestDefaultFieldParser/Required_tag === PAUSE TestDefaultFieldParser/Required_tag === RUN TestDefaultFieldParser/Default_required_tag === PAUSE TestDefaultFieldParser/Default_required_tag === RUN TestDefaultFieldParser/Optional_tag === PAUSE TestDefaultFieldParser/Optional_tag === RUN TestDefaultFieldParser/Extensions_tag === PAUSE TestDefaultFieldParser/Extensions_tag === RUN TestDefaultFieldParser/Enums_tag === PAUSE TestDefaultFieldParser/Enums_tag === RUN TestDefaultFieldParser/EnumVarNames_tag === PAUSE TestDefaultFieldParser/EnumVarNames_tag === RUN TestDefaultFieldParser/Default_tag === PAUSE TestDefaultFieldParser/Default_tag === RUN TestDefaultFieldParser/Numeric_value === PAUSE TestDefaultFieldParser/Numeric_value === RUN TestDefaultFieldParser/String_value === PAUSE TestDefaultFieldParser/String_value === RUN TestDefaultFieldParser/Readonly_tag === PAUSE TestDefaultFieldParser/Readonly_tag === RUN TestDefaultFieldParser/Invalid_tag === PAUSE TestDefaultFieldParser/Invalid_tag === CONT TestDefaultFieldParser/Example_tag === CONT TestDefaultFieldParser/Numeric_value === CONT TestDefaultFieldParser/Default_tag === CONT TestDefaultFieldParser/Readonly_tag === CONT TestDefaultFieldParser/Extensions_tag === CONT TestDefaultFieldParser/Default_required_tag === CONT TestDefaultFieldParser/Optional_tag === CONT TestDefaultFieldParser/Required_tag === CONT TestDefaultFieldParser/Title_tag === CONT TestDefaultFieldParser/Format_tag === CONT TestDefaultFieldParser/Invalid_tag === CONT TestDefaultFieldParser/String_value === CONT TestDefaultFieldParser/Enums_tag === CONT TestDefaultFieldParser/EnumVarNames_tag --- PASS: TestDefaultFieldParser (0.00s) --- PASS: TestDefaultFieldParser/Example_tag (0.00s) --- PASS: TestDefaultFieldParser/Default_tag (0.00s) --- PASS: TestDefaultFieldParser/Numeric_value (0.00s) --- PASS: TestDefaultFieldParser/Extensions_tag (0.00s) --- PASS: TestDefaultFieldParser/Default_required_tag (0.00s) --- PASS: TestDefaultFieldParser/Readonly_tag (0.00s) --- PASS: TestDefaultFieldParser/Optional_tag (0.00s) --- PASS: TestDefaultFieldParser/Required_tag (0.00s) --- PASS: TestDefaultFieldParser/Title_tag (0.00s) --- PASS: TestDefaultFieldParser/Format_tag (0.00s) --- PASS: TestDefaultFieldParser/Invalid_tag (0.00s) --- PASS: TestDefaultFieldParser/String_value (0.00s) --- PASS: TestDefaultFieldParser/Enums_tag (0.00s) --- PASS: TestDefaultFieldParser/EnumVarNames_tag (0.00s) === RUN TestValidTags === RUN TestValidTags/Required_with_max/min_tag === PAUSE TestValidTags/Required_with_max/min_tag === RUN TestValidTags/Required_with_oneof_tag === PAUSE TestValidTags/Required_with_oneof_tag === RUN TestValidTags/Required_with_unique_tag === PAUSE TestValidTags/Required_with_unique_tag === RUN TestValidTags/All_tag === PAUSE TestValidTags/All_tag === RUN TestValidTags/Form_Filed_Name === PAUSE TestValidTags/Form_Filed_Name === RUN TestValidTags/Two_Names === PAUSE TestValidTags/Two_Names === CONT TestValidTags/Required_with_max/min_tag === CONT TestValidTags/Two_Names === CONT TestValidTags/Form_Filed_Name === CONT TestValidTags/All_tag === CONT TestValidTags/Required_with_unique_tag === CONT TestValidTags/Required_with_oneof_tag --- PASS: TestValidTags (0.00s) --- PASS: TestValidTags/Required_with_max/min_tag (0.00s) --- PASS: TestValidTags/Two_Names (0.00s) --- PASS: TestValidTags/Form_Filed_Name (0.00s) --- PASS: TestValidTags/All_tag (0.00s) --- PASS: TestValidTags/Required_with_unique_tag (0.00s) --- PASS: TestValidTags/Required_with_oneof_tag (0.00s) === RUN Test_FormatMain --- PASS: Test_FormatMain (0.00s) === RUN Test_FormatMultipleFunctions --- PASS: Test_FormatMultipleFunctions (0.00s) === RUN Test_FormatApi --- PASS: Test_FormatApi (0.00s) === RUN Test_NonSwagComment --- PASS: Test_NonSwagComment (0.00s) === RUN Test_EmptyComment --- PASS: Test_EmptyComment (0.00s) === RUN Test_AlignAttribute --- PASS: Test_AlignAttribute (0.00s) === RUN Test_SyntaxError --- PASS: Test_SyntaxError (0.00s) === RUN Test_splitComment2 === RUN Test_splitComment2/test_splitComment2_1 === RUN Test_splitComment2/test_splitComment2_2 === RUN Test_splitComment2/test_splitComment2_3 --- PASS: Test_splitComment2 (0.00s) --- PASS: Test_splitComment2/test_splitComment2_1 (0.00s) --- PASS: Test_splitComment2/test_splitComment2_2 (0.00s) --- PASS: Test_splitComment2/test_splitComment2_3 (0.00s) === RUN TestParseGenericsBasic === PAUSE TestParseGenericsBasic === RUN TestParseGenericsArrays === PAUSE TestParseGenericsArrays === RUN TestParseGenericsNested === PAUSE TestParseGenericsNested === RUN TestParseGenericsMultiLevelNesting === PAUSE TestParseGenericsMultiLevelNesting === RUN TestParseGenericsProperty === PAUSE TestParseGenericsProperty === RUN TestParseGenericsNames === PAUSE TestParseGenericsNames === RUN TestParseGenericsPackageAlias === PAUSE TestParseGenericsPackageAlias === RUN TestParseGenericsFunctionScoped === PAUSE TestParseGenericsFunctionScoped === RUN TestParametrizeStruct --- PASS: TestParametrizeStruct (0.00s) === RUN TestSplitGenericsTypeNames === PAUSE TestSplitGenericsTypeNames === RUN TestGetGenericFieldType --- PASS: TestGetGenericFieldType (0.00s) === RUN TestGetGenericTypeName --- PASS: TestGetGenericTypeName (0.00s) === RUN TestParseGenericTypeExpr === PAUSE TestParseGenericTypeExpr === RUN TestListPackages === RUN TestListPackages/errorArgs === RUN TestListPackages/normal === RUN TestListPackages/list_error --- PASS: TestListPackages (0.29s) --- PASS: TestListPackages/errorArgs (0.00s) --- PASS: TestListPackages/normal (0.28s) --- PASS: TestListPackages/list_error (0.00s) === RUN TestGetAllGoFileInfoFromDepsByList === RUN TestGetAllGoFileInfoFromDepsByList/normal === RUN TestGetAllGoFileInfoFromDepsByList/ignore_internal === RUN TestGetAllGoFileInfoFromDepsByList/gofiles_error === RUN TestGetAllGoFileInfoFromDepsByList/cgofiles_error --- PASS: TestGetAllGoFileInfoFromDepsByList (0.00s) --- PASS: TestGetAllGoFileInfoFromDepsByList/normal (0.00s) --- PASS: TestGetAllGoFileInfoFromDepsByList/ignore_internal (0.00s) --- PASS: TestGetAllGoFileInfoFromDepsByList/gofiles_error (0.00s) --- PASS: TestGetAllGoFileInfoFromDepsByList/cgofiles_error (0.00s) === RUN TestParseEmptyComment === PAUSE TestParseEmptyComment === RUN TestParseTagsComment === PAUSE TestParseTagsComment === RUN TestParseAcceptComment === PAUSE TestParseAcceptComment === RUN TestParseAcceptCommentErr === PAUSE TestParseAcceptCommentErr === RUN TestParseProduceComment === PAUSE TestParseProduceComment === RUN TestParseProduceCommentErr === PAUSE TestParseProduceCommentErr === RUN TestParseRouterComment === PAUSE TestParseRouterComment === RUN TestParseRouterMultipleComments === PAUSE TestParseRouterMultipleComments === RUN TestParseRouterOnlySlash === PAUSE TestParseRouterOnlySlash === RUN TestParseRouterCommentWithPlusSign === PAUSE TestParseRouterCommentWithPlusSign === RUN TestParseRouterCommentWithDollarSign === PAUSE TestParseRouterCommentWithDollarSign === RUN TestParseRouterCommentWithParens === PAUSE TestParseRouterCommentWithParens === RUN TestParseRouterCommentNoDollarSignAtPathStartErr === PAUSE TestParseRouterCommentNoDollarSignAtPathStartErr === RUN TestParseRouterCommentWithColonSign === PAUSE TestParseRouterCommentWithColonSign === RUN TestParseRouterCommentNoColonSignAtPathStartErr === PAUSE TestParseRouterCommentNoColonSignAtPathStartErr === RUN TestParseRouterCommentMethodSeparationErr === PAUSE TestParseRouterCommentMethodSeparationErr === RUN TestParseRouterCommentMethodMissingErr === PAUSE TestParseRouterCommentMethodMissingErr === RUN TestOperation_ParseResponseWithDefault === PAUSE TestOperation_ParseResponseWithDefault === RUN TestParseResponseSuccessCommentWithEmptyResponse === PAUSE TestParseResponseSuccessCommentWithEmptyResponse === RUN TestParseResponseFailureCommentWithEmptyResponse === PAUSE TestParseResponseFailureCommentWithEmptyResponse === RUN TestParseResponseCommentWithObjectType === PAUSE TestParseResponseCommentWithObjectType === RUN TestParseResponseCommentWithNestedPrimitiveType === PAUSE TestParseResponseCommentWithNestedPrimitiveType === RUN TestParseResponseCommentWithNestedPrimitiveArrayType === PAUSE TestParseResponseCommentWithNestedPrimitiveArrayType === RUN TestParseResponseCommentWithNestedObjectType === PAUSE TestParseResponseCommentWithNestedObjectType === RUN TestParseResponseCommentWithNestedArrayObjectType === PAUSE TestParseResponseCommentWithNestedArrayObjectType === RUN TestParseResponseCommentWithNestedFields === PAUSE TestParseResponseCommentWithNestedFields === RUN TestParseResponseCommentWithDeepNestedFields === PAUSE TestParseResponseCommentWithDeepNestedFields === RUN TestParseResponseCommentWithNestedArrayMapFields === PAUSE TestParseResponseCommentWithNestedArrayMapFields === RUN TestParseResponseCommentWithObjectTypeInSameFile === PAUSE TestParseResponseCommentWithObjectTypeInSameFile === RUN TestParseResponseCommentWithObjectTypeAnonymousField --- PASS: TestParseResponseCommentWithObjectTypeAnonymousField (0.00s) === RUN TestParseResponseCommentWithObjectTypeErr === PAUSE TestParseResponseCommentWithObjectTypeErr === RUN TestParseResponseCommentWithArrayType === PAUSE TestParseResponseCommentWithArrayType === RUN TestParseResponseCommentWithBasicType === PAUSE TestParseResponseCommentWithBasicType === RUN TestParseResponseCommentWithBasicTypeAndCodes === PAUSE TestParseResponseCommentWithBasicTypeAndCodes === RUN TestParseEmptyResponseComment === PAUSE TestParseEmptyResponseComment === RUN TestParseEmptyResponseCommentWithCodes === PAUSE TestParseEmptyResponseCommentWithCodes === RUN TestParseResponseCommentWithHeader === PAUSE TestParseResponseCommentWithHeader === RUN TestParseResponseCommentWithHeaderForCodes === PAUSE TestParseResponseCommentWithHeaderForCodes === RUN TestParseResponseCommentWithHeaderOnlyAll === PAUSE TestParseResponseCommentWithHeaderOnlyAll === RUN TestParseEmptyResponseOnlyCode === PAUSE TestParseEmptyResponseOnlyCode === RUN TestParseEmptyResponseOnlyCodes === PAUSE TestParseEmptyResponseOnlyCodes === RUN TestParseResponseCommentParamMissing === PAUSE TestParseResponseCommentParamMissing === RUN TestOperation_ParseParamComment === PAUSE TestOperation_ParseParamComment === RUN TestParseParamCommentBodyArray === PAUSE TestParseParamCommentBodyArray === RUN TestParseParamCommentArray === RUN TestParseParamCommentArray/header === RUN TestParseParamCommentArray/path === RUN TestParseParamCommentArray/query --- PASS: TestParseParamCommentArray (0.00s) --- PASS: TestParseParamCommentArray/header (0.00s) --- PASS: TestParseParamCommentArray/path (0.00s) --- PASS: TestParseParamCommentArray/query (0.00s) === RUN TestParseParamCommentDefaultValue === PAUSE TestParseParamCommentDefaultValue === RUN TestParseParamCommentQueryArrayFormat === PAUSE TestParseParamCommentQueryArrayFormat === RUN TestParseParamCommentByID === PAUSE TestParseParamCommentByID === RUN TestParseParamCommentWithMultilineDescriptions === PAUSE TestParseParamCommentWithMultilineDescriptions === RUN TestParseParamCommentByQueryType === PAUSE TestParseParamCommentByQueryType === RUN TestParseParamCommentByBodyType === PAUSE TestParseParamCommentByBodyType === RUN TestParseParamCommentByBodyTextPlain === PAUSE TestParseParamCommentByBodyTextPlain === RUN TestParseParamCommentByBodyEnumsText === PAUSE TestParseParamCommentByBodyEnumsText === RUN TestParseParamCommentByBodyTypeWithDeepNestedFields === PAUSE TestParseParamCommentByBodyTypeWithDeepNestedFields === RUN TestParseParamCommentByBodyTypeArrayOfPrimitiveGo === PAUSE TestParseParamCommentByBodyTypeArrayOfPrimitiveGo === RUN TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFields === PAUSE TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFields === RUN TestParseParamCommentByBodyTypeErr === PAUSE TestParseParamCommentByBodyTypeErr === RUN TestParseParamCommentByFormDataType === PAUSE TestParseParamCommentByFormDataType === RUN TestParseParamCommentByFormDataTypeUint64 === PAUSE TestParseParamCommentByFormDataTypeUint64 === RUN TestParseParamCommentByNotSupportedType === PAUSE TestParseParamCommentByNotSupportedType === RUN TestParseParamCommentNotMatch === PAUSE TestParseParamCommentNotMatch === RUN TestParseParamCommentByEnums === PAUSE TestParseParamCommentByEnums === RUN TestParseParamCommentByMaxLength === PAUSE TestParseParamCommentByMaxLength === RUN TestParseParamCommentByMinLength === PAUSE TestParseParamCommentByMinLength === RUN TestParseParamCommentByMinimum === PAUSE TestParseParamCommentByMinimum === RUN TestParseParamCommentByMaximum === PAUSE TestParseParamCommentByMaximum === RUN TestParseParamCommentByDefault === PAUSE TestParseParamCommentByDefault === RUN TestParseParamCommentByExampleInt === PAUSE TestParseParamCommentByExampleInt === RUN TestParseParamCommentByExampleString === PAUSE TestParseParamCommentByExampleString === RUN TestParseParamCommentByExampleUnsupportedType === PAUSE TestParseParamCommentByExampleUnsupportedType === RUN TestParseParamCommentBySchemaExampleString === PAUSE TestParseParamCommentBySchemaExampleString === RUN TestParseParamCommentBySchemaExampleUnsupportedType === PAUSE TestParseParamCommentBySchemaExampleUnsupportedType === RUN TestParseParamArrayWithEnums === PAUSE TestParseParamArrayWithEnums === RUN TestParseAndExtractionParamAttribute === PAUSE TestParseAndExtractionParamAttribute === RUN TestParseParamCommentByExtensions --- PASS: TestParseParamCommentByExtensions (0.00s) === RUN TestParseParamStructCodeExample === PAUSE TestParseParamStructCodeExample === RUN TestParseIdComment === PAUSE TestParseIdComment === RUN TestFindTypeDefCoreLib === PAUSE TestFindTypeDefCoreLib === RUN TestFindTypeDefExternalPkg === PAUSE TestFindTypeDefExternalPkg === RUN TestFindTypeDefInvalidPkg === PAUSE TestFindTypeDefInvalidPkg === RUN TestParseSecurityComment === PAUSE TestParseSecurityComment === RUN TestParseSecurityCommentSimple === PAUSE TestParseSecurityCommentSimple === RUN TestParseSecurityCommentOr === PAUSE TestParseSecurityCommentOr === RUN TestParseMultiDescription === PAUSE TestParseMultiDescription === RUN TestParseDescriptionMarkdown === PAUSE TestParseDescriptionMarkdown === RUN TestParseSummary === PAUSE TestParseSummary === RUN TestParseDeprecationDescription === PAUSE TestParseDeprecationDescription === RUN TestParseExtentions === PAUSE TestParseExtentions === RUN TestFindInSlice === PAUSE TestFindInSlice === RUN TestParseResponseHeaderComment === PAUSE TestParseResponseHeaderComment === RUN TestParseObjectSchema === PAUSE TestParseObjectSchema === RUN TestParseCodeSamples === PAUSE TestParseCodeSamples === RUN TestParseDeprecatedRouter 2024/10/21 19:30:49 Generate general API Info, search dir:./testdata/deprecated_router --- PASS: TestParseDeprecatedRouter (0.02s) === RUN TestPackagesDefinitions_ParseFile --- PASS: TestPackagesDefinitions_ParseFile (0.00s) === RUN TestPackagesDefinitions_collectAstFile --- PASS: TestPackagesDefinitions_collectAstFile (0.00s) === RUN TestPackagesDefinitions_rangeFiles --- PASS: TestPackagesDefinitions_rangeFiles (0.00s) === RUN TestPackagesDefinitions_ParseTypes --- PASS: TestPackagesDefinitions_ParseTypes (0.00s) === RUN TestPackagesDefinitions_parseFunctionScopedTypesFromFile --- PASS: TestPackagesDefinitions_parseFunctionScopedTypesFromFile (0.00s) === RUN TestPackagesDefinitions_FindTypeSpec --- PASS: TestPackagesDefinitions_FindTypeSpec (0.00s) === RUN TestPackage_rangeFiles --- PASS: TestPackage_rangeFiles (0.00s) === RUN TestPackagesDefinitions_findTypeSpec --- PASS: TestPackagesDefinitions_findTypeSpec (0.00s) === RUN TestNew === RUN TestNew/SetMarkdownFileDirectory === PAUSE TestNew/SetMarkdownFileDirectory === RUN TestNew/SetCodeExamplesDirectory === PAUSE TestNew/SetCodeExamplesDirectory === RUN TestNew/SetStrict === PAUSE TestNew/SetStrict === RUN TestNew/SetDebugger === PAUSE TestNew/SetDebugger === RUN TestNew/SetFieldParserFactory === PAUSE TestNew/SetFieldParserFactory === CONT TestNew/SetMarkdownFileDirectory === CONT TestNew/SetFieldParserFactory === CONT TestNew/SetStrict === CONT TestNew/SetDebugger === CONT TestNew/SetCodeExamplesDirectory --- PASS: TestNew (0.00s) --- PASS: TestNew/SetMarkdownFileDirectory (0.00s) --- PASS: TestNew/SetFieldParserFactory (0.00s) --- PASS: TestNew/SetStrict (0.00s) --- PASS: TestNew/SetDebugger (0.00s) --- PASS: TestNew/SetCodeExamplesDirectory (0.00s) === RUN TestSetOverrides === PAUSE TestSetOverrides === RUN TestOverrides_getTypeSchema === PAUSE TestOverrides_getTypeSchema === RUN TestParser_ParseDefinition 2024/10/21 19:30:49 Skipping 'swag.Test', already parsed. 2024/10/21 19:30:49 Generating model.Test 2024/10/21 19:30:49 Error parsing type definition 'model.Test': field type is func 2024/10/21 19:30:49 Generating model.TestFuncDecl.Test 2024/10/21 19:30:49 Error parsing type definition 'model.TestFuncDecl.Test': field type is func --- PASS: TestParser_ParseDefinition (0.00s) === RUN TestParser_ParseGeneralApiInfo === PAUSE TestParser_ParseGeneralApiInfo === RUN TestParser_ParseGeneralApiInfoTemplated === PAUSE TestParser_ParseGeneralApiInfoTemplated === RUN TestParser_ParseGeneralApiInfoExtensions === RUN TestParser_ParseGeneralApiInfoExtensions/Test_invalid_extension_value === PAUSE TestParser_ParseGeneralApiInfoExtensions/Test_invalid_extension_value === RUN TestParser_ParseGeneralApiInfoExtensions/Test_missing_extension_value === PAUSE TestParser_ParseGeneralApiInfoExtensions/Test_missing_extension_value === CONT TestParser_ParseGeneralApiInfoExtensions/Test_invalid_extension_value === CONT TestParser_ParseGeneralApiInfoExtensions/Test_missing_extension_value --- PASS: TestParser_ParseGeneralApiInfoExtensions (0.00s) --- PASS: TestParser_ParseGeneralApiInfoExtensions/Test_invalid_extension_value (0.00s) --- PASS: TestParser_ParseGeneralApiInfoExtensions/Test_missing_extension_value (0.00s) === RUN TestParser_ParseGeneralApiInfoWithOpsInSameFile === PAUSE TestParser_ParseGeneralApiInfoWithOpsInSameFile === RUN TestParser_ParseGeneralAPIInfoMarkdown === PAUSE TestParser_ParseGeneralAPIInfoMarkdown === RUN TestParser_ParseGeneralApiInfoFailed === PAUSE TestParser_ParseGeneralApiInfoFailed === RUN TestParser_ParseAcceptComment === PAUSE TestParser_ParseAcceptComment === RUN TestParser_ParseProduceComment === PAUSE TestParser_ParseProduceComment === RUN TestParser_ParseGeneralAPIInfoCollectionFormat === PAUSE TestParser_ParseGeneralAPIInfoCollectionFormat === RUN TestParser_ParseGeneralAPITagGroups === PAUSE TestParser_ParseGeneralAPITagGroups === RUN TestParser_ParseGeneralAPITagDocs === PAUSE TestParser_ParseGeneralAPITagDocs === RUN TestParser_ParseGeneralAPITagDocsWithTagFilters === PAUSE TestParser_ParseGeneralAPITagDocsWithTagFilters === RUN TestParser_ParseGeneralAPISecurity === RUN TestParser_ParseGeneralAPISecurity/ApiKey === PAUSE TestParser_ParseGeneralAPISecurity/ApiKey === RUN TestParser_ParseGeneralAPISecurity/OAuth2Application === PAUSE TestParser_ParseGeneralAPISecurity/OAuth2Application === RUN TestParser_ParseGeneralAPISecurity/OAuth2Implicit === PAUSE TestParser_ParseGeneralAPISecurity/OAuth2Implicit === RUN TestParser_ParseGeneralAPISecurity/OAuth2Password === PAUSE TestParser_ParseGeneralAPISecurity/OAuth2Password === RUN TestParser_ParseGeneralAPISecurity/OAuth2AccessCode === PAUSE TestParser_ParseGeneralAPISecurity/OAuth2AccessCode === CONT TestParser_ParseGeneralAPISecurity/ApiKey === CONT TestParser_ParseGeneralAPISecurity/OAuth2Password === CONT TestParser_ParseGeneralAPISecurity/OAuth2Application === CONT TestParser_ParseGeneralAPISecurity/OAuth2AccessCode === CONT TestParser_ParseGeneralAPISecurity/OAuth2Implicit --- PASS: TestParser_ParseGeneralAPISecurity (0.00s) --- PASS: TestParser_ParseGeneralAPISecurity/OAuth2Password (0.00s) --- PASS: TestParser_ParseGeneralAPISecurity/OAuth2AccessCode (0.00s) --- PASS: TestParser_ParseGeneralAPISecurity/ApiKey (0.00s) --- PASS: TestParser_ParseGeneralAPISecurity/OAuth2Application (0.00s) --- PASS: TestParser_ParseGeneralAPISecurity/OAuth2Implicit (0.00s) === RUN TestParser_RefWithOtherPropertiesIsWrappedInAllOf === RUN TestParser_RefWithOtherPropertiesIsWrappedInAllOf/Readonly 2024/10/21 19:30:49 Generating main.Student 2024/10/21 19:30:49 Generating main.Teacher --- PASS: TestParser_RefWithOtherPropertiesIsWrappedInAllOf (0.00s) --- PASS: TestParser_RefWithOtherPropertiesIsWrappedInAllOf/Readonly (0.00s) === RUN TestGetAllGoFileInfo === PAUSE TestGetAllGoFileInfo === RUN TestParser_ParseType === PAUSE TestParser_ParseType === RUN TestParseSimpleApi1 === PAUSE TestParseSimpleApi1 === RUN TestParseInterfaceAndError === PAUSE TestParseInterfaceAndError === RUN TestParseSimpleApi_ForSnakecase === PAUSE TestParseSimpleApi_ForSnakecase === RUN TestParseSimpleApi_ForLowerCamelcase === PAUSE TestParseSimpleApi_ForLowerCamelcase === RUN TestParseStructComment === PAUSE TestParseStructComment === RUN TestParseNonExportedJSONFields === PAUSE TestParseNonExportedJSONFields === RUN TestParsePetApi === PAUSE TestParsePetApi === RUN TestParseModelAsTypeAlias === PAUSE TestParseModelAsTypeAlias === RUN TestParseComposition === PAUSE TestParseComposition === RUN TestParseImportAliases === PAUSE TestParseImportAliases === RUN TestParseTypeOverrides === PAUSE TestParseTypeOverrides === RUN TestGlobalSecurity === PAUSE TestGlobalSecurity === RUN TestParseNested === PAUSE TestParseNested === RUN TestParseDuplicated === PAUSE TestParseDuplicated === RUN TestParseDuplicatedOtherMethods === PAUSE TestParseDuplicatedOtherMethods === RUN TestParseDuplicatedFunctionScoped === PAUSE TestParseDuplicatedFunctionScoped === RUN TestParseConflictSchemaName === PAUSE TestParseConflictSchemaName === RUN TestParseExternalModels 2024/10/21 19:30:49 Generate general API Info, search dir:testdata/external_models/main 2024/10/21 19:30:50 Generating http.Header --- PASS: TestParseExternalModels (1.26s) === RUN TestParseGoList === RUN TestParseGoList/disableGOMODULE 2024/10/21 19:30:50 Generate general API Info, search dir:testdata/golist_disablemodule === RUN TestParseGoList/enableGOMODULE 2024/10/21 19:30:50 Generate general API Info, search dir:testdata/golist 2024/10/21 19:30:51 Generating api.Foo 2024/10/21 19:30:51 Generating web.APIError === RUN TestParseGoList/invalid_main 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/golist_invalid === RUN TestParseGoList/internal_invalid_pkg 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/golist_invalid 2024/10/21 19:30:51 warning: failed to get package name in dir: testdata/golist_invalid, error: execute go list command, exit status 1, stdout:, stderr:found packages invalid (err.go) and main (main.go) in /home/buildozer/aports/testing/go-swag/src/swag-1.16.4/testdata/golist_invalid === RUN TestParseGoList/invalid_pkg 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/golist_invalid --- PASS: TestParseGoList (1.18s) --- PASS: TestParseGoList/disableGOMODULE (0.43s) --- PASS: TestParseGoList/enableGOMODULE (0.39s) --- PASS: TestParseGoList/invalid_main (0.05s) --- PASS: TestParseGoList/internal_invalid_pkg (0.04s) --- PASS: TestParseGoList/invalid_pkg (0.26s) === RUN TestParser_ParseStructArrayObject === PAUSE TestParser_ParseStructArrayObject === RUN TestParser_ParseEmbededStruct === PAUSE TestParser_ParseEmbededStruct === RUN TestParser_ParseStructPointerMembers === PAUSE TestParser_ParseStructPointerMembers === RUN TestParser_ParseStructMapMember === PAUSE TestParser_ParseStructMapMember === RUN TestParser_ParseRouterApiInfoErr === PAUSE TestParser_ParseRouterApiInfoErr === RUN TestParser_ParseRouterApiGet === PAUSE TestParser_ParseRouterApiGet === RUN TestParser_ParseRouterApiPOST === PAUSE TestParser_ParseRouterApiPOST === RUN TestParser_ParseRouterApiDELETE === PAUSE TestParser_ParseRouterApiDELETE === RUN TestParser_ParseRouterApiPUT === PAUSE TestParser_ParseRouterApiPUT === RUN TestParser_ParseRouterApiPATCH === PAUSE TestParser_ParseRouterApiPATCH === RUN TestParser_ParseRouterApiHead === PAUSE TestParser_ParseRouterApiHead === RUN TestParser_ParseRouterApiOptions === PAUSE TestParser_ParseRouterApiOptions === RUN TestParser_ParseRouterApiMultipleRoutesForSameFunction === PAUSE TestParser_ParseRouterApiMultipleRoutesForSameFunction === RUN TestParser_ParseRouterApiMultiple === PAUSE TestParser_ParseRouterApiMultiple === RUN TestParser_ParseRouterApiMultiplePathsWithMultipleParams === PAUSE TestParser_ParseRouterApiMultiplePathsWithMultipleParams === RUN TestParser_ParseRouterApiDuplicateRoute === PAUSE TestParser_ParseRouterApiDuplicateRoute === RUN TestApiParseTag === PAUSE TestApiParseTag === RUN TestApiParseTag_NonExistendTag === PAUSE TestApiParseTag_NonExistendTag === RUN TestParseTagMarkdownDescription === PAUSE TestParseTagMarkdownDescription === RUN TestParseApiMarkdownDescription === PAUSE TestParseApiMarkdownDescription === RUN TestIgnoreInvalidPkg === PAUSE TestIgnoreInvalidPkg === RUN TestFixes432 === PAUSE TestFixes432 === RUN TestParseOutsideDependencies === PAUSE TestParseOutsideDependencies === RUN TestParseStructParamCommentByQueryType === PAUSE TestParseStructParamCommentByQueryType === RUN TestParseParamCommentExtension === PAUSE TestParseParamCommentExtension === RUN TestParseRenamedStructDefinition === PAUSE TestParseRenamedStructDefinition === RUN TestParseTabFormattedRenamedStructDefinition === PAUSE TestParseTabFormattedRenamedStructDefinition === RUN TestParseFunctionScopedStructDefinition === PAUSE TestParseFunctionScopedStructDefinition === RUN TestParseFunctionScopedComplexStructDefinition === PAUSE TestParseFunctionScopedComplexStructDefinition === RUN TestParseFunctionScopedStructRequestResponseJSON === PAUSE TestParseFunctionScopedStructRequestResponseJSON === RUN TestParseFunctionScopedComplexStructRequestResponseJSON === PAUSE TestParseFunctionScopedComplexStructRequestResponseJSON === RUN TestPackagesDefinitions_CollectAstFileInit === PAUSE TestPackagesDefinitions_CollectAstFileInit === RUN TestCollectAstFileMultipleTimes === PAUSE TestCollectAstFileMultipleTimes === RUN TestParseJSONFieldString === PAUSE TestParseJSONFieldString === RUN TestParseSwaggerignoreForEmbedded === PAUSE TestParseSwaggerignoreForEmbedded === RUN TestDefineTypeOfExample === RUN TestDefineTypeOfExample/String_type === PAUSE TestDefineTypeOfExample/String_type === RUN TestDefineTypeOfExample/Number_type === PAUSE TestDefineTypeOfExample/Number_type === RUN TestDefineTypeOfExample/Integer_type === PAUSE TestDefineTypeOfExample/Integer_type === RUN TestDefineTypeOfExample/Boolean_type === PAUSE TestDefineTypeOfExample/Boolean_type === RUN TestDefineTypeOfExample/Array_type === PAUSE TestDefineTypeOfExample/Array_type === RUN TestDefineTypeOfExample/Object_type === PAUSE TestDefineTypeOfExample/Object_type === RUN TestDefineTypeOfExample/Invalid_type === PAUSE TestDefineTypeOfExample/Invalid_type === CONT TestDefineTypeOfExample/String_type === CONT TestDefineTypeOfExample/Array_type === CONT TestDefineTypeOfExample/Integer_type === CONT TestDefineTypeOfExample/Number_type === CONT TestDefineTypeOfExample/Invalid_type === CONT TestDefineTypeOfExample/Object_type === CONT TestDefineTypeOfExample/Boolean_type --- PASS: TestDefineTypeOfExample (0.00s) --- PASS: TestDefineTypeOfExample/String_type (0.00s) --- PASS: TestDefineTypeOfExample/Array_type (0.00s) --- PASS: TestDefineTypeOfExample/Integer_type (0.00s) --- PASS: TestDefineTypeOfExample/Number_type (0.00s) --- PASS: TestDefineTypeOfExample/Invalid_type (0.00s) --- PASS: TestDefineTypeOfExample/Boolean_type (0.00s) --- PASS: TestDefineTypeOfExample/Object_type (0.00s) === RUN TestParser_Skip === PAUSE TestParser_Skip === RUN TestGetFieldType === PAUSE TestGetFieldType === RUN TestTryAddDescription === RUN TestTryAddDescription/added_description === RUN TestTryAddDescription/added_description_with_multiline === RUN TestTryAddDescription/no_description === RUN TestTryAddDescription/description_has_invalid_format --- PASS: TestTryAddDescription (0.00s) --- PASS: TestTryAddDescription/added_description (0.00s) --- PASS: TestTryAddDescription/added_description_with_multiline (0.00s) --- PASS: TestTryAddDescription/no_description (0.00s) --- PASS: TestTryAddDescription/description_has_invalid_format (0.00s) === RUN Test_getTagsFromComment === RUN Test_getTagsFromComment/no_tags_comment === RUN Test_getTagsFromComment/empty_comment === RUN Test_getTagsFromComment/tags_comment --- PASS: Test_getTagsFromComment (0.00s) --- PASS: Test_getTagsFromComment/no_tags_comment (0.00s) --- PASS: Test_getTagsFromComment/empty_comment (0.00s) --- PASS: Test_getTagsFromComment/tags_comment (0.00s) === RUN TestParser_matchTags === RUN TestParser_matchTags/no_tags_filter === RUN TestParser_matchTags/with_tags_filter_but_no_match === RUN TestParser_matchTags/with_tags_filter_but_match --- PASS: TestParser_matchTags (0.00s) --- PASS: TestParser_matchTags/no_tags_filter (0.00s) --- PASS: TestParser_matchTags/with_tags_filter_but_no_match (0.00s) --- PASS: TestParser_matchTags/with_tags_filter_but_match (0.00s) === RUN TestParser_parseExtension === RUN TestParser_parseExtension/when_no_flag_is_set,_everything_is_exported === RUN TestParser_parseExtension/when_nonexistent_flag_is_set,_nothing_is_exported === RUN TestParser_parseExtension/when_correct_flag_is_set,_only_that_Path_is_exported --- PASS: TestParser_parseExtension (0.00s) --- PASS: TestParser_parseExtension/when_no_flag_is_set,_everything_is_exported (0.00s) --- PASS: TestParser_parseExtension/when_nonexistent_flag_is_set,_nothing_is_exported (0.00s) --- PASS: TestParser_parseExtension/when_correct_flag_is_set,_only_that_Path_is_exported (0.00s) === RUN TestParser_collectionFormat === RUN TestParser_collectionFormat/no_collectionFormat === RUN TestParser_collectionFormat/multi_collectionFormat === RUN TestParser_collectionFormat/ssv_collectionFormat --- PASS: TestParser_collectionFormat (0.00s) --- PASS: TestParser_collectionFormat/no_collectionFormat (0.00s) --- PASS: TestParser_collectionFormat/multi_collectionFormat (0.00s) --- PASS: TestParser_collectionFormat/ssv_collectionFormat (0.00s) === RUN TestParser_skipPackageByPrefix === PAUSE TestParser_skipPackageByPrefix === RUN TestParser_ParseRouterApiInFuncBody === PAUSE TestParser_ParseRouterApiInFuncBody === RUN TestParser_ParseRouterApiInfoInAndOutFuncBody === PAUSE TestParser_ParseRouterApiInfoInAndOutFuncBody === RUN TestParser_EmbeddedStructAsOtherAliasGoListNested === PAUSE TestParser_EmbeddedStructAsOtherAliasGoListNested === RUN TestValidDataType === PAUSE TestValidDataType === RUN TestTransToValidSchemeType === PAUSE TestTransToValidSchemeType === RUN TestTransToValidCollectionFormat === PAUSE TestTransToValidCollectionFormat === RUN TestIsGolangPrimitiveType === PAUSE TestIsGolangPrimitiveType === RUN TestIsSimplePrimitiveType === PAUSE TestIsSimplePrimitiveType === RUN TestBuildCustomSchema === PAUSE TestBuildCustomSchema === RUN TestIsNumericType === PAUSE TestIsNumericType === RUN TestIsInterfaceLike === PAUSE TestIsInterfaceLike === RUN TestSpec_InstanceName === RUN TestSpec_InstanceName/TestInstanceNameCorrect --- PASS: TestSpec_InstanceName (0.00s) --- PASS: TestSpec_InstanceName/TestInstanceNameCorrect (0.00s) === RUN TestSpec_ReadDoc === RUN TestSpec_ReadDoc/TestReadDocCorrect === RUN TestSpec_ReadDoc/TestReadDocMarshalTrigger === RUN TestSpec_ReadDoc/TestReadDocParseError === RUN TestSpec_ReadDoc/TestReadDocExecuteError === RUN TestSpec_ReadDoc/TestReadDocCustomDelims --- PASS: TestSpec_ReadDoc (0.00s) --- PASS: TestSpec_ReadDoc/TestReadDocCorrect (0.00s) --- PASS: TestSpec_ReadDoc/TestReadDocMarshalTrigger (0.00s) --- PASS: TestSpec_ReadDoc/TestReadDocParseError (0.00s) --- PASS: TestSpec_ReadDoc/TestReadDocExecuteError (0.00s) --- PASS: TestSpec_ReadDoc/TestReadDocCustomDelims (0.00s) === RUN TestRegister --- PASS: TestRegister (0.00s) === RUN TestRegisterByName --- PASS: TestRegisterByName (0.00s) === RUN TestRegisterMultiple --- PASS: TestRegisterMultiple (0.00s) === RUN TestReadDocBeforeRegistered --- PASS: TestReadDocBeforeRegistered (0.00s) === RUN TestReadDocWithInvalidName --- PASS: TestReadDocWithInvalidName (0.00s) === RUN TestNilRegister --- PASS: TestNilRegister (0.00s) === RUN TestCalledTwicelRegister --- PASS: TestCalledTwicelRegister (0.00s) === RUN TestGetSwagger --- PASS: TestGetSwagger (0.00s) === RUN TestFieldsByAnySpace === RUN TestFieldsByAnySpace/test1 === RUN TestFieldsByAnySpace/test2 --- PASS: TestFieldsByAnySpace (0.00s) --- PASS: TestFieldsByAnySpace/test1 (0.00s) --- PASS: TestFieldsByAnySpace/test2 (0.00s) === CONT TestParser_ParseRouterApiInfoInAndOutFuncBody === CONT TestIsGolangPrimitiveType === CONT TestTransToValidSchemeType === CONT TestBuildCustomSchema === CONT TestParser_Skip === CONT TestTransToValidCollectionFormat === CONT TestIsSimplePrimitiveType --- PASS: TestIsGolangPrimitiveType (0.00s) === CONT TestParseSwaggerignoreForEmbedded === CONT TestParseModelAsTypeAlias === CONT TestParseParamCommentByExampleUnsupportedType 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/alias_type === CONT TestParser_EmbeddedStructAsOtherAliasGoListNested === CONT TestParseNonExportedJSONFields === CONT TestParseCodeSamples === CONT TestParseDeprecationDescription === CONT TestParseParamCommentByMinimum === CONT TestParser_ParseRouterApiMultiplePathsWithMultipleParams === CONT TestParseParamCommentByMinLength === CONT TestParseMultiDescription === CONT TestParseParamCommentNotMatch === CONT TestParseObjectSchema === CONT TestParseStructComment === CONT TestParser_ParseGeneralAPIInfoCollectionFormat 2024/10/21 19:30:51 Generating main.Parent 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/alias_nested === CONT TestParseFunctionScopedComplexStructDefinition 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/struct_comment 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/non_exported_json_fields === CONT TestParseFunctionScopedStructDefinition === CONT TestParseParamCommentByMaxLength === CONT TestParseParamCommentBySchemaExampleString === CONT TestParser_ParseRouterApiHead === CONT TestParseRenamedStructDefinition --- PASS: TestTransToValidCollectionFormat (0.00s) 2024/10/21 19:30:51 Generating main.Fun.request 2024/10/21 19:30:51 Generating main.Fun.request 2024/10/21 19:30:51 Generating main.Parent 2024/10/21 19:30:51 Generating main.Child 2024/10/21 19:30:51 Generating main.Fun.response 2024/10/21 19:30:51 Generating user.go.User 2024/10/21 19:30:51 Type definition of type '' is not supported yet. Using 'object' instead. 2024/10/21 19:30:51 Generating main.Fun.child === CONT TestParseSecurityCommentSimple 2024/10/21 19:30:51 Generating main.Fun.grandChild 2024/10/21 19:30:51 Generating main.Fun.response === CONT TestParser_ParseRouterApiPOST 2024/10/21 19:30:51 Generating main.Fun.pointerChild 2024/10/21 19:30:51 Generating main.Fun.arrayChild === CONT TestParser_ParseType === CONT TestParseConflictSchemaName === CONT TestParseSummary 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/conflict_name === CONT TestFindTypeDefInvalidPkg === CONT TestParseOutsideDependencies 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/pare_outside_dependencies === CONT TestParseImportAliases 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/alias_import === CONT TestParseParamCommentByExampleString === CONT TestParser_skipPackageByPrefix === CONT TestParser_ParseStructMapMember === CONT TestParser_ParseRouterApiOptions === CONT TestCollectAstFileMultipleTimes 2024/10/21 19:30:51 Generating api.Parent === CONT TestFixes432 2024/10/21 19:30:51 Generating api.Child 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/fixes-432 === CONT TestParseGenericsBasic === CONT TestParseParamCommentBodyArray 2024/10/21 19:30:51 Generating api.MyMapType === CONT TestIsInterfaceLike 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_basic === CONT TestParser_ParseRouterApiInFuncBody === CONT TestIgnoreInvalidPkg 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/deps_having_invalid_pkg === CONT TestParser_ParseStructPointerMembers === CONT TestIsNumericType === CONT TestGetFieldType === CONT TestValidDataType === CONT TestParseIdComment === CONT TestParseParamStructCodeExample === CONT TestParseTypeOverrides === CONT TestGlobalSecurity === CONT TestParseAndExtractionParamAttribute === CONT TestParseParamArrayWithEnums === CONT TestParseComposition === CONT TestParseParamCommentBySchemaExampleUnsupportedType === CONT TestParser_ParseGeneralApiInfoTemplated === CONT TestParsePetApi === CONT TestParser_ParseGeneralApiInfo === CONT TestOverrides_getTypeSchema === CONT TestSetOverrides === CONT TestParseParamCommentByExampleInt === CONT TestParseParamCommentByDefault === CONT TestParseParamCommentByMaximum === CONT TestParseDescriptionMarkdown === CONT TestParseSecurityCommentOr === CONT TestParseResponseCommentWithDeepNestedFields === CONT TestParseParamCommentExtension === CONT TestParseParamCommentByEnums === RUN TestParseCodeSamples/Find_sample_by_file === CONT TestParseJSONFieldString === CONT TestParser_ParseGeneralAPITagDocsWithTagFilters === CONT TestParseSecurityComment === CONT TestPackagesDefinitions_CollectAstFileInit === CONT TestParseFunctionScopedComplexStructRequestResponseJSON === CONT TestParser_ParseRouterApiInfoErr === CONT TestParseInterfaceAndError === CONT TestParser_ParseGeneralAPITagDocs === CONT TestParser_ParseRouterApiMultiple === CONT TestParseSimpleApi_ForLowerCamelcase === CONT TestParser_ParseGeneralAPITagGroups === CONT TestParser_ParseRouterApiMultipleRoutesForSameFunction 2024/10/21 19:30:51 Generating api.Parent 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/global_override 2024/10/21 19:30:51 Generating api.Child 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/composition 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/pet 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/global_security 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/simple3 === CONT TestParseFunctionScopedStructRequestResponseJSON === CONT TestParseSimpleApi_ForSnakecase === CONT TestParseTabFormattedRenamedStructDefinition --- PASS: TestParser_ParseRouterApiHead (0.00s) === CONT TestParser_ParseRouterApiPATCH === CONT TestFindTypeDefExternalPkg === CONT TestParser_ParseRouterApiPUT === CONT TestParseApiMarkdownDescription 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/simple2 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/tags 2024/10/21 19:30:51 Generating main.Child 2024/10/21 19:30:51 Generating main.Fun.request 2024/10/21 19:30:51 Generating main.Fun.request === CONT TestParser_ParseRouterApiDELETE === CONT TestParseRouterOnlySlash === CONT TestParseResponseCommentWithNestedFields 2024/10/21 19:30:51 Generating main.Fun.response === CONT TestParseParamCommentByBodyTypeArrayOfPrimitiveGo 2024/10/21 19:30:51 Generating main.Fun.response === CONT TestParser_ParseRouterApiGet 2024/10/21 19:30:51 Generating main.Fun.child === CONT TestParseResponseCommentWithNestedArrayObjectType 2024/10/21 19:30:51 Generating main.Fun.grandChild === CONT TestParseNested === CONT TestParseParamCommentByBodyTypeWithDeepNestedFields 2024/10/21 19:30:51 Generating main.PublicChild 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/nested === RUN TestOverrides_getTypeSchema/Override_sql.NullString_by_string === PAUSE TestOverrides_getTypeSchema/Override_sql.NullString_by_string === CONT TestParseParamCommentByQueryType === RUN TestOverrides_getTypeSchema/Missing_Override_for_sql.NullInt64 === CONT TestParseStructParamCommentByQueryType === CONT TestParseResponseCommentWithNestedObjectType === CONT TestParseRouterMultipleComments === CONT TestParseGenericTypeExpr === CONT TestParseParamCommentWithMultilineDescriptions === CONT TestParseResponseCommentWithObjectType === CONT TestParseRouterCommentMethodSeparationErr 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/json_field_string === CONT TestParseRouterCommentNoColonSignAtPathStartErr === CONT TestParseRouterCommentMethodMissingErr === CONT TestParseDuplicatedFunctionScoped 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/duplicated_function_scoped === CONT TestParseDuplicatedOtherMethods === CONT TestParseResponseCommentWithNestedPrimitiveArrayType 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/duplicated2 === CONT TestOperation_ParseResponseWithDefault === CONT TestParseRouterComment === CONT TestParser_ParseEmbededStruct === CONT TestParseEmptyResponseCommentWithCodes === CONT TestParseParamCommentByNotSupportedType === CONT TestParseParamCommentByBodyTextPlain === CONT TestParseParamCommentByFormDataTypeUint64 === CONT TestParser_ParseStructArrayObject === CONT TestParseParamCommentByFormDataType === CONT TestGetAllGoFileInfo 2024/10/21 19:30:51 Generating main.Student === CONT TestParseProduceCommentErr === CONT TestOperation_ParseParamComment === CONT TestParseProduceComment === RUN TestOperation_ParseParamComment/integer === CONT TestParseResponseCommentParamMissing === PAUSE TestOperation_ParseParamComment/integer === CONT TestParser_ParseGeneralApiInfoFailed 2024/10/21 19:30:51 skip field [skipField] in Student is not supported type for query === CONT TestParseParamCommentByBodyEnumsText === CONT TestParseParamCommentQueryArrayFormat === CONT TestParseEmptyResponseOnlyCode 2024/10/21 19:30:51 Generating api.Response === CONT TestParseTagsComment === CONT TestParseParamCommentDefaultValue === CONT TestParseEmptyComment === CONT TestParseResponseCommentWithHeaderOnlyAll === CONT TestParser_ParseProduceComment === CONT TestParseResponseCommentWithHeaderForCodes === CONT TestParser_ParseGeneralApiInfoWithOpsInSameFile === CONT TestParser_ParseAcceptComment === CONT TestParseEmptyResponseComment === CONT TestParser_ParseGeneralAPIInfoMarkdown 2024/10/21 19:30:51 Generating api.Response === CONT TestParseExtentions 2024/10/21 19:30:51 Generating rest.ResponseWrapper === CONT TestParseRouterCommentWithDollarSign === CONT TestParseRouterCommentWithParens === CONT TestParseResponseCommentWithHeader === CONT TestApiParseTag === CONT TestParseGenericsNames 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/tags === CONT TestFindTypeDefCoreLib === CONT TestParseRouterCommentNoDollarSignAtPathStartErr === RUN TestOperation_ParseParamComment/string === CONT TestParseGenericsMultiLevelNesting === CONT TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFields === CONT TestParseGenericsProperty === CONT TestParseRouterCommentWithPlusSign === PAUSE TestOperation_ParseParamComment/string === RUN TestOperation_ParseParamComment/object === CONT TestParseGenericsFunctionScoped === PAUSE TestOperation_ParseParamComment/object === CONT TestParseResponseCommentWithObjectTypeInSameFile === PAUSE TestOverrides_getTypeSchema/Missing_Override_for_sql.NullInt64 === CONT TestParseSimpleApi1 === CONT TestParseGenericsPackageAlias === CONT TestSplitGenericsTypeNames === CONT TestParseResponseCommentWithBasicTypeAndCodes === CONT TestParseResponseCommentWithObjectTypeErr === CONT TestParseResponseCommentWithNestedArrayMapFields === CONT TestParser_ParseRouterApiDuplicateRoute === CONT TestOperation_ParseParamComment/integer === RUN TestOperation_ParseParamComment/integer/header === CONT TestParseResponseCommentWithNestedPrimitiveType === CONT TestParseRouterCommentWithColonSign 2024/10/21 19:30:51 warning: route GET /api/endpoint is declared multiple times === CONT TestParseResponseFailureCommentWithEmptyResponse === CONT TestParseResponseCommentWithBasicType === CONT TestParseAcceptCommentErr === CONT TestParseParamCommentByID === CONT TestFindInSlice === CONT TestParseEmptyResponseOnlyCodes === CONT TestParseAcceptComment === CONT TestParseResponseHeaderComment === CONT TestParseParamCommentByBodyTypeErr --- PASS: TestParser_ParseType (0.00s) === RUN TestParseParamStructCodeExample/query_struct === CONT TestParseTagMarkdownDescription 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/tags === CONT TestParseGenericsNested === CONT TestApiParseTag_NonExistendTag 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/tags_nonexistend_tag 2024/10/21 19:30:51 Generating structs.FormModel === CONT TestParseGenericsArrays === CONT TestOperation_ParseParamComment/object === RUN TestOperation_ParseParamComment/object/header === CONT TestOverrides_getTypeSchema/Override_sql.NullString_by_string 2024/10/21 19:30:51 Override detected for sql.NullString: using string instead === CONT TestParseDuplicated 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/duplicated === CONT TestOverrides_getTypeSchema/Missing_Override_for_sql.NullInt64 === CONT TestOperation_ParseParamComment/string === RUN TestOperation_ParseParamComment/string/header === CONT TestParseParamCommentByBodyType === CONT TestParseResponseSuccessCommentWithEmptyResponse === CONT TestParseResponseCommentWithArrayType --- PASS: TestParser_Skip (0.00s) --- PASS: TestIsSimplePrimitiveType (0.00s) --- PASS: TestParseParamCommentByExampleUnsupportedType (0.00s) --- PASS: TestTransToValidSchemeType (0.00s) --- PASS: TestParser_ParseRouterApiInfoInAndOutFuncBody (0.00s) --- PASS: TestParseResponseSuccessCommentWithEmptyResponse (0.00s) --- PASS: TestParseDeprecationDescription (0.00s) --- PASS: TestBuildCustomSchema (0.00s) --- PASS: TestParseParamCommentNotMatch (0.00s) --- PASS: TestParser_ParseGeneralAPIInfoCollectionFormat (0.00s) --- PASS: TestParseMultiDescription (0.00s) --- PASS: TestParseSwaggerignoreForEmbedded (0.00s) --- PASS: TestParser_ParseRouterApiMultiplePathsWithMultipleParams (0.00s) --- PASS: TestParseParamCommentByMinimum (0.00s) --- PASS: TestParseParamCommentByMaxLength (0.00s) --- PASS: TestParseObjectSchema (0.00s) --- PASS: TestParseRenamedStructDefinition (0.00s) --- PASS: TestParseResponseCommentWithArrayType (0.00s) --- PASS: TestParseParamCommentByMinLength (0.00s) --- PASS: TestParseFunctionScopedStructDefinition (0.00s) --- PASS: TestParseSecurityCommentSimple (0.00s) --- PASS: TestParseParamCommentBySchemaExampleString (0.00s) --- PASS: TestParser_ParseRouterApiPOST (0.00s) --- PASS: TestParseFunctionScopedComplexStructDefinition (0.00s) --- PASS: TestParseSummary (0.00s) --- PASS: TestParseParamCommentByExampleString (0.00s) --- PASS: TestParser_skipPackageByPrefix (0.00s) --- PASS: TestParser_ParseRouterApiOptions (0.00s) --- PASS: TestCollectAstFileMultipleTimes (0.00s) --- PASS: TestIsInterfaceLike (0.00s) --- PASS: TestParseParamCommentBodyArray (0.00s) --- PASS: TestParser_ParseRouterApiInFuncBody (0.00s) --- PASS: TestIsNumericType (0.00s) --- PASS: TestGetFieldType (0.00s) --- PASS: TestValidDataType (0.00s) --- PASS: TestParseIdComment (0.00s) --- PASS: TestParser_ParseStructMapMember (0.00s) --- PASS: TestSetOverrides (0.00s) === RUN TestParseCodeSamples/With_broken_file_sample --- PASS: TestParseParamArrayWithEnums (0.00s) --- PASS: TestParser_ParseGeneralAPITagGroups (0.00s) --- PASS: TestParser_ParseStructPointerMembers (0.00s) --- PASS: TestPackagesDefinitions_CollectAstFileInit (0.00s) 2024/10/21 19:30:51 warning: failed to get package name in dir: testdata/pare_outside_dependencies, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /home/buildozer/aports/testing/go-swag/src/swag-1.16.4/testdata/pare_outside_dependencies --- PASS: TestParseSecurityComment (0.00s) --- PASS: TestParser_ParseRouterApiMultipleRoutesForSameFunction (0.00s) --- PASS: TestParseTabFormattedRenamedStructDefinition (0.00s) --- PASS: TestParseParamCommentBySchemaExampleUnsupportedType (0.00s) --- PASS: TestParser_ParseRouterApiPATCH (0.00s) --- PASS: TestParser_ParseRouterApiInfoErr (0.00s) --- PASS: TestParseRouterOnlySlash (0.00s) --- PASS: TestParser_ParseRouterApiDELETE (0.00s) --- PASS: TestParseAndExtractionParamAttribute (0.00s) --- PASS: TestParser_ParseRouterApiGet (0.00s) --- PASS: TestParseFunctionScopedStructRequestResponseJSON (0.00s) --- PASS: TestParseParamCommentByBodyTypeArrayOfPrimitiveGo (0.00s) --- PASS: TestParseParamCommentByQueryType (0.00s) === RUN TestParseCodeSamples/Example_file_not_found --- PASS: TestParseParamCommentByMaximum (0.00s) --- PASS: TestParser_ParseGeneralApiInfo (0.00s) --- PASS: TestParseRouterMultipleComments (0.00s) --- PASS: TestParseParamCommentByBodyTypeWithDeepNestedFields (0.00s) --- PASS: TestParseGenericTypeExpr (0.00s) --- PASS: TestParseParamCommentExtension (0.00s) --- PASS: TestParseRouterCommentMethodSeparationErr (0.00s) --- PASS: TestParser_ParseGeneralAPITagDocsWithTagFilters (0.00s) --- PASS: TestParseRouterCommentNoColonSignAtPathStartErr (0.00s) --- PASS: TestParseResponseCommentWithObjectType (0.00s) --- PASS: TestParseParamCommentWithMultilineDescriptions (0.00s) --- PASS: TestParseRouterCommentMethodMissingErr (0.00s) --- PASS: TestParser_ParseRouterApiMultiple (0.00s) --- PASS: TestParseResponseCommentWithNestedArrayObjectType (0.00s) --- PASS: TestParseParamCommentByExampleInt (0.00s) --- PASS: TestParseSecurityCommentOr (0.00s) --- PASS: TestParseParamCommentByEnums (0.00s) --- PASS: TestParseProduceCommentErr (0.00s) --- PASS: TestParseFunctionScopedComplexStructRequestResponseJSON (0.00s) --- PASS: TestParseParamCommentByFormDataType (0.00s) --- PASS: TestParseParamCommentByFormDataTypeUint64 (0.00s) --- PASS: TestParseResponseCommentWithNestedObjectType (0.00s) --- PASS: TestParser_ParseGeneralApiInfoTemplated (0.00s) --- PASS: TestOperation_ParseResponseWithDefault (0.00s) --- PASS: TestParseResponseCommentWithNestedFields (0.00s) --- PASS: TestParser_ParseRouterApiPUT (0.00s) --- PASS: TestParseProduceComment (0.00s) --- PASS: TestParseTagsComment (0.00s) --- PASS: TestParseRouterComment (0.00s) --- PASS: TestParseEmptyComment (0.00s) --- PASS: TestParseParamCommentByDefault (0.00s) --- PASS: TestParser_ParseProduceComment (0.00s) --- PASS: TestParseParamCommentDefaultValue (0.00s) --- PASS: TestParseParamCommentByBodyEnumsText (0.00s) --- PASS: TestParseEmptyResponseOnlyCode (0.00s) --- PASS: TestParseResponseCommentParamMissing (0.00s) --- PASS: TestParser_ParseAcceptComment (0.00s) --- PASS: TestParser_ParseStructArrayObject (0.00s) --- PASS: TestParseEmptyResponseCommentWithCodes (0.00s) --- PASS: TestParseParamCommentQueryArrayFormat (0.00s) --- PASS: TestParseParamCommentByNotSupportedType (0.00s) --- PASS: TestParseRouterCommentWithDollarSign (0.00s) --- PASS: TestParseRouterCommentWithParens (0.00s) --- PASS: TestParseParamCommentByBodyTextPlain (0.00s) --- PASS: TestParser_ParseGeneralAPITagDocs (0.00s) --- PASS: TestParseResponseCommentWithHeaderForCodes (0.00s) --- PASS: TestParseRouterCommentNoDollarSignAtPathStartErr (0.00s) --- PASS: TestParseEmptyResponseComment (0.00s) --- PASS: TestParseResponseCommentWithHeaderOnlyAll (0.00s) --- PASS: TestParseRouterCommentWithPlusSign (0.00s) --- PASS: TestParseResponseCommentWithNestedPrimitiveArrayType (0.00s) --- PASS: TestParseExtentions (0.00s) --- PASS: TestParser_ParseEmbededStruct (0.00s) 2024/10/21 19:30:51 warning: failed to get package name in dir: testdata/alias_nested, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /home/buildozer/aports/testing/go-swag/src/swag-1.16.4/testdata/alias_nested --- PASS: TestParseStructParamCommentByQueryType (0.00s) --- PASS: TestParseResponseCommentWithDeepNestedFields (0.00s) --- PASS: TestSplitGenericsTypeNames (0.00s) --- PASS: TestParseResponseCommentWithObjectTypeErr (0.00s) --- PASS: TestParseResponseCommentWithHeader (0.00s) --- PASS: TestParseResponseCommentWithObjectTypeInSameFile (0.00s) --- PASS: TestParseResponseCommentWithBasicTypeAndCodes (0.00s) --- PASS: TestParseRouterCommentWithColonSign (0.00s) --- PASS: TestParser_ParseRouterApiDuplicateRoute (0.00s) --- PASS: TestParseParamCommentByBodyTypeArrayOfPrimitiveGoWithDeepNestedFields (0.00s) --- PASS: TestParseAcceptCommentErr (0.00s) --- PASS: TestParseResponseCommentWithBasicType (0.00s) --- PASS: TestFindInSlice (0.00s) --- PASS: TestParseParamCommentByID (0.00s) --- PASS: TestParseEmptyResponseOnlyCodes (0.00s) === RUN TestOperation_ParseParamComment/integer/path --- PASS: TestParseResponseFailureCommentWithEmptyResponse (0.00s) --- PASS: TestParseAcceptComment (0.00s) --- PASS: TestParseResponseHeaderComment (0.00s) --- PASS: TestParseParamCommentByBodyTypeErr (0.00s) --- PASS: TestParseResponseCommentWithNestedArrayMapFields (0.00s) --- PASS: TestParseResponseCommentWithNestedPrimitiveType (0.00s) === RUN TestParseParamStructCodeExample/formData_struct --- PASS: TestOverrides_getTypeSchema (0.00s) --- PASS: TestOverrides_getTypeSchema/Override_sql.NullString_by_string (0.00s) --- PASS: TestOverrides_getTypeSchema/Missing_Override_for_sql.NullInt64 (0.00s) --- PASS: TestParseParamCommentByBodyType (0.00s) === RUN TestOperation_ParseParamComment/object/path === RUN TestParseCodeSamples/Without_line_reminder === RUN TestOperation_ParseParamComment/string/path === RUN TestParseParamStructCodeExample/header_struct === RUN TestParseCodeSamples/_broken_dir === RUN TestOperation_ParseParamComment/object/query 2024/10/21 19:30:51 Generating structs.AuthHeader --- PASS: TestParseCodeSamples (0.01s) --- PASS: TestParseCodeSamples/Find_sample_by_file (0.00s) --- PASS: TestParseCodeSamples/With_broken_file_sample (0.00s) --- PASS: TestParseCodeSamples/Example_file_not_found (0.00s) --- PASS: TestParseCodeSamples/Without_line_reminder (0.00s) --- PASS: TestParseCodeSamples/_broken_dir (0.00s) === RUN TestOperation_ParseParamComment/integer/query === RUN TestOperation_ParseParamComment/object/formData === RUN TestParseParamStructCodeExample/path_struct 2024/10/21 19:30:51 Generating structs.PathModel --- PASS: TestParseParamStructCodeExample (0.01s) --- PASS: TestParseParamStructCodeExample/query_struct (0.00s) --- PASS: TestParseParamStructCodeExample/formData_struct (0.00s) --- PASS: TestParseParamStructCodeExample/header_struct (0.00s) --- PASS: TestParseParamStructCodeExample/path_struct (0.00s) === RUN TestOperation_ParseParamComment/string/query === RUN TestOperation_ParseParamComment/integer/formData === RUN TestOperation_ParseParamComment/string/formData --- PASS: TestOperation_ParseParamComment (0.00s) --- PASS: TestOperation_ParseParamComment/object (0.00s) --- PASS: TestOperation_ParseParamComment/object/header (0.00s) --- PASS: TestOperation_ParseParamComment/object/path (0.00s) --- PASS: TestOperation_ParseParamComment/object/query (0.00s) --- PASS: TestOperation_ParseParamComment/object/formData (0.00s) --- PASS: TestOperation_ParseParamComment/integer (0.00s) --- PASS: TestOperation_ParseParamComment/integer/header (0.00s) --- PASS: TestOperation_ParseParamComment/integer/path (0.00s) --- PASS: TestOperation_ParseParamComment/integer/query (0.00s) --- PASS: TestOperation_ParseParamComment/integer/formData (0.00s) --- PASS: TestOperation_ParseParamComment/string (0.00s) --- PASS: TestOperation_ParseParamComment/string/header (0.00s) --- PASS: TestOperation_ParseParamComment/string/path (0.00s) --- PASS: TestOperation_ParseParamComment/string/query (0.00s) --- PASS: TestOperation_ParseParamComment/string/formData (0.00s) 2024/10/21 19:30:51 warning: failed to get package name in dir: testdata/fixes-432, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /home/buildozer/aports/testing/go-swag/src/swag-1.16.4/testdata/fixes-432 --- PASS: TestFixes432 (0.01s) package does-not-exist is not in std (/usr/lib/go/src/does-not-exist) --- PASS: TestFindTypeDefInvalidPkg (0.01s) --- PASS: TestIgnoreInvalidPkg (0.04s) 2024/10/21 19:30:51 Generating web.APIError 2024/10/21 19:30:51 Generating data.TimeContainer --- PASS: TestParseStructComment (0.05s) 2024/10/21 19:30:51 Generating types.DateOnly 2024/10/21 19:30:51 Generating data.ApplicationResponse 2024/10/21 19:30:51 Generating types.TypeToEmbed 2024/10/21 19:30:51 Generating types.Application --- PASS: TestParseModelAsTypeAlias (0.05s) 2024/10/21 19:30:51 Generating types.DateOnly --- PASS: TestParseImportAliases (0.05s) 2024/10/21 19:30:51 Generating github_com_swaggo_swag_testdata_conflict_name_model.ErrorsResponse 2024/10/21 19:30:51 Generating model.MyPayload 2024/10/21 19:30:51 Generating github_com_swaggo_swag_testdata_conflict_name_model.MyStruct 2024/10/21 19:30:51 Generating github_com_swaggo_swag_testdata_conflict_name_model2.ErrorsResponse 2024/10/21 19:30:51 Generating model.MyPayload2 2024/10/21 19:30:51 Generating github_com_swaggo_swag_testdata_conflict_name_model2.MyStruct --- PASS: TestParseConflictSchemaName (0.06s) 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_property 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/error 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/simple 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_multi_level_nesting 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_package_alias/internal 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_function_scoped 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_nested --- PASS: TestParser_ParseGeneralApiInfoFailed (0.14s) 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_arrays 2024/10/21 19:30:51 Generate general API Info, search dir:testdata/generics_names --- PASS: TestParser_ParseGeneralApiInfoWithOpsInSameFile (0.14s) 2024/10/21 19:30:51 Generating main.MyStruct 2024/10/21 19:30:51 Generating web.GenericBody-types_Post 2024/10/21 19:30:51 Generating types.Post 2024/10/21 19:30:51 Generating types.APIBase 2024/10/21 19:30:51 Generating web.GenericResponse-types_Post 2024/10/21 19:30:51 Generating web.GenericResponse-types_Hello 2024/10/21 19:30:51 Generating types.Hello 2024/10/21 19:30:51 Override detected for types.Field[string]: using string instead 2024/10/21 19:30:51 Override detected for types.Field[string]: using string instead 2024/10/21 19:30:51 Override detected for types.DoubleField[string,string]: using []string instead 2024/10/21 19:30:51 Override detected for types.TrippleField[string,string]: using [][]string instead 2024/10/21 19:30:51 Generating types.ArrayField-string 2024/10/21 19:30:51 Generating types.MapField-string-float64 --- PASS: TestParseNonExportedJSONFields (0.17s) 2024/10/21 19:30:51 Generating types.MapFieldNestedStruct-string 2024/10/21 19:30:51 Generating types.MapFieldValue 2024/10/21 19:30:51 Generating web.GenericResponse-types_Field-string 2024/10/21 19:30:51 Generating types.Field-string 2024/10/21 19:30:51 Generating web.GenericResponse-types_Field-int 2024/10/21 19:30:51 Generating types.Field-int 2024/10/21 19:30:51 Generating api.Response-string-types_Field-int 2024/10/21 19:30:51 Generating api.Response-api_StringStruct-types_Field-int 2024/10/21 19:30:51 Generating api.StringStruct 2024/10/21 19:30:51 Generating api.Response2-string-types_Field-int-string 2024/10/21 19:30:51 Generating api.Response-array_map_string_string-map_string_array_types_Field-int 2024/10/21 19:30:51 Generating array_map_string_string 2024/10/21 19:30:51 Generating map_string_array_types.Field-int 2024/10/21 19:30:51 Generating web.GenericResponseMulti-types_Post-types_Post 2024/10/21 19:30:51 Generating web.APIError 2024/10/21 19:30:51 Generating web.GenericBodyMulti-types_Post-types_Post 2024/10/21 19:30:51 Generating api.Foo 2024/10/21 19:30:51 Generating web.GenericBodyMulti-array_types_Post-array_array_types_Post 2024/10/21 19:30:51 Generating array_types.Post 2024/10/21 19:30:51 Generating array_array_types.Post 2024/10/21 19:30:51 Generating web.GenericResponse-array_types_Post 2024/10/21 19:30:51 Generating web.GenericResponse-array_types_Hello 2024/10/21 19:30:51 Generating array_types.Hello 2024/10/21 19:30:51 Generating web.GenericResponseMulti-array_types_Post-array_array_types_Post --- PASS: TestParseGenericsBasic (0.18s) 2024/10/21 19:30:51 Generating data.ApplicationResponse 2024/10/21 19:30:51 Generating types.TypeToEmbed 2024/10/21 19:30:51 Override detected for github.com/swaggo/swag/testdata/global_override/types.Application: using string instead 2024/10/21 19:30:51 Override detected for github.com/swaggo/swag/testdata/global_override/types.Application2: using github.com/swaggo/swag/testdata/global_override/othertypes.Application instead 2024/10/21 19:30:51 Generating othertypes.Application 2024/10/21 19:30:51 Override detected for github.com/swaggo/swag/testdata/global_override/types.Application: using string instead 2024/10/21 19:30:51 Generating types.DateOnly 2024/10/21 19:30:51 Override detected for github.com/swaggo/swag/testdata/global_override/types.ShouldSkip: ignoring --- PASS: TestParseTypeOverrides (0.19s) --- PASS: TestParseDescriptionMarkdown (0.27s) --- PASS: TestParser_ParseGeneralAPIInfoMarkdown (0.27s) --- PASS: TestGetAllGoFileInfo (0.27s) --- PASS: TestGlobalSecurity (0.30s) --- PASS: TestParseTagMarkdownDescription (0.30s) --- PASS: TestApiParseTag_NonExistendTag (0.31s) --- PASS: TestApiParseTag (0.31s) --- PASS: TestParseApiMarkdownDescription (0.32s) --- PASS: TestParsePetApi (0.32s) 2024/10/21 19:30:52 Generating web.GenericNestedBody-web_GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericInnerType-types_Post 2024/10/21 19:30:52 Generating types.Post 2024/10/21 19:30:52 Generating types.APIBase 2024/10/21 19:30:52 Generating web.GenericNestedResponse-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponse-web_GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-types_Post-web_GenericInnerMultiType-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericInnerMultiType-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-types_Post-web_GenericInnerMultiType-types_Post-web_GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericInnerMultiType-types_Post-web_GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-web_GenericInnerType-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedBody-web_GenericInnerType-array_types_Post 2024/10/21 19:30:52 Generating web.GenericInnerType-array_types_Post 2024/10/21 19:30:52 Generating array_types.Post 2024/10/21 19:30:52 Generating web.GenericBody-types_Post 2024/10/21 19:30:52 Generating types.Post 2024/10/21 19:30:52 Generating types.APIBase 2024/10/21 19:30:52 Generating web.GenericNestedResponse-array_types_Post 2024/10/21 19:30:52 Generating web.GenericResponse-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponse-array_web_GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericResponseMulti-types_Post-types_Post 2024/10/21 19:30:52 Generating array_web.GenericInnerType-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponse-array_web_GenericInnerType-array_types_Post 2024/10/21 19:30:52 Generating array_web.GenericInnerType-array_types_Post 2024/10/21 19:30:52 Generating web.APIError 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-array_types_Post-web_GenericInnerMultiType-array_types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericInnerMultiType-array_types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericBodyMulti-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-array_types_Post-array_web_GenericInnerMultiType-array_types_Post-types_Post 2024/10/21 19:30:52 Generating array_web.GenericInnerMultiType-array_types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericBodyMulti-array_types_Post-array_array_types_Post 2024/10/21 19:30:52 Generating array_types.Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-types_Post-web_GenericInnerMultiType-types_Post-array_web_GenericInnerType-array_array_types_Post 2024/10/21 19:30:52 Generating array_array_types.Post 2024/10/21 19:30:52 Generating web.GenericInnerMultiType-types_Post-array_web_GenericInnerType-array_array_types_Post 2024/10/21 19:30:52 Generating array_web.GenericInnerType-array_array_types_Post 2024/10/21 19:30:52 Generating web.GenericInnerType-array_array_types_Post 2024/10/21 19:30:52 Generating array_array_types.Post 2024/10/21 19:30:52 Generating web.GenericResponse-array_types_Post 2024/10/21 19:30:52 Generating web.GenericNestedResponseMulti-web_GenericInnerType-array_types_Post-array_types_Post 2024/10/21 19:30:52 Generating web.GenericResponseMulti-array_types_Post-array_array_types_Post 2024/10/21 19:30:52 Generating web.GenericNodeThree-string 2024/10/21 19:30:52 Generating web.AliasPkgGenericResponse-types_Post 2024/10/21 19:30:52 Skipping 'web.GenericNodeThree-string', recursion detected. 2024/10/21 19:30:52 Generating web.PostPager 2024/10/21 19:30:52 Generating web.Pager-web_String-web_PostSelector 2024/10/21 19:30:52 Generating types.Field-string 2024/10/21 19:30:52 Generating types.SubField1-string-string 2024/10/21 19:30:52 skip field [search] in web.PostPager is not supported type for query 2024/10/21 19:30:52 Generating web.PostResponse 2024/10/21 19:30:52 Generating web.GenericResponse-types_Post-types_Post 2024/10/21 19:30:52 Generating types.Post 2024/10/21 19:30:52 Generating types.APIBase 2024/10/21 19:30:52 Generating web.PostResponses 2024/10/21 19:30:52 Generating web.GenericResponse-array_types_Post-types_Post 2024/10/21 19:30:52 Generating array_types.Post 2024/10/21 19:30:52 Generating web.StringResponse 2024/10/21 19:30:52 Generating web.GenericResponse-array_string-uint8 2024/10/21 19:30:52 Generating web.Pet 2024/10/21 19:30:52 Generating array_string 2024/10/21 19:30:52 Generating web.Tag 2024/10/21 19:30:52 Generating api.NestedResponse 2024/10/21 19:30:52 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:52 Generating types.Field-array_types_Post 2024/10/21 19:30:52 Generating web.Pet2 2024/10/21 19:30:52 Generating web.CrossErrors 2024/10/21 19:30:52 Generating main.MyStruct 2024/10/21 19:30:52 Generating errors.Errors 2024/10/21 19:30:52 Generating types.SubField1-array_types_Post-string 2024/10/21 19:30:52 Generating errors.CustomInterface 2024/10/21 19:30:52 Generating api.CreateMovie 2024/10/21 19:30:52 Generating web.TestResponse 2024/10/21 19:30:52 Generating types.Field-api_Person 2024/10/21 19:30:52 Generating api.Person 2024/10/21 19:30:52 Generating web.Pet 2024/10/21 19:30:52 Generating types.SubField1-api_Person-string 2024/10/21 19:30:52 Generating web.APIError 2024/10/21 19:30:52 Generating types.Field-array_api_Person 2024/10/21 19:30:52 Generating array_api.Person 2024/10/21 19:30:52 Generating web.Entity-int64 2024/10/21 19:30:52 Generating web.EmptyArray-web_DataPoint-float64 2024/10/21 19:30:52 Generating types.SubField1-array_api_Person-string 2024/10/21 19:30:52 Generating web.DataPoint-float64 2024/10/21 19:30:52 Generating api.Foo --- PASS: TestParseGenericsNames (0.36s) 2024/10/21 19:30:52 Generating api.Audience-api_Person 2024/10/21 19:30:52 Generating api.Audience-string 2024/10/21 19:30:52 Generating api.Bar 2024/10/21 19:30:52 Generating web.EmptyArray-web_DataPoint-int64 2024/10/21 19:30:52 Generating web.DataPoint-int64 2024/10/21 19:30:52 Generating types.Field-types_Field-api_Person 2024/10/21 19:30:52 Generating api.FooBar 2024/10/21 19:30:52 Generating web.MultipleLines-int64 2024/10/21 19:30:52 Generating web.NamedLineData-int64 2024/10/21 19:30:52 Generating api.EmptyStruct 2024/10/21 19:30:52 Generating types.SubField1-types_Field-api_Person-string 2024/10/21 19:30:52 Generating api.unexported 2024/10/21 19:30:52 Generating api.Ignored 2024/10/21 19:30:52 Generating api.FooBarPointer 2024/10/21 19:30:52 Generating common.ResponseFormat 2024/10/21 19:30:52 Generating web.Tag 2024/10/21 19:30:52 Generating types.Field-types_Field-string 2024/10/21 19:30:52 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:52 Generating types.SubField1-types_Field-string-string 2024/10/21 19:30:52 Generating web.Entity-float64 2024/10/21 19:30:52 Generating cross.Cross 2024/10/21 19:30:52 Generating web.Pet2 2024/10/21 19:30:52 Generating web.MultipleLines-float64 2024/10/21 19:30:52 Generating web.NamedLineData-float64 2024/10/21 19:30:52 Generating web.RevValue 2024/10/21 19:30:52 Generating web.RevValueBase 2024/10/21 19:30:52 Generating api.BarMap 2024/10/21 19:30:52 Generating api.FooBarMap 2024/10/21 19:30:52 Generating api.MapValue --- PASS: TestParseJSONFieldString (0.36s) 2024/10/21 19:30:52 Generating web.IndirectRecursiveTest 2024/10/21 19:30:52 Generating web.Tags 2024/10/21 19:30:52 Generating web.CrossAlias 2024/10/21 19:30:52 Generating web.APIError 2024/10/21 19:30:52 Generating web.AnonymousStructArray 2024/10/21 19:30:52 Generating web.Pet5a 2024/10/21 19:30:52 Generating web.Pet5b 2024/10/21 19:30:52 Generating web.Pet5c 2024/10/21 19:30:52 Generating api.SwagReturn 2024/10/21 19:30:52 Generating api.GetPet6FunctionScopedResponse.response --- PASS: TestParseInterfaceAndError (0.36s) 2024/10/21 19:30:52 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:30:52 Generating types.GenericResponse-api_GetGeneric_User 2024/10/21 19:30:52 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:30:52 Generating api.GetGeneric.User 2024/10/21 19:30:52 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:30:52 Generating types.GenericResponse-api_GetGeneric_Post 2024/10/21 19:30:52 Generating api.GetGeneric.Post 2024/10/21 19:30:52 Generating types.GenericResponse-api_GetGenericRenamed_User 2024/10/21 19:30:52 Generating api.GetGenericRenamed.User 2024/10/21 19:30:52 Generating types.GenericResponse-api_GetGenericRenamed_Post 2024/10/21 19:30:52 Generating api.GetGenericRenamed.Post 2024/10/21 19:30:52 Generating web.RevValue 2024/10/21 19:30:52 Generating web.RevValueBase --- PASS: TestParseGenericsMultiLevelNesting (0.36s) 2024/10/21 19:30:52 Generating types.GenericMultiResponse-api_GetGenericMulti_MyStructA-api_GetGenericMulti_MyStructB 2024/10/21 19:30:52 Generating api.GetGenericMulti.MyStructA 2024/10/21 19:30:52 Generating web.Pet 2024/10/21 19:30:52 Generating api.GetGenericMulti.MyStructB --- PASS: TestParseComposition (0.36s) 2024/10/21 19:30:52 Generating types.GenericMultiResponse-api_GetGenericMulti_MyStructB-api_GetGenericMulti_MyStructA 2024/10/21 19:30:52 Generating web.Tag 2024/10/21 19:30:52 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:52 Generating types.GenericMultiResponse-api_GetGenericMultiRenamed_MyStructA-api_GetGenericMultiRenamed_MyStructB 2024/10/21 19:30:52 Generating web.Pet2 2024/10/21 19:30:52 Generating api.GetGenericMultiRenamed.MyStructA 2024/10/21 19:30:52 Generating api.GetGenericMultiRenamed.MyStructB 2024/10/21 19:30:52 Generating types.GenericMultiResponse-api_GetGenericMultiRenamed_MyStructB-api_GetGenericMultiRenamed_MyStructA 2024/10/21 19:30:52 Generating web.APIError 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_alias_nested_pkg_good.Gen 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_alias_nested_pkg_good.Emb --- PASS: TestParseGenericsNested (0.36s) --- PASS: TestParser_EmbeddedStructAsOtherAliasGoListNested (0.37s) 2024/10/21 19:30:52 Generating web.RevValue 2024/10/21 19:30:52 Generating web.RevValueBase --- PASS: TestParseGenericsProperty (0.36s) --- PASS: TestParseGenericsFunctionScoped (0.36s) --- PASS: TestParseSimpleApi_ForLowerCamelcase (0.37s) --- PASS: TestParseSimpleApi_ForSnakecase (0.37s) --- PASS: TestParseSimpleApi1 (0.37s) 2024/10/21 19:30:52 Generating web.GenericListBody-types_Post 2024/10/21 19:30:52 Generating types.Post 2024/10/21 19:30:52 Generating types.APIBase 2024/10/21 19:30:52 Generating web.GenericListResponse-types_Post 2024/10/21 19:30:52 Generating web.GenericListResponseMulti-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericListBodyMulti-types_Post-types_Post 2024/10/21 19:30:52 Generating web.GenericListBodyMulti-types_Post-array_types_Post 2024/10/21 19:30:52 Generating array_types.Post 2024/10/21 19:30:52 Generating web.GenericListResponse-array_types_Post 2024/10/21 19:30:52 Generating web.GenericListResponseMulti-types_Post-array_types_Post --- PASS: TestParseGenericsArrays (0.38s) 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1_ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.RenamedListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1_RenamedProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.RenamedProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1.ListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1_ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1.ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1.RenamedListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1_RenamedProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1.RenamedProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1_ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.RenamedListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1_RenamedProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path2_v1.ListResult-github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1_ProductDto 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-external1_Customer 2024/10/21 19:30:52 Generating external1.Customer 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-external2_Customer 2024/10/21 19:30:52 Generating external2.Customer 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-external3_Customer 2024/10/21 19:30:52 Generating external3.Customer 2024/10/21 19:30:52 Generating github_com_swaggo_swag_testdata_generics_package_alias_internal_path1_v1.ListResult-external4_Customer 2024/10/21 19:30:52 Generating external4.Customer 2024/10/21 19:30:52 Generating v1.UniqueProduct --- PASS: TestParseGenericsPackageAlias (0.56s) --- PASS: TestParseOutsideDependencies (0.61s) 2024/10/21 19:30:52 Generating api.Foo 2024/10/21 19:30:52 Generating nested2.Body 2024/10/21 19:30:52 Generating api.Bar --- PASS: TestParseNested (0.73s) --- PASS: TestParseDuplicatedFunctionScoped (0.76s) --- PASS: TestParseDuplicatedOtherMethods (0.79s) --- PASS: TestParseDuplicated (0.79s) --- PASS: TestFindTypeDefExternalPkg (1.24s) --- PASS: TestFindTypeDefCoreLib (1.53s) PASS coverage: 85.5% of statements ok github.com/swaggo/swag 4.326s coverage: 85.5% of statements github.com/swaggo/swag/cmd/swag coverage: 0.0% of statements === RUN TestGen_Build 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating cross.Cross 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 Generating web.IndirectRecursiveTest 2024/10/21 19:30:56 Generating web.Tags 2024/10/21 19:30:56 Generating web.CrossAlias 2024/10/21 19:30:56 Generating web.AnonymousStructArray 2024/10/21 19:30:56 Generating web.Pet5a 2024/10/21 19:30:56 Generating web.Pet5b 2024/10/21 19:30:56 Generating web.Pet5c 2024/10/21 19:30:56 Generating api.SwagReturn 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:30:56 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/simple/docs/swagger.yaml --- PASS: TestGen_Build (0.07s) === RUN TestGen_SpecificOutputTypes 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating cross.Cross 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 Generating web.IndirectRecursiveTest 2024/10/21 19:30:56 Generating web.Tags 2024/10/21 19:30:56 Generating web.CrossAlias 2024/10/21 19:30:56 Generating web.AnonymousStructArray 2024/10/21 19:30:56 Generating web.Pet5a 2024/10/21 19:30:56 Generating web.Pet5b 2024/10/21 19:30:56 Generating web.Pet5c 2024/10/21 19:30:56 Generating api.SwagReturn 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:30:56 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:30:56 output type 'unknowntype' not supported --- PASS: TestGen_SpecificOutputTypes (0.18s) === RUN TestGen_BuildInstanceName 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating cross.Cross 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 Generating web.IndirectRecursiveTest 2024/10/21 19:30:56 Generating web.Tags 2024/10/21 19:30:56 Generating web.CrossAlias 2024/10/21 19:30:56 Generating web.AnonymousStructArray 2024/10/21 19:30:56 Generating web.Pet5a 2024/10/21 19:30:56 Generating web.Pet5b 2024/10/21 19:30:56 Generating web.Pet5c 2024/10/21 19:30:56 Generating api.SwagReturn 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:30:56 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/simple/docs/swagger.yaml 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating cross.Cross 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 Generating web.IndirectRecursiveTest 2024/10/21 19:30:56 Generating web.Tags 2024/10/21 19:30:56 Generating web.CrossAlias 2024/10/21 19:30:56 Generating web.AnonymousStructArray 2024/10/21 19:30:56 Generating web.Pet5a 2024/10/21 19:30:56 Generating web.Pet5b 2024/10/21 19:30:56 Generating web.Pet5c 2024/10/21 19:30:56 Generating api.SwagReturn 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:30:56 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:30:56 create docs.go at ../testdata/simple/docs/Custom_docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/simple/docs/Custom_swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/simple/docs/Custom_swagger.yaml --- PASS: TestGen_BuildInstanceName (0.13s) === RUN TestGen_BuildSnakeCase 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple2 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 create docs.go at ../testdata/simple2/docs/docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/simple2/docs/swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/simple2/docs/swagger.yaml --- PASS: TestGen_BuildSnakeCase (0.13s) === RUN TestGen_BuildLowerCamelcase 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/simple3 2024/10/21 19:30:56 Generating web.Pet 2024/10/21 19:30:56 Generating web.Tag 2024/10/21 19:30:56 Skipping 'web.Pet', recursion detected. 2024/10/21 19:30:56 Generating web.Pet2 2024/10/21 19:30:56 Generating web.APIError 2024/10/21 19:30:56 Generating web.RevValue 2024/10/21 19:30:56 Generating web.RevValueBase 2024/10/21 19:30:56 create docs.go at ../testdata/simple3/docs/docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/simple3/docs/swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/simple3/docs/swagger.yaml --- PASS: TestGen_BuildLowerCamelcase (0.14s) === RUN TestGen_BuildDescriptionWithQuotes 2024/10/21 19:30:56 Generate swagger docs.... 2024/10/21 19:30:56 Generate general API Info, search dir:../testdata/quotes 2024/10/21 19:30:56 create docs.go at ../testdata/quotes/docs/docs.go 2024/10/21 19:30:56 create swagger.json at ../testdata/quotes/docs/swagger.json 2024/10/21 19:30:56 create swagger.yaml at ../testdata/quotes/docs/swagger.yaml --- PASS: TestGen_BuildDescriptionWithQuotes (19.25s) === RUN TestGen_BuildDocCustomDelims 2024/10/21 19:31:15 Generate swagger docs.... 2024/10/21 19:31:15 Generate general API Info, search dir:../testdata/delims 2024/10/21 19:31:16 Generating api.MyStruct 2024/10/21 19:31:16 create docs.go at ../testdata/delims/docs/CustomDelims_docs.go 2024/10/21 19:31:16 create swagger.json at ../testdata/delims/docs/CustomDelims_swagger.json 2024/10/21 19:31:16 create swagger.yaml at ../testdata/delims/docs/CustomDelims_swagger.yaml --- PASS: TestGen_BuildDocCustomDelims (2.31s) === RUN TestGen_jsonIndent 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:18 Generating web.Pet 2024/10/21 19:31:18 Generating web.Tag 2024/10/21 19:31:18 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:18 Generating web.Pet2 2024/10/21 19:31:18 Generating web.APIError 2024/10/21 19:31:18 Generating cross.Cross 2024/10/21 19:31:18 Generating web.RevValue 2024/10/21 19:31:18 Generating web.RevValueBase 2024/10/21 19:31:18 Generating web.IndirectRecursiveTest 2024/10/21 19:31:18 Generating web.Tags 2024/10/21 19:31:18 Generating web.CrossAlias 2024/10/21 19:31:18 Generating web.AnonymousStructArray 2024/10/21 19:31:18 Generating web.Pet5a 2024/10/21 19:31:18 Generating web.Pet5b 2024/10/21 19:31:18 Generating web.Pet5c 2024/10/21 19:31:18 Generating api.SwagReturn 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet --- PASS: TestGen_jsonIndent (0.17s) === RUN TestGen_jsonToYAML 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:18 Generating web.Pet 2024/10/21 19:31:18 Generating web.Tag 2024/10/21 19:31:18 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:18 Generating web.Pet2 2024/10/21 19:31:18 Generating web.APIError 2024/10/21 19:31:18 Generating cross.Cross 2024/10/21 19:31:18 Generating web.RevValue 2024/10/21 19:31:18 Generating web.RevValueBase 2024/10/21 19:31:18 Generating web.IndirectRecursiveTest 2024/10/21 19:31:18 Generating web.Tags 2024/10/21 19:31:18 Generating web.CrossAlias 2024/10/21 19:31:18 Generating web.AnonymousStructArray 2024/10/21 19:31:18 Generating web.Pet5a 2024/10/21 19:31:18 Generating web.Pet5b 2024/10/21 19:31:18 Generating web.Pet5c 2024/10/21 19:31:18 Generating api.SwagReturn 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:18 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:31:18 create swagger.json at ../testdata/simple/docs/swagger.json --- PASS: TestGen_jsonToYAML (0.06s) === RUN TestGen_SearchDirIsNotExist --- PASS: TestGen_SearchDirIsNotExist (0.00s) === RUN TestGen_MainAPiNotExist 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple --- PASS: TestGen_MainAPiNotExist (0.15s) === RUN TestGen_OutputIsNotExist 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:18 Generating web.Pet 2024/10/21 19:31:18 Generating web.Tag 2024/10/21 19:31:18 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:18 Generating web.Pet2 2024/10/21 19:31:18 Generating web.APIError 2024/10/21 19:31:18 Generating cross.Cross 2024/10/21 19:31:18 Generating web.RevValue 2024/10/21 19:31:18 Generating web.RevValueBase 2024/10/21 19:31:18 Generating web.IndirectRecursiveTest 2024/10/21 19:31:18 Generating web.Tags 2024/10/21 19:31:18 Generating web.CrossAlias 2024/10/21 19:31:18 Generating web.AnonymousStructArray 2024/10/21 19:31:18 Generating web.Pet5a 2024/10/21 19:31:18 Generating web.Pet5b 2024/10/21 19:31:18 Generating web.Pet5c 2024/10/21 19:31:18 Generating api.SwagReturn 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet --- PASS: TestGen_OutputIsNotExist (0.16s) === RUN TestGen_FailToWrite 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:18 Generating web.Pet 2024/10/21 19:31:18 Generating web.Tag 2024/10/21 19:31:18 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:18 Generating web.Pet2 2024/10/21 19:31:18 Generating web.APIError 2024/10/21 19:31:18 Generating cross.Cross 2024/10/21 19:31:18 Generating web.RevValue 2024/10/21 19:31:18 Generating web.RevValueBase 2024/10/21 19:31:18 Generating web.IndirectRecursiveTest 2024/10/21 19:31:18 Generating web.Tags 2024/10/21 19:31:18 Generating web.CrossAlias 2024/10/21 19:31:18 Generating web.AnonymousStructArray 2024/10/21 19:31:18 Generating web.Pet5a 2024/10/21 19:31:18 Generating web.Pet5b 2024/10/21 19:31:18 Generating web.Pet5c 2024/10/21 19:31:18 Generating api.SwagReturn 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:18 create docs.go at /tmp/swagg/test/docs.go 2024/10/21 19:31:18 create swagger.json at /tmp/swagg/test/swagger.json 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:18 Generating web.Pet 2024/10/21 19:31:18 Generating web.Tag 2024/10/21 19:31:18 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:18 Generating web.Pet2 2024/10/21 19:31:18 Generating web.APIError 2024/10/21 19:31:18 Generating cross.Cross 2024/10/21 19:31:18 Generating web.RevValue 2024/10/21 19:31:18 Generating web.RevValueBase 2024/10/21 19:31:18 Generating web.IndirectRecursiveTest 2024/10/21 19:31:18 Generating web.Tags 2024/10/21 19:31:18 Generating web.CrossAlias 2024/10/21 19:31:18 Generating web.AnonymousStructArray 2024/10/21 19:31:18 Generating web.Pet5a 2024/10/21 19:31:18 Generating web.Pet5b 2024/10/21 19:31:18 Generating web.Pet5c 2024/10/21 19:31:18 Generating api.SwagReturn 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:18 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:18 create docs.go at /tmp/swagg/test/docs.go 2024/10/21 19:31:18 Generate swagger docs.... 2024/10/21 19:31:18 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet --- PASS: TestGen_FailToWrite (0.26s) === RUN TestGen_configWithOutputDir 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:31:19 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:31:19 create swagger.yaml at ../testdata/simple/docs/swagger.yaml --- PASS: TestGen_configWithOutputDir (0.14s) === RUN TestGen_configWithOutputTypesAll 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:31:19 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:31:19 create swagger.yaml at ../testdata/simple/docs/swagger.yaml --- PASS: TestGen_configWithOutputTypesAll (0.07s) === RUN TestGen_configWithOutputTypesSingle 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create swagger.yaml at ../testdata/simple/docs/swagger.yaml --- PASS: TestGen_configWithOutputTypesSingle (0.24s) === RUN TestGen_formatSource --- PASS: TestGen_formatSource (0.00s) === RUN TestGen_writeGoDoc --- PASS: TestGen_writeGoDoc (0.00s) === RUN TestGen_GeneratedDoc 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:19 Generating web.Pet 2024/10/21 19:31:19 Generating web.Tag 2024/10/21 19:31:19 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:19 Generating web.Pet2 2024/10/21 19:31:19 Generating web.APIError 2024/10/21 19:31:19 Generating cross.Cross 2024/10/21 19:31:19 Generating web.RevValue 2024/10/21 19:31:19 Generating web.RevValueBase 2024/10/21 19:31:19 Generating web.IndirectRecursiveTest 2024/10/21 19:31:19 Generating web.Tags 2024/10/21 19:31:19 Generating web.CrossAlias 2024/10/21 19:31:19 Generating web.AnonymousStructArray 2024/10/21 19:31:19 Generating web.Pet5a 2024/10/21 19:31:19 Generating web.Pet5b 2024/10/21 19:31:19 Generating web.Pet5c 2024/10/21 19:31:19 Generating api.SwagReturn 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:19 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet 2024/10/21 19:31:19 create docs.go at ../testdata/simple/docs/docs.go 2024/10/21 19:31:19 create swagger.json at ../testdata/simple/docs/swagger.json 2024/10/21 19:31:19 create swagger.yaml at ../testdata/simple/docs/swagger.yaml --- PASS: TestGen_GeneratedDoc (0.46s) === RUN TestGen_cgoImports 2024/10/21 19:31:19 Generate swagger docs.... 2024/10/21 19:31:19 Generate general API Info, search dir:../testdata/simple_cgo 2024/10/21 19:31:20 create docs.go at ../testdata/simple_cgo/docs/docs.go 2024/10/21 19:31:20 create swagger.json at ../testdata/simple_cgo/docs/swagger.json 2024/10/21 19:31:20 create swagger.yaml at ../testdata/simple_cgo/docs/swagger.yaml --- PASS: TestGen_cgoImports (0.41s) === RUN TestGen_parseOverrides === RUN TestGen_parseOverrides/replace === PAUSE TestGen_parseOverrides/replace === RUN TestGen_parseOverrides/skip === PAUSE TestGen_parseOverrides/skip === RUN TestGen_parseOverrides/generic-simple === PAUSE TestGen_parseOverrides/generic-simple === RUN TestGen_parseOverrides/generic-double === PAUSE TestGen_parseOverrides/generic-double === RUN TestGen_parseOverrides/comment === PAUSE TestGen_parseOverrides/comment === RUN TestGen_parseOverrides/ignore_whitespace === PAUSE TestGen_parseOverrides/ignore_whitespace === RUN TestGen_parseOverrides/unknown_directive === PAUSE TestGen_parseOverrides/unknown_directive === CONT TestGen_parseOverrides/replace === CONT TestGen_parseOverrides/ignore_whitespace === CONT TestGen_parseOverrides/generic-double === CONT TestGen_parseOverrides/generic-simple === CONT TestGen_parseOverrides/unknown_directive === CONT TestGen_parseOverrides/comment === CONT TestGen_parseOverrides/skip --- PASS: TestGen_parseOverrides (0.00s) --- PASS: TestGen_parseOverrides/replace (0.00s) --- PASS: TestGen_parseOverrides/ignore_whitespace (0.00s) --- PASS: TestGen_parseOverrides/generic-double (0.00s) --- PASS: TestGen_parseOverrides/unknown_directive (0.00s) --- PASS: TestGen_parseOverrides/comment (0.00s) --- PASS: TestGen_parseOverrides/generic-simple (0.00s) --- PASS: TestGen_parseOverrides/skip (0.00s) === RUN TestGen_TypeOverridesFile === RUN TestGen_TypeOverridesFile/Default_file_is_missing 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:20 Generating web.Pet 2024/10/21 19:31:20 Generating web.Tag 2024/10/21 19:31:20 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:20 Generating web.Pet2 2024/10/21 19:31:20 Generating web.APIError 2024/10/21 19:31:20 Generating cross.Cross 2024/10/21 19:31:20 Generating web.RevValue 2024/10/21 19:31:20 Generating web.RevValueBase 2024/10/21 19:31:20 Generating web.IndirectRecursiveTest 2024/10/21 19:31:20 Generating web.Tags 2024/10/21 19:31:20 Generating web.CrossAlias 2024/10/21 19:31:20 Generating web.AnonymousStructArray 2024/10/21 19:31:20 Generating web.Pet5a 2024/10/21 19:31:20 Generating web.Pet5b 2024/10/21 19:31:20 Generating web.Pet5c 2024/10/21 19:31:20 Generating api.SwagReturn 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet === RUN TestGen_TypeOverridesFile/Default_file_is_present 2024/10/21 19:31:20 Using overrides from .swaggo 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:20 Generating web.Pet 2024/10/21 19:31:20 Generating web.Tag 2024/10/21 19:31:20 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:20 Generating web.Pet2 2024/10/21 19:31:20 Generating web.APIError 2024/10/21 19:31:20 Generating cross.Cross 2024/10/21 19:31:20 Generating web.RevValue 2024/10/21 19:31:20 Generating web.RevValueBase 2024/10/21 19:31:20 Generating web.IndirectRecursiveTest 2024/10/21 19:31:20 Generating web.Tags 2024/10/21 19:31:20 Generating web.CrossAlias 2024/10/21 19:31:20 Generating web.AnonymousStructArray 2024/10/21 19:31:20 Generating web.Pet5a 2024/10/21 19:31:20 Generating web.Pet5b 2024/10/21 19:31:20 Generating web.Pet5c 2024/10/21 19:31:20 Generating api.SwagReturn 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet === RUN TestGen_TypeOverridesFile/Different_file_is_missing === RUN TestGen_TypeOverridesFile/Different_file_is_present 2024/10/21 19:31:20 Using overrides from /foo/bar/baz 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/simple 2024/10/21 19:31:20 Generating web.Pet 2024/10/21 19:31:20 Generating web.Tag 2024/10/21 19:31:20 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:20 Generating web.Pet2 2024/10/21 19:31:20 Generating web.APIError 2024/10/21 19:31:20 Generating cross.Cross 2024/10/21 19:31:20 Generating web.RevValue 2024/10/21 19:31:20 Generating web.RevValueBase 2024/10/21 19:31:20 Generating web.IndirectRecursiveTest 2024/10/21 19:31:20 Generating web.Tags 2024/10/21 19:31:20 Generating web.CrossAlias 2024/10/21 19:31:20 Generating web.AnonymousStructArray 2024/10/21 19:31:20 Generating web.Pet5a 2024/10/21 19:31:20 Generating web.Pet5b 2024/10/21 19:31:20 Generating web.Pet5c 2024/10/21 19:31:20 Generating api.SwagReturn 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.response 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pet 2024/10/21 19:31:20 Generating api.GetPet6FunctionScopedComplexResponse.pointerPet --- PASS: TestGen_TypeOverridesFile (0.21s) --- PASS: TestGen_TypeOverridesFile/Default_file_is_missing (0.05s) --- PASS: TestGen_TypeOverridesFile/Default_file_is_present (0.11s) --- PASS: TestGen_TypeOverridesFile/Different_file_is_missing (0.00s) --- PASS: TestGen_TypeOverridesFile/Different_file_is_present (0.05s) === RUN TestGen_Debugger --- PASS: TestGen_Debugger (0.07s) === RUN TestGen_ErrorAndInterface 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/error 2024/10/21 19:31:20 Generating web.CrossErrors 2024/10/21 19:31:20 Generating errors.Errors 2024/10/21 19:31:20 Generating errors.CustomInterface 2024/10/21 19:31:20 create docs.go at ../testdata/error/docs/docs.go 2024/10/21 19:31:20 create swagger.json at ../testdata/error/docs/swagger.json 2024/10/21 19:31:20 create swagger.yaml at ../testdata/error/docs/swagger.yaml --- PASS: TestGen_ErrorAndInterface (0.12s) === RUN TestGen_StateAdmin 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/state 2024/10/21 19:31:20 Generating web.Pet 2024/10/21 19:31:20 Generating web.Tag 2024/10/21 19:31:20 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:20 Generating web.Pet2 2024/10/21 19:31:20 Generating web.APIError 2024/10/21 19:31:20 Generating web.RevValue 2024/10/21 19:31:20 Generating web.RevValueBase 2024/10/21 19:31:20 create docs.go at ../testdata/state/docs/admin_docs.go 2024/10/21 19:31:20 create swagger.json at ../testdata/state/docs/admin_swagger.json 2024/10/21 19:31:20 create swagger.yaml at ../testdata/state/docs/admin_swagger.yaml --- PASS: TestGen_StateAdmin (0.17s) === RUN TestGen_StateUser 2024/10/21 19:31:20 Generate swagger docs.... 2024/10/21 19:31:20 Generate general API Info, search dir:../testdata/state 2024/10/21 19:31:20 Generating web.Pet 2024/10/21 19:31:20 Generating web.Tag 2024/10/21 19:31:20 Skipping 'web.Pet', recursion detected. 2024/10/21 19:31:20 Generating web.Pet2 2024/10/21 19:31:20 Generating web.APIError 2024/10/21 19:31:20 Generating web.RevValue 2024/10/21 19:31:20 Generating web.RevValueBase 2024/10/21 19:31:20 create docs.go at ../testdata/state/docs/user_docs.go 2024/10/21 19:31:20 create swagger.json at ../testdata/state/docs/user_swagger.json 2024/10/21 19:31:20 create swagger.yaml at ../testdata/state/docs/user_swagger.yaml --- PASS: TestGen_StateUser (0.05s) PASS coverage: 94.6% of statements ok github.com/swaggo/swag/gen 24.942s coverage: 94.6% of statements === RUN TestFormat_Format --- PASS: TestFormat_Format (0.00s) === RUN TestFormat_PermissionsPreserved --- PASS: TestFormat_PermissionsPreserved (0.00s) === RUN TestFormat_ExcludeDir --- PASS: TestFormat_ExcludeDir (0.00s) === RUN TestFormat_ExcludeFile --- PASS: TestFormat_ExcludeFile (0.00s) === RUN TestFormat_DefaultExcludes --- PASS: TestFormat_DefaultExcludes (0.00s) === RUN TestFormat_ParseError --- PASS: TestFormat_ParseError (0.00s) === RUN TestFormat_ReadError --- PASS: TestFormat_ReadError (0.00s) === RUN TestFormat_WriteError --- PASS: TestFormat_WriteError (0.00s) === RUN TestFormat_InvalidSearchDir --- PASS: TestFormat_InvalidSearchDir (0.00s) PASS coverage: 73.7% of statements ok github.com/swaggo/swag/format 0.011s coverage: 73.7% of statements >>> go-swag: Entering fakeroot... >>> go-swag*: Running postcheck for go-swag >>> go-swag*: Preparing package go-swag... >>> go-swag*: Stripping binaries >>> go-swag*: Scanning shared objects >>> go-swag*: Tracing dependencies... so:libc.musl-ppc64le.so.1 >>> go-swag*: Package size: 11.8 MB >>> go-swag*: Compressing data... >>> go-swag*: Create checksum... >>> go-swag*: Create go-swag-1.16.4-r0.apk >>> go-swag: Build complete at Mon, 21 Oct 2024 19:31:22 +0000 elapsed time 0h 1m 2s >>> go-swag: Cleaning up srcdir >>> go-swag: Cleaning up pkgdir >>> go-swag: Uninstalling dependencies... (1/2) Purging .makedepends-go-swag (20241021.193022) (2/2) Purging go (1.23.2-r0) Executing busybox-1.37.0-r3.trigger OK: 278 MiB in 108 packages >>> go-swag: Updating the testing/ppc64le repository index... >>> go-swag: Signing the index...