Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/go-openapi/spec
Travis Patterson 4a3e6f9d95
Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100)
3 years ago
..
.editorconfig
.gitignore
.golangci.yml revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
CODE_OF_CONDUCT.md
LICENSE
README.md revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
appveyor.yml revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
bindata.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
cache.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
contact_info.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
debug.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
errors.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
expander.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
external_docs.go
header.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
info.go
items.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
license.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
normalizer.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
normalizer_nonwindows.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
normalizer_windows.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
operation.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
parameter.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
path_item.go
paths.go
properties.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
ref.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
resolver.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
response.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
responses.go
schema.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
schema_loader.go Bump prometheus dependency (#6403) 4 years ago
security_scheme.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
spec.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
swagger.go
tag.go
url_go18.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
url_go19.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
validations.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
xml_object.go

README.md

OAI object model

Build Status

codecov Slack Status license Go Reference Go Report Card

The object model for OpenAPI specification documents.

FAQ

  • What does this do?
  1. This package knows how to marshal and unmarshal Swagger API specifications into a golang object model
  2. It knows how to resolve $ref and expand them to make a single root document
  • How does it play with the rest of the go-openapi packages ?
  1. This package is at the core of the go-openapi suite of packages and code generator
  2. There is a spec loading package to fetch specs as JSON or YAML from local or remote locations
  3. There is a spec validation package built on top of it
  4. There is a spec analysis package built on top of it, to analyze, flatten, fix and merge spec documents
  • Does this library support OpenAPI 3?

No. This package currently only supports OpenAPI 2.0 (aka Swagger 2.0). There is no plan to make it evolve toward supporting OpenAPI 3.x. This discussion thread relates the full story.

An early attempt to support Swagger 3 may be found at: https://github.com/go-openapi/spec3