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 ¶
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.
Click to show internal directories.
Click to hide internal directories.