I’m trying to get a handle on the Companies House API response schema, so I had a look at the OpenAPI spec. It seems, however, that each endpoint has an invalid URL to the sub schema.
See below for an example:
https://developer-specs.company-information.service.gov.uk/api.ch.gov.uk-specifications/swagger-2.0/spec/swagger.json
"/company/{companyNumber}/registered-office-address": {
"$ref": "http://127.0.0.1:31785/api.ch.gov.uk-specifications/swagger-2.0/spec/companyAddress.json#/getCompanyAddress"
},
Notice http://127.0.0.1:31785/api.ch.gov.uk-specifications
, which is an invalid URL.
I really need access to this for schema validation in our service. Can anyone help?
Thanks