Skip to content

Commit

Permalink
Add 201/202 to the list of returned codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Sep 28, 2017
1 parent 751bcc4 commit 449082f
Show file tree
Hide file tree
Showing 57 changed files with 4,423 additions and 0 deletions.
1,434 changes: 1,434 additions & 0 deletions api/openapi-spec/swagger.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions api/swagger-spec/admissionregistration.k8s.io_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1alpha1.ExternalAdmissionHookConfiguration"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1alpha1.ExternalAdmissionHookConfiguration"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1alpha1.ExternalAdmissionHookConfiguration"
}
],
"produces": [
Expand Down Expand Up @@ -443,6 +453,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1alpha1.ExternalAdmissionHookConfiguration"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1alpha1.ExternalAdmissionHookConfiguration"
}
],
"produces": [
Expand Down Expand Up @@ -816,6 +831,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1alpha1.InitializerConfiguration"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1alpha1.InitializerConfiguration"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1alpha1.InitializerConfiguration"
}
],
"produces": [
Expand Down Expand Up @@ -1122,6 +1147,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1alpha1.InitializerConfiguration"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1alpha1.InitializerConfiguration"
}
],
"produces": [
Expand Down
75 changes: 75 additions & 0 deletions api/swagger-spec/apps_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.ControllerRevision"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.ControllerRevision"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1beta1.ControllerRevision"
}
],
"produces": [
Expand Down Expand Up @@ -491,6 +501,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.ControllerRevision"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.ControllerRevision"
}
],
"produces": [
Expand Down Expand Up @@ -1110,6 +1125,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Deployment"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.Deployment"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1beta1.Deployment"
}
],
"produces": [
Expand Down Expand Up @@ -1448,6 +1473,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Deployment"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.Deployment"
}
],
"produces": [
Expand Down Expand Up @@ -1970,6 +2000,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.DeploymentRollback"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.DeploymentRollback"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1beta1.DeploymentRollback"
}
],
"produces": [
Expand Down Expand Up @@ -2078,6 +2118,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Scale"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.Scale"
}
],
"produces": [
Expand Down Expand Up @@ -2243,6 +2288,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Deployment"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.Deployment"
}
],
"produces": [
Expand Down Expand Up @@ -2458,6 +2508,16 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.StatefulSet"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.StatefulSet"
},
{
"code": 202,
"message": "Accepted",
"responseModel": "v1beta1.StatefulSet"
}
],
"produces": [
Expand Down Expand Up @@ -2796,6 +2856,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.StatefulSet"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.StatefulSet"
}
],
"produces": [
Expand Down Expand Up @@ -3365,6 +3430,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Scale"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.Scale"
}
],
"produces": [
Expand Down Expand Up @@ -3530,6 +3600,11 @@
"code": 200,
"message": "OK",
"responseModel": "v1beta1.StatefulSet"
},
{
"code": 201,
"message": "Created",
"responseModel": "v1beta1.StatefulSet"
}
],
"produces": [
Expand Down
Loading

0 comments on commit 449082f

Please sign in to comment.