swagger-api/swagger-codegen
[Go] Enhancement to enum support in Go API client and servers
开放
#5,641 创建于 2017年5月15日
Client: GoEnhancement: FeatureFeature: EnumServer: Gohelp wanted
仓库指标
- 星标
- (12,701 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Description
Currently, the Go API client and server only supports enum class, e.g.
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.