Documentation
¶
Overview ¶
Copyright 2019 DeepMap, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This is an autogenerated file, any edits which you make here will be lost!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶ added in v1.0.3
Returns the Swagger specification corresponding to the generated code in this file.
func RegisterHandlers ¶
func RegisterHandlers(router codegen.EchoRouter, si ServerInterface)
Types ¶
type FindPetsParams ¶
type FindPetsParams struct {
Tags *[]string `json:"tags,omitempty"`
Limit *int32 `json:"limit,omitempty"`
}
Parameters object for FindPets
type Pet ¶
type Pet struct {
// Embedded struct due to allOf(#/components/schemas/NewPet)
NewPet
// Embedded fields due to inline allOf schema
Id int64 `json:"id"`
}
Type definition for component schema "Pet"
type ServerInterface ¶
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
func (*ServerInterfaceWrapper) AddPet ¶
func (w *ServerInterfaceWrapper) AddPet(ctx echo.Context) error
Wrapper for AddPet
func (*ServerInterfaceWrapper) DeletePet ¶
func (w *ServerInterfaceWrapper) DeletePet(ctx echo.Context) error
Wrapper for DeletePet
func (*ServerInterfaceWrapper) FindPetById ¶
func (w *ServerInterfaceWrapper) FindPetById(ctx echo.Context) error
Wrapper for FindPetById
func (*ServerInterfaceWrapper) FindPets ¶
func (w *ServerInterfaceWrapper) FindPets(ctx echo.Context) error
Wrapper for FindPets