mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Working through what changed rabbit hole
Parameter dependencies mean we're back in the ball of yarn stage. Coverage is going to drop for a bit, until all the new hashing and interfaces are in place.
This commit is contained in:
37
datamodel/low/model_interfaces.go
Normal file
37
datamodel/low/model_interfaces.go
Normal file
@@ -0,0 +1,37 @@
|
||||
// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package low
|
||||
|
||||
type IsParameter interface {
|
||||
GetName() *NodeReference[string]
|
||||
GetIn() *NodeReference[string]
|
||||
GetType() *NodeReference[string]
|
||||
GetDescription() *NodeReference[string]
|
||||
GetRequired() *NodeReference[bool]
|
||||
GetDeprecated() *NodeReference[bool]
|
||||
GetAllowEmptyValue() *NodeReference[bool]
|
||||
GetFormat() *NodeReference[string]
|
||||
GetStyle() *NodeReference[string]
|
||||
GetCollectionFormat() *NodeReference[string]
|
||||
GetDefault() *NodeReference[any]
|
||||
GetAllowReserved() *NodeReference[bool]
|
||||
GetExplode() *NodeReference[bool]
|
||||
GetMaximum() *NodeReference[int]
|
||||
GetExclusiveMaximum() *NodeReference[bool]
|
||||
GetMinimum() *NodeReference[int]
|
||||
GetExclusiveMinimum() *NodeReference[bool]
|
||||
GetMaxLength() *NodeReference[int]
|
||||
GetMinLength() *NodeReference[int]
|
||||
GetPattern() *NodeReference[string]
|
||||
GetMaxItems() *NodeReference[int]
|
||||
GetMinItems() *NodeReference[int]
|
||||
GetUniqueItems() *NodeReference[bool]
|
||||
GetEnum() *NodeReference[[]ValueReference[string]]
|
||||
GetMultipleOf() *NodeReference[int]
|
||||
GetExample() *NodeReference[any]
|
||||
GetExamples() *NodeReference[any] // requires cast
|
||||
GetSchema() *NodeReference[any] // requires cast.
|
||||
GetContent() *NodeReference[any] // requires cast.
|
||||
GetItems() *NodeReference[any] // requires cast.
|
||||
}
|
||||
Reference in New Issue
Block a user