Versions in this module Expand all Collapse all v1 v1.13.2 Jun 4, 2023 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router fiber.Router, si ServerInterface) + func RegisterHandlersWithOptions(router fiber.Router, si ServerInterface, options FiberServerOptions) + type AddPetJSONRequestBody = NewPet + type Error struct + Code int32 + Message string + type FiberServerOptions struct + BaseURL string + Middlewares []MiddlewareFunc + type FindPetsParams struct + Limit *int32 + Tags *[]string + type MiddlewareFunc fiber.Handler + type NewPet struct + Name string + Tag *string + type Pet struct + Id int64 + Name string + Tag *string + type PetStore struct + Lock sync.Mutex + NextId int64 + Pets map[int64]Pet + func NewPetStore() *PetStore + func (p *PetStore) AddPet(c *fiber.Ctx) error + func (p *PetStore) DeletePet(c *fiber.Ctx, id int64) error + func (p *PetStore) FindPetByID(c *fiber.Ctx, id int64) error + func (p *PetStore) FindPets(c *fiber.Ctx, params FindPetsParams) error + type ServerInterface interface + AddPet func(c *fiber.Ctx) error + DeletePet func(c *fiber.Ctx, id int64) error + FindPetByID func(c *fiber.Ctx, id int64) error + FindPets func(c *fiber.Ctx, params FindPetsParams) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (siw *ServerInterfaceWrapper) AddPet(c *fiber.Ctx) error + func (siw *ServerInterfaceWrapper) DeletePet(c *fiber.Ctx) error + func (siw *ServerInterfaceWrapper) FindPetByID(c *fiber.Ctx) error + func (siw *ServerInterfaceWrapper) FindPets(c *fiber.Ctx) error