swagger

package
v3.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 11 Imported by: 0

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