server

package
v0.0.0-...-80f4f19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package server implements the API interface, api.StrictServerInterface, which is auto-generated from the OpenAPI 3 spec, and describes the simple, canonical 'pet store' example.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func (*Server) AddPet

Creates a new pet (POST /pets)

func (*Server) DeletePet

Deletes a pet by ID (DELETE /pets/{id})

func (*Server) FindPetByID

Returns a pet by ID (GET /pets/{id})

func (*Server) FindPets

Returns all pets (GET /pets)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL