Edit Projects API annotation
This MR modifies the success entity to ::API::Entities::Project
because Entities::Project
cannot be accessed during grape-swagger
OpenAPI generation, causing it to fail.
It also adds the missing type
key in the parameter annotation, otherwise it will be parsed incorrectly by grape-swagger
.
This also relies on the changes to lib/api/helpers/projects_helpers.rb
in !101136 (merged)
The OpenAPI V2 documentation will be used for dogfooding API fuzzing as per #372422 (closed) and the OpenAPI autogeneration &8926.