schema

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedPattern = getAllowedPattern()

Functions

This section is empty.

Types

type InvalidPathSyntaxError

type InvalidPathSyntaxError struct {
	// contains filtered or unexported fields
}

func (*InvalidPathSyntaxError) Error

func (e *InvalidPathSyntaxError) Error() string

type OpenAPISummary

type OpenAPISummary struct {
	Paths map[string]struct {
		Platforms []string `json:"x-platforms-available,omitempty"`
	} `json:"paths"`
}

type Syntax

type Syntax struct {
	Platform string
	Method   string
	Endpoint string // Method without custom request parameters
	Id       string
}

func NewPathSyntax

func NewPathSyntax(path string) (*Syntax, error)

Validates the path syntax of an incoming request

func NewProxySyntax

func NewProxySyntax(host string, path string) (*Syntax, error)

Validates the proxy syntax of an incoming request

Jump to

Keyboard shortcuts

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