{/_
This file is generated by scripts/generate-doc-snippets.ts.
Edit examples/docs-sdk-quickstart/src/main.ts between the docs:start/docs:end markers instead.
_/}

```ts
await executor.openapi.addSpec({
  namespace: "inventory",
  scope: "docs-workspace",
  spec: JSON.stringify(inventoryApi),
});
```
