Skip to content

Commit b8708df

Browse files
authored
Fix context paths in OpenAPI documentation (#515)
1 parent c970cf7 commit b8708df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

klass-api/src/main/java/no/ssb/klass/KlassApiApplication.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
description = "API Guide",
4646
url = RestConstants.CONTEXT_AND_VERSION_V1 + "/api-guide.html"),
4747
servers = {
48-
@Server(url = "https://data.ssb.no/api/klass", description = "Production"),
49-
@Server(url = "https://data.test.ssb.no/api/klass", description = "Test"),
50-
@Server(url = "http://localhost:8080/api/klass", description = "Local"),
48+
@Server(url = "https://data.ssb.no", description = "Production"),
49+
@Server(url = "https://data.test.ssb.no", description = "Test"),
50+
@Server(url = "http://localhost:8080", description = "Local"),
5151
},
5252
tags = {
5353
@Tag(

0 commit comments

Comments
 (0)