set content type for list versioned resource types endpoint
@@ -19,6 +19,7 @@ func (s *Server) ListVersionedResourceTypes(pipeline db.Pipeline) http.Handler {
versionedResourceTypes := resourcsTypes.Deserialize()
+ w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
err = json.NewEncoder(w).Encode(versionedResourceTypes)
if err != nil {
