usecase

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ConcatenateRequest

type ConcatenateRequest struct {
	Input string `json:"input" required:"true" minLength:"1"`
	// contains filtered or unexported fields
}

type ConcatenateResponse

type ConcatenateResponse struct {
	Output string `json:"output"`
	// contains filtered or unexported fields
}

func (*ConcatenateResponse) MarshalJSON

func (c *ConcatenateResponse) MarshalJSON() ([]byte, error)

type DogFeedRequest

type DogFeedRequest struct {
	Bowls int `json:"bowls" required:"true"`
}

Dog Feed

type DogFeedResponse

type DogFeedResponse struct {
	Happy bool `json:"happy"`
}

type DogWalkRequest

type DogWalkRequest struct {
	Place string `json:"place" requird:"true" path:"place"`
	Times int    `json:"times" path:"times" description:"The number of times to walk said dog"`
	// contains filtered or unexported fields
}

type DogWalkResponse

type DogWalkResponse struct {
	Walked bool `json:"walked"`
	Times  int  `json:"times"`
}

Not expecting anything so a 204 is ok

Jump to

Keyboard shortcuts

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