shared

package
v0.0.0-...-37abd50 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package shared contains functionality used by `cmd/swagger` at runtime and by `cmd/swagger/regen`. Previously, `regen` was generating code in a package it depended on - so any deletion or corruption of generated files in that package would cause future regen runs to fail. Moving this code to a different package avoids that issue.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterInputTypes

func FilterInputTypes(rmap common.RouteMap)

FilterInputTypes removes unsupported input types so they are not rendered. NOTE: this filtering only has an effect on routes using the generic template TODO(XXX): support things other than query and buffered-query

func RegisterNewRoutes

func RegisterNewRoutes()

RegisterNewRoutes is called from Setup() and from the code regenerator

Types

This section is empty.

Jump to

Keyboard shortcuts

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