Skip to content

[GoServer] Generate non-required parameters as pointers (nil-able) #239

[GoServer] Generate non-required parameters as pointers (nil-able)

[GoServer] Generate non-required parameters as pointers (nil-able) #239

Re-run triggered July 15, 2024 15:14
Status Failure
Total duration 40s
Artifacts

samples-go.yaml

on: pull_request
Matrix: Build Go
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Build Go (samples/server/petstore/go-api-server/)
cannot use apiKeyParam (variable of type string) as *string value in argument to c.service.DeletePet
Build Go (samples/server/petstore/go-api-server/)
cannot use notSpeciesParam (variable of type []Species) as *[]Species value in argument to c.service.FilterPetsByCategory
Build Go (samples/server/petstore/go-api-server/)
cannot use inlineEnumPathParam (variable of type string) as *string value in argument to c.service.FindPetsByStatus
Build Go (samples/server/petstore/go-api-server/)
cannot use nameParam (variable of type string) as *string value in argument to c.service.UpdatePetWithForm
Build Go (samples/server/petstore/go-api-server/)
cannot use statusParam (variable of type string) as *string value in argument to c.service.UpdatePetWithForm
Build Go (samples/server/petstore/go-api-server/)
cannot use additionalMetadataParam (variable of type string) as *string value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-api-server/)
cannot use extraOptionalMetadataParam (variable of type []string) as *[]string value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-api-server/)
cannot use fileParam (variable of type *os.File) as **os.File value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-api-server/)
cannot use additionalMetadataParam (variable of type string) as *string value in argument to c.service.UploadFileArrayOfFiles
Build Go (samples/server/petstore/go-api-server/)
cannot use filesParam (variable of type []*os.File) as *[]*os.File value in argument to c.service.UploadFileArrayOfFiles
Build Go (samples/server/petstore/go-chi-server/)
cannot use apiKeyParam (variable of type string) as *string value in argument to c.service.DeletePet
Build Go (samples/server/petstore/go-chi-server/)
cannot use notSpeciesParam (variable of type []Species) as *[]Species value in argument to c.service.FilterPetsByCategory
Build Go (samples/server/petstore/go-chi-server/)
cannot use inlineEnumPathParam (variable of type string) as *string value in argument to c.service.FindPetsByStatus
Build Go (samples/server/petstore/go-chi-server/)
cannot use nameParam (variable of type string) as *string value in argument to c.service.UpdatePetWithForm
Build Go (samples/server/petstore/go-chi-server/)
cannot use statusParam (variable of type string) as *string value in argument to c.service.UpdatePetWithForm
Build Go (samples/server/petstore/go-chi-server/)
cannot use additionalMetadataParam (variable of type string) as *string value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-chi-server/)
cannot use extraOptionalMetadataParam (variable of type []string) as *[]string value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-chi-server/)
cannot use fileParam (variable of type *os.File) as **os.File value in argument to c.service.UploadFile
Build Go (samples/server/petstore/go-chi-server/)
cannot use additionalMetadataParam (variable of type string) as *string value in argument to c.service.UploadFileArrayOfFiles
Build Go (samples/server/petstore/go-chi-server/)
cannot use filesParam (variable of type []*os.File) as *[]*os.File value in argument to c.service.UploadFileArrayOfFiles
Build Go (samples/server/petstore/go-api-server/)
Restore cache failed: Dependencies file is not found in /home/runner/work/openapi-generator/openapi-generator. Supported file pattern: go.sum
Build Go (samples/server/petstore/go-chi-server/)
Restore cache failed: Dependencies file is not found in /home/runner/work/openapi-generator/openapi-generator. Supported file pattern: go.sum
Build Go (samples/server/petstore/go-echo-server/)
Restore cache failed: Dependencies file is not found in /home/runner/work/openapi-generator/openapi-generator. Supported file pattern: go.sum
Build Go (samples/server/others/go-server/no-body-path-params/)
Restore cache failed: Dependencies file is not found in /home/runner/work/openapi-generator/openapi-generator. Supported file pattern: go.sum