ENFR0.1.0-rc.3

Configuration

Every field of specistry.config.ts.


Objects are strict: unknown keys fail. Paths are project-relative and must remain under the project root after symlink resolution.

FieldDefaultPurpose
schemaVersionrequiredCurrently 1
namerequired1–120 characters
openapi[]One path or an array — one service each
docs./docsAuthored content directory
branding—accent, logo, favicon
navigationpages, then APISections, pages, API position, links
environments{}Named base URLs for examples
sdks[]Explicit SDK examples
playgrounddisabledBrowser-direct execution
qualityfailOn: errorSeverities, thresholds, suppressions
specistry.config.ts
import { defineConfig } from "@specistry/config";

export default defineConfig({
  schemaVersion: 1,
  name: "TestInbox",
  openapi: "./openapi.yaml",
  docs: "./docs",
  branding: { accent: "#297bf3", logo: "./assets/logo.svg" },
  navigation: [
    "quickstart",
    { section: "Guides", items: ["guides/webhooks"] },
    { api: true, label: "API reference" },
  ],
  environments: {
    sandbox: { baseUrl: "https://sandbox.testinbox.email" },
  },
  playground: { mode: "browser", environments: ["sandbox"] },
  quality: { failOn: "warning", maxWarnings: 0 },
});
Report an issue with this page on GitHub