Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Enhancement to enum support in Go API client and servers #5641

Open
wing328 opened this issue May 15, 2017 · 0 comments
Open

[Go] Enhancement to enum support in Go API client and servers #5641

wing328 opened this issue May 15, 2017 · 0 comments

Comments

@wing328
Copy link
Contributor

wing328 commented May 15, 2017

Description

Currently, the Go API client and server only supports enum class, e.g.

https://github.com/swagger-api/swagger-codegen/blob/2.3.0/samples/client/petstore/go/go-petstore/enum_test.go

But not enum for property/parameter type (EnumString, EnumNumber, EnumInteger) in enum_test.go

We also want to add some test cases in https://github.com/swagger-api/swagger-codegen/tree/2.3.0/samples/client/petstore/go for enum.

Swagger-codegen version

2.3.0

Swagger declaration file content or url

If anyone has an opinion on supporting enum property/parameter type in Go API client/server, please reply to let us know.

If anyone wants to contribute the test cases, please reply to let us know as well. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant