package
0.0.3
Repository: https://github.com/buypal/oapi-go.git
Documentation: pkg.go.dev

# Functions

NewCmdRoot creates new root schema.
NewCmdSchema creates new command schema.
NewScanner creates new scanner.
Parse will parse pacage with given comment, returning command.
ParseCommentGroup will take ast comment group and returns parsed comments as a strings.

# Constants

RootKind is root command.
SchemaKind is schema command.

# Structs

CmdBase is base command.
CmdRoot root command parses the syntax '//openapi ....'.
CmdSchema is command responsible for allowing schema exports to be possible.
Scanner allow to scan go code for commands.

# Interfaces

Commander interface allows to unite and cast given comments at need.

# Type aliases

Args are aguements to commands.
CmdKind is command kind.
List is list of commands.
Map is a map of commands.