openapi runtime interfaces
262
stars
689
commits
Go
primary language
Sep 10, 2026
updated
A runtime for go OpenAPI toolkit.
The runtime component for use in code generation or as untyped usage.
Complete documentation as github pages
Changes to the API surface in v0.30.0:
header has now moved to github.com/go-openapi/runtime/server-middleware/negotiate/headerA shim is provided to support existing programs, with a deprecation notice.
Changes in semantics in v0.30.0:
Function negotiate.NegotiateContentType (available as an alias for backward compatibility as middleware.NegotiateContentType
now performs a full match considering MIME parameters.
The previous behavior (matching in order of appearance after stripping parameters) may be enabled explicitly with
option negotiate.WithIgnoreParameters.
Newly available package:
github.com/go-openapi/runtime/server-middleware/docuithat now holds our UI and spec serve middleware.A shim is available in
github.com/go-openapi/runtime/middlewareto bridge the older UI options to the new ones, with a deprecation notice.Methods that were unduly exported and purely used to manipulate options (e.g.
SwaggerUIOpts.EnsureDefaults) have been removed. New options indocuishould be used instead.
Users may reuse this middleware to serve a Redoc, Rapidoc or SwaggerUI documentation without importing the complete go-openapi scaffolding.
Users may reuse these utilities to support content-negotiation without extra dependencies.
Newly available module:
github.com/go-openapi/runtime/server-middlewareNewly available packages:
github.com/go-openapi/runtime/server-middleware/negotiateandgithub.com/go-openapi/runtime/server-middleware/mediatype.
API is stable.
go get github.com/go-openapi/runtime
See https://github.com/go-openapi/runtime/releases
For v0.29.0 release see release notes. From that release onwards, changes are tracked in the github release notes.
What coming next?
Moving forward, we want to :
This library ships under the SPDX-License-Identifier: Apache-2.0.
See the license NOTICE, which recalls the licensing terms of all the pieces of software on top of which it has been built.
Maintainers can cut a new release by either:
(top 30 of 75)
Go
99.2%
openapi runtime interfaces
262
stars
689
commits
Go
primary language
Sep 10, 2026
updated
A runtime for go OpenAPI toolkit.
The runtime component for use in code generation or as untyped usage.
Complete documentation as github pages
Changes to the API surface in v0.30.0:
header has now moved to github.com/go-openapi/runtime/server-middleware/negotiate/headerA shim is provided to support existing programs, with a deprecation notice.
Changes in semantics in v0.30.0:
Function negotiate.NegotiateContentType (available as an alias for backward compatibility as middleware.NegotiateContentType
now performs a full match considering MIME parameters.
The previous behavior (matching in order of appearance after stripping parameters) may be enabled explicitly with
option negotiate.WithIgnoreParameters.
Newly available package:
github.com/go-openapi/runtime/server-middleware/docuithat now holds our UI and spec serve middleware.A shim is available in
github.com/go-openapi/runtime/middlewareto bridge the older UI options to the new ones, with a deprecation notice.Methods that were unduly exported and purely used to manipulate options (e.g.
SwaggerUIOpts.EnsureDefaults) have been removed. New options indocuishould be used instead.
Users may reuse this middleware to serve a Redoc, Rapidoc or SwaggerUI documentation without importing the complete go-openapi scaffolding.
Users may reuse these utilities to support content-negotiation without extra dependencies.
Newly available module:
github.com/go-openapi/runtime/server-middlewareNewly available packages:
github.com/go-openapi/runtime/server-middleware/negotiateandgithub.com/go-openapi/runtime/server-middleware/mediatype.
API is stable.
go get github.com/go-openapi/runtime
See https://github.com/go-openapi/runtime/releases
For v0.29.0 release see release notes. From that release onwards, changes are tracked in the github release notes.
What coming next?
Moving forward, we want to :
This library ships under the SPDX-License-Identifier: Apache-2.0.
See the license NOTICE, which recalls the licensing terms of all the pieces of software on top of which it has been built.
Maintainers can cut a new release by either:
(top 30 of 75)
Go
99.2%