92334ad1dd
Set Up S3 integration * cfginterfaceandfirsts3funcs * addlocalstack * generallypassesfullsuite * addedmultipleattemptedpings * cleanup * stabiliseplusskip
18 lines
592 B
Go
18 lines
592 B
Go
package openapi3
|
|
|
|
const originKey = "origin"
|
|
|
|
// Origin contains the origin of a collection.
|
|
// Key is the location of the collection itself.
|
|
// Fields is a map of the location of each field in the collection.
|
|
type Origin struct {
|
|
Key *Location `json:"key,omitempty" yaml:"key,omitempty"`
|
|
Fields map[string]Location `json:"fields,omitempty" yaml:"fields,omitempty"`
|
|
}
|
|
|
|
// Location is a struct that contains the location of a field.
|
|
type Location struct {
|
|
Line int `json:"line,omitempty" yaml:"line,omitempty"`
|
|
Column int `json:"column,omitempty" yaml:"column,omitempty"`
|
|
}
|