We are trying to use the `http4k-contract` to expo...
# http4k
c
We are trying to use the
http4k-contract
to expose swagger docs for our API endpoints and we're looking to see if there's an easy (already done) way to bundle the Swagger UI alongside the application to see the rendered docs? Alternately/additionally, the example page for
http4k-contract
has an error and issue in regards to this: a) the petstore.swagger.io link refers to
<http://localhost:8080/context/swagger.json>
where it should refer to
<http://localhost:8080/context/docs/swagger.json>
b) the swagger json response doesn't contain CORS headers and so petstore.swagger.io can't see the json I'm happy to submit a patch to fix A but I can't figure out what's causing B