зеркало из https://github.com/microsoft/docker.git
Set expected response headers for Ping.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Родитель
16bdbaaa33
Коммит
17f9f5abf4
|
@ -857,7 +857,7 @@ definitions:
|
|||
- Os
|
||||
- Size
|
||||
- VirtualSize
|
||||
- GraphDrvier
|
||||
- GraphDriver
|
||||
- RootFS
|
||||
properties:
|
||||
Id:
|
||||
|
@ -4600,6 +4600,7 @@ paths:
|
|||
Created: "2015-09-10T08:30:53.26995814Z"
|
||||
GraphDriver:
|
||||
Name: "aufs"
|
||||
Data: {}
|
||||
RepoDigests:
|
||||
- "localhost:5000/test/busybox/example@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf"
|
||||
RepoTags:
|
||||
|
@ -5218,8 +5219,7 @@ paths:
|
|||
summary: "Get version"
|
||||
description: "Returns the version of Docker that is running and various information about the system that Docker is running on."
|
||||
operationId: "SystemVersion"
|
||||
produces:
|
||||
- "application/json"
|
||||
produces: ["application/json"]
|
||||
responses:
|
||||
200:
|
||||
description: "no error"
|
||||
|
@ -5268,14 +5268,20 @@ paths:
|
|||
summary: "Ping"
|
||||
description: "This is a dummy endpoint you can use to test if the server is accessible."
|
||||
operationId: "SystemPing"
|
||||
produces:
|
||||
- "text/plain"
|
||||
produces: ["text/plain"]
|
||||
responses:
|
||||
200:
|
||||
description: "no error"
|
||||
schema:
|
||||
type: "string"
|
||||
example: "OK"
|
||||
headers:
|
||||
API-Version:
|
||||
type: "string"
|
||||
description: "Max API Version the server supports"
|
||||
Docker-Experimental:
|
||||
type: "boolean"
|
||||
description: "If the server is running with experimental mode enabled"
|
||||
500:
|
||||
description: "server error"
|
||||
schema:
|
||||
|
@ -7402,7 +7408,7 @@ paths:
|
|||
200:
|
||||
description: "no error"
|
||||
schema:
|
||||
$ref: "#/definitions/ImageDeleteResponse"
|
||||
$ref: "#/definitions/ServiceUpdateResponse"
|
||||
400:
|
||||
description: "bad parameter"
|
||||
schema:
|
||||
|
|
|
@ -4,7 +4,7 @@ package container
|
|||
// DO NOT EDIT THIS FILE
|
||||
// This file was generated by `swagger generate operation`
|
||||
//
|
||||
// See hack/swagger-gen.sh
|
||||
// See hack/generate-swagger-api.sh
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// ContainerChangeResponseItem container change response item
|
||||
|
|
|
@ -4,7 +4,7 @@ package container
|
|||
// DO NOT EDIT THIS FILE
|
||||
// This file was generated by `swagger generate operation`
|
||||
//
|
||||
// See hack/swagger-gen.sh
|
||||
// See hack/generate-swagger-api.sh
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// ContainerTopOKBody container top o k body
|
||||
|
|
|
@ -4,7 +4,7 @@ package image
|
|||
// DO NOT EDIT THIS FILE
|
||||
// This file was generated by `swagger generate operation`
|
||||
//
|
||||
// See hack/swagger-gen.sh
|
||||
// See hack/generate-swagger-api.sh
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// HistoryResponseItem history response item
|
||||
|
|
|
@ -93,7 +93,6 @@ type ContainerStats struct {
|
|||
OSType string `json:"ostype"`
|
||||
}
|
||||
|
||||
|
||||
// Ping contains response of Engine API:
|
||||
// GET "/_ping"
|
||||
type Ping struct {
|
||||
|
|
Загрузка…
Ссылка в новой задаче