mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-07 02:07:58 +00:00
Add vendor folder to git
This commit is contained in:
parent
66cf5eaafb
commit
183585f56f
6916 changed files with 2629581 additions and 1 deletions
91
vendor/github.com/googleapis/gnostic/test/library-example-with-ext.json
generated
vendored
Normal file
91
vendor/github.com/googleapis/gnostic/test/library-example-with-ext.json
generated
vendored
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"title": "Google Example Library API",
|
||||
"description": "A simple Google Example Library API.",
|
||||
"version": "v1"
|
||||
},
|
||||
"host": "library-example.googleapis.com",
|
||||
|
||||
"x-samplecompanyone-book" : {"code": 123, "message": 999},
|
||||
"x-samplecompanyone-shelve" : {"foo1": 123, "bar": 999},
|
||||
|
||||
"x-samplecompanytwo-book" : {"code": 123, "message": 999},
|
||||
"x-samplecompanytwo-shelve" : {"foo1": 123, "bar": 999},
|
||||
|
||||
"x-unhandled" : {"code": 123, "message": 999},
|
||||
|
||||
"parameters" : {
|
||||
"paramAtSwaggerScope": {
|
||||
"name": "paramAtSwaggerScope",
|
||||
"in": "query",
|
||||
"description": "test",
|
||||
"required": true,
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
},
|
||||
"paths": {
|
||||
"/v1/{sharedParameter}/pets": {
|
||||
"post": {
|
||||
"operationId": "simpleMethod",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "myBodyRef",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"myStringA": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "paramToOverride",
|
||||
"in": "query",
|
||||
"description": "New description",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "#/parameters/paramAtSwaggerScope"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"default": {
|
||||
"description": "successful operation",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/SimpleDef"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "sharedParameter",
|
||||
"in": "path",
|
||||
"description": "Shared parameter",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "paramToOverride",
|
||||
"in": "query",
|
||||
"description": "Description to override",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"SimpleDef": {
|
||||
"properties": {
|
||||
"myStringA": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue