package
1.0.2
Repository: https://github.com/iasthc/hsuan-fuzz.git
Documentation: pkg.go.dev

# Functions

GetBodyExample ###.
GetParameterExample ###.
GetResponseExample ###.
OpenAPIExample creates an example structure from an OpenAPI 3 schema object, which is an extended subset of JSON Schema.

# Constants

ModeRequest is for the request body (writes to the server).
ModeResponse is for the response body (reads from the server).

# Variables

ErrCannotMarshal is set when an example cannot be marshalled.
ErrInvalidAuth is set when the authorization scheme doesn't correspond to the one required by the API description.
ErrMissingAuth is set when no authorization header or key is present but one is required by the API description.
ErrNoExample is sent when no example was found for an operation.
ErrRecursive is when a schema is impossible to represent because it infinitely recurses.

# Type aliases

Mode defines a mode of operation for example generation.