This commit is contained in:
nikhiljindal 2014-12-18 15:38:09 -08:00
parent b489757b5a
commit cfee8f1355

View File

@ -189,6 +189,7 @@ func (g *APIGroupVersion) InstallREST(container *restful.Container, root string,
ws.Produces(restful.MIME_JSON) ws.Produces(restful.MIME_JSON)
// TODO: require json on input // TODO: require json on input
//ws.Consumes(restful.MIME_JSON) //ws.Consumes(restful.MIME_JSON)
ws.ApiVersion(version)
// TODO: add scheme to APIGroupVersion rather than using api.Scheme // TODO: add scheme to APIGroupVersion rather than using api.Scheme