swagger

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package swagger contains swagger/openapi related helpers to be used in mage targets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(main, api string) error

Check ensures that the generated files are up to date.

func CheckDefault

func CheckDefault(main string) error

CheckDefault ensures that the generated files are up to date with default arguments.

func Create

func Create(main, output, api string) error

Create creates a swagger files from source code annotations.

func CreateDefault

func CreateDefault(main string) error

CreateDefault creates a swagger files from source code annotations with default arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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