mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #57 from usarid/patch-1
Remove unnecessary application/json properties
This commit is contained in:
commit
845f776e23
@ -84,14 +84,12 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/pod-list.json
|
||||||
example: !include examples/pod-list.json
|
|
||||||
post:
|
post:
|
||||||
description: Create a new pod. currentState is ignored if present.
|
description: Create a new pod. currentState is ignored if present.
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/pod-schema.json
|
||||||
schema: !include doc/pod-schema.json
|
example: !include examples/pod.json
|
||||||
example: !include examples/pod.json
|
|
||||||
|
|
||||||
/{podId}:
|
/{podId}:
|
||||||
get:
|
get:
|
||||||
@ -99,24 +97,21 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/pod.json
|
||||||
example: !include examples/pod.json
|
|
||||||
put:
|
put:
|
||||||
description: Update a pod
|
description: Update a pod
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/pod-schema.json
|
||||||
schema: !include doc/pod-schema.json
|
example: !include examples/pod.json
|
||||||
example: !include examples/pod.json
|
|
||||||
delete:
|
delete:
|
||||||
description: Delete a specific pod
|
description: Delete a specific pod
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: |
|
||||||
example: |
|
{
|
||||||
{
|
"success": true
|
||||||
"success": true
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/replicationControllers:
|
/replicationControllers:
|
||||||
get:
|
get:
|
||||||
@ -124,14 +119,12 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/controller-list.json
|
||||||
example: !include examples/controller-list.json
|
|
||||||
post:
|
post:
|
||||||
description: Create a new controller. currentState is ignored if present.
|
description: Create a new controller. currentState is ignored if present.
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/controller-schema.json
|
||||||
schema: !include doc/controller-schema.json
|
example: !include examples/controller.json
|
||||||
example: !include examples/controller.json
|
|
||||||
|
|
||||||
/{controllerId}:
|
/{controllerId}:
|
||||||
get:
|
get:
|
||||||
@ -139,24 +132,21 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/controller.json
|
||||||
example: !include examples/controller.json
|
|
||||||
put:
|
put:
|
||||||
description: Update a controller
|
description: Update a controller
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/controller-schema.json
|
||||||
schema: !include doc/controller-schema.json
|
example: !include examples/controller.json
|
||||||
example: !include examples/controller.json
|
|
||||||
delete:
|
delete:
|
||||||
description: Delete a specific controller
|
description: Delete a specific controller
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: |
|
||||||
example: |
|
{
|
||||||
{
|
"success": true
|
||||||
"success": true
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/services:
|
/services:
|
||||||
get:
|
get:
|
||||||
@ -164,14 +154,12 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/service-list.json
|
||||||
example: !include examples/service-list.json
|
|
||||||
post:
|
post:
|
||||||
description: Create a new service
|
description: Create a new service
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/service-schema.json
|
||||||
schema: !include doc/service-schema.json
|
example: !include examples/service.json
|
||||||
example: !include examples/service.json
|
|
||||||
|
|
||||||
/{serviceId}:
|
/{serviceId}:
|
||||||
get:
|
get:
|
||||||
@ -179,22 +167,19 @@ documentation:
|
|||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: !include examples/service.json
|
||||||
example: !include examples/service.json
|
|
||||||
put:
|
put:
|
||||||
description: Update a service
|
description: Update a service
|
||||||
body:
|
body:
|
||||||
json/application:
|
schema: !include doc/service-schema.json
|
||||||
schema: !include doc/service-schema.json
|
example: !include examples/service.json
|
||||||
example: !include examples/service.json
|
|
||||||
delete:
|
delete:
|
||||||
description: Delete a specific service
|
description: Delete a specific service
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
example: |
|
||||||
example: |
|
{
|
||||||
{
|
"success": true
|
||||||
"success": true
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user