package openapi3
import "github.com/gohugoio/hugo/tpl/openapi/openapi3"
Package openapi3 provides functions for generating OpenAPI v3 (Swagger) documentation.
Index ¶
- type Namespace
- func New(deps *deps.Deps) *Namespace
- func (ns *Namespace) Unmarshal(r resource.UnmarshableResource) (*OpenAPIDocument, error)
- type OpenAPIDocument
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace provides template functions for the "openapi3".
func New ¶
New returns a new instance of the openapi3-namespaced template functions.
func (*Namespace) Unmarshal ¶
func (ns *Namespace) Unmarshal(r resource.UnmarshableResource) (*OpenAPIDocument, error)
Unmarshal unmarshals the given resource into an OpenAPI 3 document.
type OpenAPIDocument ¶
OpenAPIDocument represents an OpenAPI 3 document.
func (*OpenAPIDocument) GetIdentityGroup ¶
func (o *OpenAPIDocument) GetIdentityGroup() identity.Identity
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 7 hours ago –
Tools for package owners.