diff --git a/.agents/skills/hypercerts-api/references/openapi.json b/.agents/skills/hypercerts-api/references/openapi.json index 2e5ca70..5aaa354 100644 --- a/.agents/skills/hypercerts-api/references/openapi.json +++ b/.agents/skills/hypercerts-api/references/openapi.json @@ -6,7 +6,7 @@ "description": "Public, read-only Hypercerts XRPC query endpoints. This static contract snapshot describes declared behavior, not availability on a particular deployment." }, "servers": [ - { "url": "https://api.test.hypercerts.dev", "description": "API test server (default)" } + { "url": "https://test.api.hypercerts.dev", "description": "API test server (default)" } ], "tags": [ { "name": "app.certified.actor" }, diff --git a/docs/README.md b/docs/README.md index 2dfcc9e..f39c509 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,7 +13,7 @@ pnpm install --frozen-lockfile pnpm docs:dev ``` -Open . The explorer defaults to `https://api.test.hypercerts.dev`; Local (`http://127.0.0.1:8080`) and Custom server choices are also available. Requests go directly from your browser to the selected server. +Open . The explorer defaults to `https://test.api.hypercerts.dev`; Local (`http://127.0.0.1:8080`) and Custom server choices are also available. Requests go directly from your browser to the selected server. To offer named servers, set `VITE_HAPPYVIEW_SERVERS` when starting the dev server or building the site: diff --git a/docs/openapi.json b/docs/openapi.json index ac20663..ccc5185 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -7,7 +7,7 @@ }, "servers": [ { - "url": "https://api.test.hypercerts.dev", + "url": "https://test.api.hypercerts.dev", "description": "API test server (default)" } ], diff --git a/docs/scripts/openapi.mjs b/docs/scripts/openapi.mjs index 1be3a64..255b055 100644 --- a/docs/scripts/openapi.mjs +++ b/docs/scripts/openapi.mjs @@ -1,4 +1,4 @@ -export const DEFAULT_SERVER_URL = "https://api.test.hypercerts.dev"; +export const DEFAULT_SERVER_URL = "https://test.api.hypercerts.dev"; const SCHEMA_FIELDS = [ "type", diff --git a/docs/test/generator.test.mjs b/docs/test/generator.test.mjs index b38681b..03a417f 100644 --- a/docs/test/generator.test.mjs +++ b/docs/test/generator.test.mjs @@ -67,7 +67,7 @@ test("OpenAPI generation preserves query contract and marks unresolved refs", () assert.equal(document.openapi, "3.1.0"); assert.deepEqual(document.servers, [ - { url: "https://api.test.hypercerts.dev", description: "API test server (default)" }, + { url: "https://test.api.hypercerts.dev", description: "API test server (default)" }, ]); assert.equal(operation.description, "Search demo records."); assert.equal(operation["x-hypercerts-coverage"], "manifest-registered"); diff --git a/docs/test/presentation.test.mjs b/docs/test/presentation.test.mjs index 310523f..10b4798 100644 --- a/docs/test/presentation.test.mjs +++ b/docs/test/presentation.test.mjs @@ -27,7 +27,7 @@ test("presentation preserves endpoint contracts and explains unresolved schema r /response schemas may be partial|CORS|browser/i, ); assert.deepEqual(presentation.servers, [ - { url: "https://api.test.hypercerts.dev", description: "API test (default)" }, + { url: "https://test.api.hypercerts.dev", description: "API test (default)" }, { url: "http://127.0.0.1:8080", description: "Local (127.0.0.1:8080)" }, ]); assert.equal(Object.hasOwn(presentation, "x-hypercerts-source"), false); @@ -68,7 +68,7 @@ test("presentation preserves endpoint contracts and explains unresolved schema r test("build-time HappyView server config keeps an ordered default and rejects invalid settings", () => { const parse = presentationModule.parseHappyviewServers; assert.deepEqual(parse(undefined), [ - { label: "API test", url: "https://api.test.hypercerts.dev" }, + { label: "API test", url: "https://test.api.hypercerts.dev" }, ]); assert.deepEqual( parse( diff --git a/docs/web/src/presentation.mjs b/docs/web/src/presentation.mjs index 9522def..9fbb11a 100644 --- a/docs/web/src/presentation.mjs +++ b/docs/web/src/presentation.mjs @@ -1,4 +1,4 @@ -export const DEFAULT_SERVER_URL = "https://api.test.hypercerts.dev"; +export const DEFAULT_SERVER_URL = "https://test.api.hypercerts.dev"; export const LOCAL_SERVER_URL = "http://127.0.0.1:8080"; const PRESENTATION_DESCRIPTION =