rswag/rswag

[BUG] `get` is not available from within an example

Sweex99 opened this issue · 1 comments

Describe the bug

I am not so clear why its invoke error
I had issue related to swagger tests:
Screenshot 2024-01-31 at 15 13 45

when i try to run rspec test - bundle exec rspec

it returns error like:
Screenshot 2024-01-31 at 15 06 25
AND
Screenshot 2024-01-31 at 15 06 36
Could someone to help me out in my case, cause its weird for me(

Dependency versions

The version of are you using for:

  • Rswag: 2.11.0
  • RSpec: 3.12.0
  • Rails: 6.0.6.1
  • Ruby: 3.0.2

Relates to which version of OAS (OpenAPI Specification)

  • OAS2
  • OAS3
  • OAS3.1

@Sweex99 Have you tried to see what ends up in the response? Are the properties you're defining in schema actually there?