parser

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColonParamParser

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

ColonParamParser converts framework parameters such as "/users/:id" and named catch-all parameters such as "/files/*filepath" to OpenAPI templates.

func NewColonParamParser

func NewColonParamParser() *ColonParamParser

NewColonParamParser creates a new ColonParamParser instance.

func (*ColonParamParser) Parse

func (p *ColonParamParser) Parse(colonParam string) (string, error)

Parse converts supported framework parameters to OpenAPI-style parameters.

Jump to

Keyboard shortcuts

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