openapi

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAPI

type OpenAPI struct {
	command.ProjectPathCommand
	Output string
}

OpenAPI command implementation for OpenAPI 3 specification generation.

func (*OpenAPI) BuildCobraCommand

func (c *OpenAPI) BuildCobraCommand() *cobra.Command

BuildCobraCommand builds the cobra command for this action

func (*OpenAPI) BuildSurvey

func (c *OpenAPI) BuildSurvey() ([]*survey.Question, error)

BuildSurvey builds a survey for this action

func (*OpenAPI) Execute

func (c *OpenAPI) Execute() error

Execute the command's behavior

func (*OpenAPI) Validate

func (c *OpenAPI) Validate() error

Validate is a function which check if required flags are definded

Jump to

Keyboard shortcuts

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