@@ -232,5 +232,6 @@ func (p *RegistryCreateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request
},
))
+ w.WriteHeader(http.StatusCreated)
p.WriteResult(w, r, regModel.ToRegistryType())
}
@@ -51,4 +51,6 @@ func (p *RegistryCreateRepositoryHandler) ServeHTTP(w http.ResponseWriter, r *ht
p.HandleAPIError(w, r, apierrors.NewErrInternal(err))
return
+
@@ -214,6 +214,8 @@ func (c *CreateReleaseHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
FlowID: operationID,
func createReleaseFromHelmRelease(
@@ -171,7 +171,7 @@ func getV1ReleaseRoutes(
// - name: name
// - name: version
// responses:
- // '201':
+ // '200':
// description: Successfully got the release
// schema:
// $ref: '#/definitions/GetReleaseResponse'