rspec-openapi
rspec-openapi copied to clipboard
Generate OpenAPI schema from RSpec request specs
After we updated Ruby from 3.1.4 to 3.2.7 in our project, we noticed that openapi is failing while generating documentation from tests because there is an error of: ``` Psych::DisallowedClass:...
**Summary** If you use the words `request` or `response` for a variable in your tests, `rspec-openapi` will not work. I know these are preassigned words in `rspec` itself, but the...
Hi guys! LOVE this tool! thank you for maintaining it! Quick note that might be worth adding to your documentation. In the clause: ```RSpec.describe MyApp, type: :request do``` it is...
Hello, I have a problem with my generation and I can't find a way to fix it. All the request body are using "application/x-www-form-urlencoded" format and the response are using...