Roman Blanco
Roman Blanco
@diei, would this work for you? ```ruby parameter name: :test_type, in: :query, required: false, schema: { type: :array, items: { enum: ['type1', 'type2'] } } ```
@erimicel, @eric-hemasystems Thank you for the help! > I wonder if it would be better to build on the CSP infrastructure in Rails to help build a custom CSP? In...
@jtannas @mattpolito @BookOfGreg, I've tried to [test](https://github.com/RedHatInsights/compliance-backend/compare/master...romanblanco:rswag-v3) the changes for v3.0.0 and they seem to work.
@stevegeek, see https://github.com/rswag/rswag/issues/359#issuecomment-728836401
> @romanblanco could you please approve workflow to run on the CI 🍺 Will try to look into why the CI is not running on the PR. Do the tests...
@simba909 I'll probably get back to this PR once `v3` is merged in `master` and released. I think you can keep the base, unless you prefer to already do the...
@xiangce @skateman is this ready to be merged?
@stevegeek Updating v3 branch in https://github.com/rswag/rswag/pull/784 since commit has been merged into master again since.
@stevegeek One issue I'm running into when testing is that `body` params are generated in between other parameters, rather than inside of `requestBody`, rendering invalid spec. (see https://github.com/romanblanco/compliance-backend/blob/85b8be8fc35230ce43cb9f8f7c71488a954814ce/spec/integration/v2/policies_spec.rb#L85 https://github.com/romanblanco/compliance-backend/blob/85b8be8fc35230ce43cb9f8f7c71488a954814ce/openapi/v2/openapi.json#L475) I'm...
Trying `:formData`, the [parameter data](https://github.com/romanblanco/compliance-backend/blob/85b8be8fc35230ce43cb9f8f7c71488a954814ce/spec/integration/v2/policies_spec.rb#L89) are not getting into the request and it fails. `:body` has been used originally ([diff](https://github.com/RedHatInsights/compliance-backend/compare/master...romanblanco:compliance-backend:rswag-v3#diff-37a69882b055bd410152b110b31a2a43e83270cb415edd07d5baa3801aef4965R85)) and should be supported.