mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 12:37:48 +00:00
fix: continued moving everything to orderedmaps plus cleaned up most the tests
This commit is contained in:
@@ -6,6 +6,8 @@ package v2
|
||||
import (
|
||||
"github.com/pb33f/libopenapi/datamodel/high"
|
||||
low "github.com/pb33f/libopenapi/datamodel/low/v2"
|
||||
"github.com/pb33f/libopenapi/orderedmap"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
// Header Represents a high-level Swagger / OpenAPI 2 Header object, backed by a low-level one.
|
||||
@@ -30,7 +32,7 @@ type Header struct {
|
||||
UniqueItems bool
|
||||
Enum []any
|
||||
MultipleOf int
|
||||
Extensions map[string]any
|
||||
Extensions *orderedmap.Map[string, *yaml.Node]
|
||||
low *low.Header
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user