forked from loafle/openapi-generator-original
Time parameters in the path resulted in code that would not compile (#17021)
This is probably a pretty rare case as it just seems weird to have a time path parameter, but it's good to fix.
This commit is contained in:
@@ -30,6 +30,7 @@ type PetAPIRouter interface {
|
||||
FindPetsByTags(http.ResponseWriter, *http.Request)
|
||||
GetPetById(http.ResponseWriter, *http.Request)
|
||||
GetPetImageById(http.ResponseWriter, *http.Request)
|
||||
GetPetsByTime(http.ResponseWriter, *http.Request)
|
||||
GetPetsUsingBooleanQueryParameters(http.ResponseWriter, *http.Request)
|
||||
UpdatePet(http.ResponseWriter, *http.Request)
|
||||
UpdatePetWithForm(http.ResponseWriter, *http.Request)
|
||||
@@ -73,6 +74,7 @@ type PetAPIServicer interface {
|
||||
FindPetsByTags(context.Context, []string, time.Time, time.Time) (ImplResponse, error)
|
||||
GetPetById(context.Context, int64) (ImplResponse, error)
|
||||
GetPetImageById(context.Context, int64) (ImplResponse, error)
|
||||
GetPetsByTime(context.Context, time.Time) (ImplResponse, error)
|
||||
GetPetsUsingBooleanQueryParameters(context.Context, bool, bool, bool) (ImplResponse, error)
|
||||
UpdatePet(context.Context, Pet) (ImplResponse, error)
|
||||
UpdatePetWithForm(context.Context, int64, string, string) (ImplResponse, error)
|
||||
|
||||
Reference in New Issue
Block a user