modulepackage
0.0.0-20230105204014-c71f55927cac
Repository: https://github.com/cosnicolaou/openapi.git
Documentation: pkg.go.dev
# README
openapi
This repository provides support for traversing openapi documents as parsed by https://github.com/getkin/kin-openapi and also for performing various transformations on those documents to work around inconsistent/incorrect schemas (see the transforms package). Such schemas are often generated by schema generator tools that generate specifications from existing code/APIs.
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
NewWalker returns a Walker that will visit every node in an openapi3 document.
WalkerFollowRefs controls wether the walker will follow $ref's and flatten them in place.
No description provided by the author
WalkerVisitPrefix adds a prefix that the walk should call the Visitor function for.
# Interfaces
Walker represents the interface implemented by all walkers.
# Type aliases
Visitor is called for every node in the walk.
WalkerOption represents an option for use when creating a new walker.