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
87
vendor/github.com/grpc-ecosystem/grpc-gateway/examples/examplepb/echo_service.swagger.json
generated
vendored
Normal file
87
vendor/github.com/grpc-ecosystem/grpc-gateway/examples/examplepb/echo_service.swagger.json
generated
vendored
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"title": "Echo Service",
|
||||
"description": "Echo Service API consists of a single service which returns\na message.",
|
||||
"version": "version not set"
|
||||
},
|
||||
"schemes": [
|
||||
"http",
|
||||
"https"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"paths": {
|
||||
"/v1/example/echo/{id}": {
|
||||
"post": {
|
||||
"summary": "Echo method receives a simple message and returns it.",
|
||||
"description": "The message posted as the id parameter will also be\nreturned.",
|
||||
"operationId": "Echo",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/examplepbSimpleMessage"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"format": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"EchoService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/example/echo_body": {
|
||||
"post": {
|
||||
"summary": "EchoBody method receives a simple message and returns it.",
|
||||
"operationId": "EchoBody",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/examplepbSimpleMessage"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/examplepbSimpleMessage"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"EchoService"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"examplepbSimpleMessage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"format": "string",
|
||||
"description": "Id represents the message identifier."
|
||||
}
|
||||
},
|
||||
"description": "SimpleMessage represents a simple message sent to the Echo service."
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue