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
Paulin Todev d54e0871d4
chore(deps): Update Prometheus in Loki and Promtail (#12245)
2 years ago
..
schemas chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
.editorconfig
.gitignore chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
.golangci.yml chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
CODE_OF_CONDUCT.md
LICENSE
README.md chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 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
embed.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
errors.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
expander.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
external_docs.go
header.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
info.go Upgrade Thanos objstore, dskit and other modules (#10366) 2 years ago
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 chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
normalizer_windows.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
operation.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
parameter.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
path_item.go
paths.go
properties.go Upgrade Thanos objstore, dskit and other modules (#10366) 2 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 Upgrade Thanos objstore, dskit and other modules (#10366) 2 years ago
schema.go Bump go modules GitHub.com prometheus alertmanager 0.25.0 (#8100) 3 years ago
schema_loader.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
security_scheme.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
spec.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
swagger.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
tag.go
url_go19.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 2 years ago
validations.go revendor compatibility: various prom+k8s+cortex (#3664) 5 years ago
xml_object.go

README.md

OpenAPI v2 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