rspec-openapi icon indicating copy to clipboard operation
rspec-openapi copied to clipboard

Generate OpenAPI schema from RSpec request specs

Results 19 rspec-openapi issues
Sort by recently updated
recently updated
newest added

Closes #65 TODO - [x] Nested reference support - [ ] Add test fixture for nested reference

## Summary When rspec-openapi detects `$ref` in the existing item to be modified, rspec-openapi update the referenced item in `components` section. ## Basic example Let's say we have the openapi...

enhancement

## Current Behaviour When generating a schema with a response with an empty array, the item property is marked as nullable. ```yml responses: '200': content: application/json: schema: type: array items:...

When running `OPENAPI=1 bundle exec rspec` any routes that are listed after mounting engine to root `mount Breaker::Engine => "/"` will generate `No route matched for` RuntimeError: ``` Failures: 1)...

To reduce efforts on code format and code review, let's introduce RuboCop. This PR fixes some warning-level code offenses. Other minor offenses will be addressed in subsequent PRs.

Great gem, thank you for sharing! Here's a bug and a suggested feature to fix it. The below is pseudo-code -- apologies if it doesn't work. **Steps to reproduce:** In...

enhancement
help wanted

My use case is generating different openapi files from different RSpec request files. The `RSpec::OpenAPI.path` proc is great to export YAML to different files, but I was surprised to see...

enhancement
good first issue

While using this gem in one of my recents projects, I have faced the following issue: A specific controller action can return a `200` and a `401` when the client...

enhancement
good first issue

I believe many people use `id` or `uuid` in their schematics. And always, this field is read-only. I suggest to automatically set `readOnly: true` for such fields.

enhancement
help wanted

I was giving a try to rspec-openapi and after trying I'm getting an error when returning a pdf attachment like this: ```ruby respond_to do |format| format.pdf do # params[:content] can...

bug