target

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package target exposes swaggo targets that can be imported in magefile using import syntax. When using this package the user has to set target.SearchDir, target.ApiFile, target.OutputDir. For more low level usage the swaggo package should be preferred.

Index

Constants

This section is empty.

Variables

View Source
var (
	SearchDir = ""
	ApiFile   = ""
	OutputDir = ""
)

Functions

This section is empty.

Types

type Docs

type Docs mg.Namespace

func (Docs) OpenAPI

func (Docs) OpenAPI(ctx context.Context) error

OpenAPI generates OpenAPI files using swaggo.

Jump to

Keyboard shortcuts

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