Skip to content

Commit 7c9ecf4

Browse files
Merge branch 'main' into pgp-SDIT-1759-move-preprod-prison-api
2 parents 745b463 + f704623 commit 7c9ecf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/adr/0003-manually-manage-openapi-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Accepted
1111
The [OpenAPI specification](https://spec.openapis.org/oas/latest.html) is a standard for describing REST APIs and
1212
[Swagger UI](https://swagger.io/tools/swagger-ui/) is used to visualise and interact with a specification file in more
1313
user-friendly manner. These are used widely used within HMPPS to document APIs,
14-
e.g. [Prison API's OpenAPI specification](https://api.prison.service.justice.gov.uk/v3/api-docs)
15-
and [Prison API's Swagger UI](https://api.prison.service.justice.gov.uk/swagger-ui/index.html). This is achieved by
14+
e.g. [Prison API's OpenAPI specification](https://prison-api.prison.service.justice.gov.uk/v3/api-docs)
15+
and [Prison API's Swagger UI](https://prison-api.prison.service.justice.gov.uk/swagger-ui/index.html). This is achieved by
1616
using the [SpringDoc OpenAPI library](https://springdoc.org) and annotating the codebase which the library then uses to
1717
expose two endpoints: one for the OpenAPI specification in JSON format and another for Swagger UI.
1818

src/main/resources/application-prod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
prison-api:
3-
base-url: https://api.prison.service.justice.gov.uk
3+
base-url: https://prison-api.prison.service.justice.gov.uk
44
prisoner-offender-search:
55
base-url: https://prisoner-search.prison.service.justice.gov.uk
66
probation-offender-search:

0 commit comments

Comments
 (0)