api

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create200Response added in v0.0.2

func Create400Response added in v0.0.2

func Create400Response() *apimodels.CreateResponse

func Create404Response added in v0.0.2

func Create404Response() *apimodels.CreateResponse

func ValidateComplexObjectForDiveArrayObjectsOptionalItemJSON added in v0.0.19

func ValidateComplexObjectForDiveArrayObjectsOptionalItemJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveArrayObjectsOptionalJSON added in v0.0.19

func ValidateComplexObjectForDiveArrayObjectsOptionalJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveArrayObjectsRequiredItemJSON added in v0.0.19

func ValidateComplexObjectForDiveArrayObjectsRequiredItemJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveArrayObjectsRequiredJSON added in v0.0.19

func ValidateComplexObjectForDiveArrayObjectsRequiredJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveJSON added in v0.0.19

func ValidateComplexObjectForDiveJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveObjectFieldOptionalJSON added in v0.0.19

func ValidateComplexObjectForDiveObjectFieldOptionalJSON(jsonData json.RawMessage) error

func ValidateComplexObjectForDiveObjectFieldRequiredJSON added in v0.0.19

func ValidateComplexObjectForDiveObjectFieldRequiredJSON(jsonData json.RawMessage) error

func ValidateCreateRequestBodyJSON added in v0.0.8

func ValidateCreateRequestBodyJSON(jsonData json.RawMessage) error

func ValidateCreateRequestBodyObjectArrayItemJSON added in v0.0.8

func ValidateCreateRequestBodyObjectArrayItemJSON(_ json.RawMessage) error

func ValidateCreateRequestBodyObjectArrayJSON added in v0.0.8

func ValidateCreateRequestBodyObjectArrayJSON(jsonData json.RawMessage) error

func ValidateCreateRequestBodyObjectFieldField2JSON added in v0.0.8

func ValidateCreateRequestBodyObjectFieldField2JSON(_ json.RawMessage) error

func ValidateCreateRequestBodyObjectFieldJSON added in v0.0.8

func ValidateCreateRequestBodyObjectFieldJSON(jsonData json.RawMessage) error

func ValidateNewResourseResponseJSON added in v0.0.8

func ValidateNewResourseResponseJSON(jsonData json.RawMessage) error

Types

type CreateHandler added in v0.0.2

type CreateHandler interface {
	HandleCreate(ctx context.Context, r apimodels.CreateRequest) (*apimodels.CreateResponse, error)
}

type Handler

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

func NewHandler

func NewHandler(create CreateHandler) *Handler

func (*Handler) AddRoutes

func (h *Handler) AddRoutes(router chi.Router)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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