The interactive forms are disabled, as no `host` property was found in the specification
Thanks for reaching out.
Short answer? Its a root level property.
The host property is meant to identify the host of the API, without the schema or any URIs.
swagger: '2.0' # I'm a swagger document host: petstore.swagger.io # The host of the API schemes: - http # Only served over HTTP, not HTTPS basePath: /v2 # Optional basePath, that all paths fall under paths: # ... your paths / endpoints
Here is a functional example, to better illustrate ...
Feel free to bug us, if something isn't working.
@ponelat I have another issue now ...I imported my api definition and also went on to add integration with amazon API gateway but when I go to aws console, I can't see my API there?
What am I missing?
Regarding your spec...
Host is correct... but you do have two 'basePath' properties. YAML is like JSON, in that it doesn't know what to do with two 🙂
I'm guessing the `basePath: /api` is the correct one, not the `basePath: /v1` on line 37?