# Functions
APIMethodNotAllowedHandler is the handler when the request method does not match the route.
APINotFoundHandler is the handler when the request url route does not exist.
APIValidator is the middleware to validate incoming request with OpenAPI spec.
LoadSpec loads OpenAPI spec documents from the given FS and returns a Loader instance.
RadiusResourceTypeGetter parses the request URL and method to get the resource type and returns it, returning an error if parsing fails.
UCPResourceTypeGetter returns the UCPEndpointType string and no error.
# Constants
No description provided by the author
No description provided by the author
This comes from the path: /Users/vinayada/radius/radius/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json This spec path is parsed and this string needs to be provider/resourceType.
# Variables
No description provided by the author
No description provided by the author
# Structs
Loader is the OpenAPI spec loader implementation.
Options represents the options for APIValidator.
ValidationError represents a validation error.
# Interfaces
Validator validates HTTP request.