docs

package
v0.0.0-...-48b1a76 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package docs implement handlers for openapi v3 documentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenapiJSON

func OpenapiJSON(w http.ResponseWriter, r *http.Request)

OpenapiJSON outputs openapi v3 schema in json format to client.

func Redoc

func Redoc(w http.ResponseWriter, r *http.Request)

Redoc renders documentation based on "/openapi.json" schema.

func Schema

func Schema() *openapi.T

Schema returns openapi v3 schema for lalyta service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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