diff --git a/docs/website/references/http/openapi.json b/docs/website/references/http/openapi.json index 03c6a6513d..1f28b84a92 100644 --- a/docs/website/references/http/openapi.json +++ b/docs/website/references/http/openapi.json @@ -2363,7 +2363,7 @@ "servers": [ { "description": "Local DefraDB instance", - "url": "http://localhost:9181/api/v0" + "url": "/api/v0" } ], "tags": [ diff --git a/http/openapi.go b/http/openapi.go index 850ce081f4..b217036182 100644 --- a/http/openapi.go +++ b/http/openapi.go @@ -111,7 +111,7 @@ func NewOpenAPISpec() (*openapi3.T, error) { Servers: openapi3.Servers{ &openapi3.Server{ Description: "Local DefraDB instance", - URL: "http://localhost:9181/api/v0", + URL: "/api/v0", }, }, ExternalDocs: &openapi3.ExternalDocs{