package
0.18.2
Repository: https://github.com/pb33f/libopenapi.git
Documentation: pkg.go.dev

# Functions

AreValuesCorrectlyTyped will look through an array of unknown values and check they match against the supplied type as a string.
BuildPath will construct a JSONPath from a base and an array of strings.
CheckEnumForDuplicates will check an array of nodes to check if there are any duplicate values.
CheckForMergeNodes will check the top level of the schema for merge nodes.
No description provided by the author
ConvertComponentIdIntoFriendlyPathSearch will convert a JSON Path into a friendly path search string.
ConvertComponentIdIntoPath will convert a JSON Path into a component ID TODO: This function is named incorrectly and should be changed to reflect the correct function.
ConvertInterfaceArrayToStringArray will convert an unknown interface array type, into a string slice.
ConvertInterfaceIntoStringMap will convert an unknown input into a string map.
ConvertInterfaceToStringArray will convert an unknown input map type into a string array/slice.
ConvertYAMLtoJSON will do exactly what you think it will.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DetermineWhitespaceLength will determine the length of the whitespace for a JSON or YAML file.
ExtractValueFromInterfaceMap pulls out an unknown value from a map using a string key.
No description provided by the author
FindFirstKeyNode will locate the first key and value yaml.Node based on a key.
FindKeyNode is a non-recursive search of a *yaml.Node Content for a child node with a key.
FindKeyNodeFull is an overloaded version of FindKeyNode.
FindKeyNodeFullTop is an overloaded version of FindKeyNodeFull.
FindKeyNodeTop is a non-recursive search of top level nodes for a key, will not look at content.
FindLastChildNode will find the last node in a tree, based on a starting node.
FindLastChildNodeWithLevel will find the last node in a tree, based on a starting node.
FindNodes will find a node based on JSONPath, it accepts raw yaml/json as input.
FindNodesWithoutDeserializing will find a node based on JSONPath, without deserializing from yaml/json.
FixContext will clean up a JSONpath string to be correctly traversable.
IsHttpVerb will check if an operation is valid or not.
IsJSON will tell you if a string is JSON or not.
IsNodeAlias checks if the node is an alias, and lifts out the anchor.
IsNodeArray checks if a node is an array type.
IsNodeBoolValue will check is a node is a bool.
IsNodeFloatValue will check is a node is a float value.
IsNodeIntValue will check if a node is an int value.
IsNodeMap checks if the node is a map type.
IsNodeNumberValue will check if a node can be parsed as a float value.
IsNodePolyMorphic will return true if the node contains polymorphic keys.
No description provided by the author
IsNodeStringValue checks if a node is a string value.
No description provided by the author
No description provided by the author
NodeAlias checks if the node is an alias, and lifts out the anchor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AsyncApi is used by akk AsyncAPI docs, all versions.
No description provided by the author
No description provided by the author
OpenApi2 is used by all OpenAPI 2 docs, formerly known as swagger.
OpenApi3 is used by all OpenAPI 3+ docs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
KeyNodeResult is a result from a KeyNodeSearch performed by the FindAllKeyNodesWithPath.
KeyNodeSearch keeps a track of everything we have found on our adventure down the trees.

# Type aliases

No description provided by the author
No description provided by the author