Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
I believe https://github.com/ruby-grape/grape-swagger-rails/pull/48 fixes this, I am going to close it.
It still fails: ``` 1) Swagger #options #api_auth:oauth2 adds a token when the route specifies oauth2 authorization Failure/Error: expect(page).to have_css 'span.attribute', text: 'Authorization' expected to find css "span.attribute" with text...
Given all the 💰 we pay you you're now totally on a deadline :)
You're on the right track, it's cause the default is pointing to the wrong place. Change the URL in the green box to http://localhost:9292.
I'd expect username/password to be `nil` by default and blank being a valid value, at least for the password. This needs tests and CHANGELOG entry.
I am not sure we want this. There's many ways to do auth and you can do basic auth outside of this controller when mounting it into an existing Rails...
Maybe turn it into a spec and we can take a look?
Are you saying HEAD has the code that works? If so you can close this. I opened https://github.com/ruby-grape/grape-active_model_serializers/issues/84 to do a release, hopefully soon.
Do you think you can write a test that actually reproduces this?
+1 @serggl, right now these specs pass, so make a spec that fails, apply a fix and see it succeed