[go-server] Fix: missing quotes for string default value (#18546)

* Update controller mustache

* Add tests to openapi doc

* Regen
This commit is contained in:
Ween Jiann
2024-05-06 14:17:44 +08:00
committed by GitHub
parent b1fac19a75
commit cefbf62060
14 changed files with 188 additions and 43 deletions

View File

@@ -71,7 +71,7 @@ type PetAPIServicer interface {
AddPet(context.Context, Pet) (ImplResponse, error)
DeletePet(context.Context, int64, string) (ImplResponse, error)
FilterPetsByCategory(context.Context, Gender, Species, []Species) (ImplResponse, error)
FindPetsByStatus(context.Context, []string, string, string) (ImplResponse, error)
FindPetsByStatus(context.Context, []string, string, string, int32, float32, string) (ImplResponse, error)
// Deprecated
FindPetsByTags(context.Context, []string, time.Time, time.Time, Colour) (ImplResponse, error)
GetPetById(context.Context, int64) (ImplResponse, error)