Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(options pkgopenapi.ParserOptions) pkgopenapi.Parser
New constructs a Parser with the given options.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser implements pkgopenapi.Parser using kin-openapi.
func (*Parser) Operations ¶
func (p *Parser) Operations(ctx context.Context, doc pkgopenapi.Document) (map[string]pkgopenapi.Operation, error)
Operations converts a Document into a map keyed by operationId.
Click to show internal directories.
Click to hide internal directories.