diff --git a/lib/generator.ts b/lib/generator.ts index ebc1a29..f65d1e5 100644 --- a/lib/generator.ts +++ b/lib/generator.ts @@ -65,6 +65,19 @@ class AiWarpGenerator extends ServiceGenerator { const packageJson = await this.getStackablePackageJson() const config = { $schema: this.config.localSchema as boolean ? './stackable.schema.json' : `https://schemas.platformatic.dev/@platformatic/ai-warp/${packageJson.version}.json`, + service: { + openapi: { + components: { + securitySchemes: { + apiKey: { + type: 'apiKey', + in: 'header', + name: 'Authorization' + } + } + } + } + }, module: packageJson.name, aiProvider: {}, promptDecorators: {