Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessRefs ¶
func ProcessRefs(data any, p RefProcessor) error
ProcessRefs visits all the documents and calls the RefProcessor for each ref encountered.
Types ¶
type RefProcessor ¶
type RefProcessor interface { ProcessCallbackRef(ref *openapi3.CallbackRef) error ProcessExampleRef(ref *openapi3.ExampleRef) error ProcessHeaderRef(ref *openapi3.HeaderRef) error ProcessLinkRef(ref *openapi3.LinkRef) error ProcessParameterRef(ref *openapi3.ParameterRef) error ProcessRequestBodyRef(ref *openapi3.RequestBodyRef) error ProcessResponseRef(ref *openapi3.ResponseRef) error ProcessSchemaRef(ref *openapi3.SchemaRef) error ProcessSecuritySchemeRef(ref *openapi3.SecuritySchemeRef) error }
Click to show internal directories.
Click to hide internal directories.