swagger

package
v3.2.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwaggerFormat

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

SwaggerFormat is a Swagger Schema File parser

func New

func New() *SwaggerFormat

New creates a new Swagger format parser

func (*SwaggerFormat) Name

func (j *SwaggerFormat) Name() string

Name returns the name of the format

func (*SwaggerFormat) Parse

func (j *SwaggerFormat) Parse(input string, resultsCb formats.ParseReqRespCallback) error

Parse parses the input and calls the provided callback function for each RawRequest it discovers.

func (*SwaggerFormat) SetOptions

func (j *SwaggerFormat) SetOptions(options formats.InputFormatOptions)

Jump to

Keyboard shortcuts

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