Swagger output for PATCH can be more strongly typed

This commit is contained in:
Clayton Coleman
2015-06-17 15:21:54 -04:00
parent 1ba909098e
commit 93f921b677
2 changed files with 5 additions and 2 deletions

View File

@@ -64,3 +64,6 @@ func (apiVersions APIVersions) String() string {
func (apiVersions APIVersions) GoString() string {
return apiVersions.String()
}
// Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
type Patch struct{}