openapiwalker

package
v8.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL