mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
23 lines
714 B
Go
23 lines
714 B
Go
// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v3
|
|
|
|
import (
|
|
"github.com/pb33f/libopenapi/datamodel/low"
|
|
"github.com/pb33f/libopenapi/index"
|
|
)
|
|
|
|
type Document struct {
|
|
Version low.ValueReference[string]
|
|
Info low.NodeReference[*Info]
|
|
Servers low.NodeReference[[]low.ValueReference[*Server]]
|
|
Paths low.NodeReference[*Paths]
|
|
Components low.NodeReference[*Components]
|
|
Security low.NodeReference[*SecurityRequirement]
|
|
Tags low.NodeReference[[]low.ValueReference[*Tag]]
|
|
ExternalDocs low.NodeReference[*ExternalDoc]
|
|
Extensions map[low.KeyReference[string]]low.ValueReference[any]
|
|
Index *index.SpecIndex
|
|
}
|