swaggo

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 swaggo exposes openapi tools as library with sane defaults.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDocs

func GenerateDocs(ctx context.Context, searchDir, apiFile, outputDir string) error

GenerateDocs generates the OpenAPI docs with sane default config.

func GenerateDocsWithConf

func GenerateDocsWithConf(ctx context.Context, conf gen.Config) error

GenerateDocsWithConf generates the OpenAPI docs with given config.

Types

This section is empty.

Directories

Path Synopsis
Package target exposes swaggo targets that can be imported in magefile using [import syntax].
Package target exposes swaggo targets that can be imported in magefile using [import syntax].

Jump to

Keyboard shortcuts

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