Documentation
¶
Overview ¶
Package middleware exposes middleware utilities for OpenAPI.
This is a standalone module, with minimal dependencies to the rest of the go-openapi libraries.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package docui provides standalone HTTP middlewares that serve OpenAPI documentation UIs (Swagger UI, ReDoc, RapiDoc) and the spec document itself.
|
Package docui provides standalone HTTP middlewares that serve OpenAPI documentation UIs (Swagger UI, ReDoc, RapiDoc) and the spec document itself. |
|
Package mediatype provides a typed value for media types defined by RFC 7231 and RFC 2045.
|
Package mediatype provides a typed value for media types defined by RFC 7231 and RFC 2045. |
|
Package negotiate provides server-side HTTP content negotiation helpers — selecting the response Content-Type from an Accept header and the response Content-Encoding from an Accept-Encoding header.
|
Package negotiate provides server-side HTTP content negotiation helpers — selecting the response Content-Type from an Accept header and the response Content-Encoding from an Accept-Encoding header. |
|
header
Package header provides functions for parsing HTTP headers.
|
Package header provides functions for parsing HTTP headers. |
Click to show internal directories.
Click to hide internal directories.