# Path in Open API specs

**URL:** <http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672>\
**Category:** API Issues\
**Created:** [March 3, 2021, 8:33am UTC](http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672 "2021-03-03T08:33:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonas.soderholm](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/j/6bbea6/32.png) [@jonas.soderholm](http://forum.companieshouse.gov.uk/u/jonas.soderholm)\
**Post date:** [March 3, 2021, 8:33am UTC](http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672/1 "2021-03-03T08:33:20Z")

</div>

Hi,

Looking at the Open API json files, all paths points to 127.0.0.1 (example [https://developer-specs.company-information.service.gov.uk/api.ch.gov.uk-specifications/swagger-2.0/spec/companyProfile.json](https://developer-specs.company-information.service.gov.uk/api.ch.gov.uk-specifications/swagger-2.0/spec/companyProfile.json)), rather than [https://developer-specs.company-information.service.gov.uk/](https://developer-specs.company-information.service.gov.uk/).

---

<div class="post-metadata">

**Author:** ![Dylan\_B](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@Dylan\_B](http://forum.companieshouse.gov.uk/u/Dylan_B)\
**Post date:** [March 19, 2021, 4:15pm UTC](http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672/2 "2021-03-19T16:15:25Z")

</div>

I would like this fixed too otherwise the swagger file fails validation.

[https://developer-specs.company-information.service.gov.uk/api.ch.gov.uk-specifications/swagger-2.0/spec/swagger.json](https://developer-specs.company-information.service.gov.uk/api.ch.gov.uk-specifications/swagger-2.0/spec/swagger.json)

This looks like a bad commit where local host was used instead of the genuine URL.

---

<div class="post-metadata">

**Author:** ![bpowner](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/b/6bbea6/32.png) [@bpowner](http://forum.companieshouse.gov.uk/u/bpowner)\
**Post date:** [April 7, 2021, 8:05am UTC](http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672/3 "2021-04-07T08:05:24Z")

</div>

I’d also like this fixed please. In addition I’m seeing a validation fail because of a duplicate “officers” tag in the spec.

---

<div class="post-metadata">

**Author:** ![nolandsmith1](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/n/958977/32.png) [@nolandsmith1](http://forum.companieshouse.gov.uk/u/nolandsmith1)\
**Post date:** [April 9, 2021, 7:21pm UTC](http://forum.companieshouse.gov.uk/t/path-in-open-api-specs/3672/4 "2021-04-09T19:21:00Z")

</div>

Agreed - this is failing for me as well. (Both the incorrect paths and the duplicate “Officers” tag.
