cancel
Showing results for 
Search instead for 
Did you mean: 

Response from Inspector but not from Hub

Occasional Visitor

Response from Inspector but not from Hub

New user here 🙂 I'm beginning an API documentation project for the Open Food Network's Rails app. Inspector/Hub seems like a compelling alternative to code-based solutions like swagger-blocks and rswag because of its potential to detect types within responses and thus expedite the documentation process.

 

When playing around, Inspector returns good data for localhost:3000/api/products. When we began an API definition, however, that response disappears and we get only 403 Forbiddens. Any idea what could be causing that discrepancy? I've investigated the troubleshooting guide and installed the Chrome extension. 

1 REPLY 1
Moderator

Re: Response from Inspector but not from Hub

Hi haseleyi,

 

You may need to switch to the "Routing requests via browser" mode if you need to make requests to localhost from SwaggerHub. Please see the details here: https://app.swaggerhub.com/help/ui/interactive-documentation#routing



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements