ENFR0.1.0-rc.3

Modèle · API + guides

La configuration TestInbox utilisée dans la présentation du produit.


specistry.config.ts
import { defineConfig } from "@specistry/config";

export default defineConfig({
  schemaVersion: 1,
  name: "TestInbox",
  openapi: "./openapi.yaml",
  branding: { logo: "./assets/logo.svg", accent: "#7c3aed" },
  navigation: [
    "quickstart",
    "authentication",
    { section: "Guides", items: ["guides/attendre-un-message"] },
    { api: true, label: "Référence API" },
  ],
  environments: {
    sandbox: { label: "Sandbox", baseUrl: "https://sandbox.testinbox.email" },
  },
  playground: { mode: "browser", environments: ["sandbox"] },
});
docs/quickstart.mdx
---
title: Démarrage rapide
description: Votre premier e-mail de test en cinq minutes.
---

<Steps>

<Step title="Créer une boîte">

Appelez [Créer une boîte](/api/inboxes/create-inbox).

</Step>

<Step title="Attendre l’e-mail">

```typescript title="inscription.test.ts"
const msg = await inbox.messages.wait({ timeout: 30_000 });
```

</Step>

</Steps>
Signaler un problème sur cette page (GitHub)