v1

package
v0.0.0-...-6670d34 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountSwaggerui

func MountSwaggerui(e *echo.Echo)

func NewSashay

func NewSashay() *sashay.Sashay

func Register

func Register(e *echo.Echo)

Types

type DatagenParams

type DatagenParams struct {
	Schema schema.Schema `json:"schema"`
	Count  int           `json:"count" default:"5"`
}

type DatagenResponse

type DatagenResponse struct {
	Items []interface{} `json:"items"`
}

type SchemagenParams

type SchemagenParams struct {
	Schema        schema.Schema `` /* 138-byte string literal not displayed */
	Payloads      []interface{} `json:"payloads" description:"Array of JSON events. Mox Populi iteratively merges these into the schema."`
	ExamplesLimit *int          `` /* 160-byte string literal not displayed */
}

type SchemagenResponse

type SchemagenResponse struct {
	Schema schema.Schema `json:"schema" description:"The JSONSchema derived from the input schema (if any) and each payload."`
}

type SpecgenParams

type SpecgenParams struct {
	ExamplesLimit *int                               `json:"examples_limit" validate:"min=0|max=10" description:"See /schemagen for an explanation of this parameter."`
	Protocol      string                             `` /* 155-byte string literal not displayed */
	Specification map[string]interface{}             `` /* 187-byte string literal not displayed */
	HttpEvents    []asyncapispecmerge.MergeHttpEvent `json:"http_events" description:"Events to use for the 'http' protocol."`
}

type SpecgenResponse

type SpecgenResponse struct {
	Specification map[string]interface{} `json:"specification"`
}

Jump to

Keyboard shortcuts

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