mirror of
https://github.com/slimtoolkit/slim.git
synced 2025-06-03 04:00:23 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.76.0 to 0.131.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.76.0...v0.131.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-version: 0.131.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
18 lines
596 B
Go
18 lines
596 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"`
|
|
}
|