mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #57 from usarid/patch-1
Remove unnecessary application/json properties
This commit is contained in:
commit
845f776e23
@ -84,12 +84,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/pod-list.json
|
||||
post:
|
||||
description: Create a new pod. currentState is ignored if present.
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/pod-schema.json
|
||||
example: !include examples/pod.json
|
||||
|
||||
@ -99,12 +97,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/pod.json
|
||||
put:
|
||||
description: Update a pod
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/pod-schema.json
|
||||
example: !include examples/pod.json
|
||||
delete:
|
||||
@ -112,7 +108,6 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: |
|
||||
{
|
||||
"success": true
|
||||
@ -124,12 +119,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/controller-list.json
|
||||
post:
|
||||
description: Create a new controller. currentState is ignored if present.
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/controller-schema.json
|
||||
example: !include examples/controller.json
|
||||
|
||||
@ -139,12 +132,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/controller.json
|
||||
put:
|
||||
description: Update a controller
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/controller-schema.json
|
||||
example: !include examples/controller.json
|
||||
delete:
|
||||
@ -152,7 +143,6 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: |
|
||||
{
|
||||
"success": true
|
||||
@ -164,12 +154,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/service-list.json
|
||||
post:
|
||||
description: Create a new service
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/service-schema.json
|
||||
example: !include examples/service.json
|
||||
|
||||
@ -179,12 +167,10 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: !include examples/service.json
|
||||
put:
|
||||
description: Update a service
|
||||
body:
|
||||
json/application:
|
||||
schema: !include doc/service-schema.json
|
||||
example: !include examples/service.json
|
||||
delete:
|
||||
@ -192,7 +178,6 @@ documentation:
|
||||
responses:
|
||||
200:
|
||||
body:
|
||||
application/json:
|
||||
example: |
|
||||
{
|
||||
"success": true
|
||||
|
Loading…
Reference in New Issue
Block a user