forked from loafle/openapi-generator-original
* Add support for Enums to be part of the Path and Query Supports optional Query Enums and Lists of Enums as well Add an example endpoint that covers the added scenarios Added an import mapping for the GoServerCodegen for "fmt" when a model is an enum. Expanded the Enum Model for the Go Server to have validation. Copied this logic from the Go Client Enum Model. * Fix identation of examples * Pre-allocate the capacity of the slice of Enums to be the correct size. * Formatting and updated examples * Empty-Commit * Switch to using a map to store the valid enum values * Fixed pointer derefs missed from previous change in PR * More fixing of pointer to not pointer * Create a map for validation and a list of enums for messaging
29 lines
463 B
Plaintext
29 lines
463 B
Plaintext
Dockerfile
|
|
README.md
|
|
api/openapi.yaml
|
|
go.mod
|
|
go/api.go
|
|
go/api_pet.go
|
|
go/api_pet_service.go
|
|
go/api_store.go
|
|
go/api_store_service.go
|
|
go/api_user.go
|
|
go/api_user_service.go
|
|
go/error.go
|
|
go/helpers.go
|
|
go/impl.go
|
|
go/logger.go
|
|
go/model_an_object.go
|
|
go/model_api_response.go
|
|
go/model_category.go
|
|
go/model_gender.go
|
|
go/model_order.go
|
|
go/model_order_info.go
|
|
go/model_pet.go
|
|
go/model_special_info.go
|
|
go/model_species.go
|
|
go/model_tag.go
|
|
go/model_user.go
|
|
go/routers.go
|
|
main.go
|