Documentation
¶
Overview ¶
Package openapi contains shared traversal of the typed OpenAPI document.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationVisitor ¶
type OperationVisitor struct {
Operation func(*v3.Operation, string)
Link func(*v3.Link, string)
Server func(*v3.Server, string)
}
OperationVisitor receives typed graph objects and the JSON Pointer to their use site. Nil callbacks are skipped. Referenced path items are visited once.
func (OperationVisitor) Walk ¶
func (v OperationVisitor) Walk(d *v3.Document)
Walk visits objects reachable from paths, webhooks, callbacks and components.