package
0.0.0-20230105204014-c71f55927cac
Repository: https://github.com/cosnicolaou/openapi.git
Documentation: pkg.go.dev

# Functions

Get returns the transformer, if any, for the requested name.
List returns a list of all available transformers.
LoadConfigFile loads the transform configuration from the specified YAML file.
NewReplacement accepts a string of the form /<match-re>/<replacement>/ to create a Replacement that will apply <match-re.ReplaceAllString(<replace>).
ParseConfig parses the supplied YAML data to create an instance of Config.
Register registers a transformer and make it available to clients of this package.

# Structs

Config represents the loaded transformer configuration.
Replacement represents a replacement string of the form /<match-re>/<replacement>/.

# Interfaces

T represents a 'Transformer' that can be used to perform structured edits/transforms on an openapi 3 specification.