# Importing swagger 2.0 without host defined

**URL:** <https://community.postman.com/t/importing-swagger-2-0-without-host-defined/4315>\
**Category:** Help Hub\
**Created:** [February 28, 2019, 8:35pm UTC](https://community.postman.com/t/importing-swagger-2-0-without-host-defined/4315 "2019-02-28T20:35:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mechanic22](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@mechanic22](https://community.postman.com/u/mechanic22)\
**Post date:** [February 28, 2019, 8:35pm UTC](https://community.postman.com/t/importing-swagger-2-0-without-host-defined/4315/1 "2019-02-28T20:35:00Z")

</div>

Importing swagger 2.0 from a url without host defined in the swagger.json document makes the request look like http:///v1/path where the host is blank

It is missing a host, is there a way to define the host or get it to use the host from the url that swagger was imported from?

I am using v6.7.3
