Skip to content

Add OpenAPI file type documentation

Eugene Lim requested to merge elim-ext-add-openapi-files-type into master

Adds the documentation: { type: 'file' } annotation in order to fix the edge case where grape-swagger does not understand the ::API::Validations::Types::WorkhorseFile type and thus excludes it from OpenAPI generation. Part of &8926 . I was working on these individually per endpoints, but would be easier to catch all these cases at once in case they are missed.

Merge request reports