Add API key security definitions to Swagger documentation

This commit is contained in:
2025-10-26 14:42:55 +01:00
parent e387280405
commit 975c740272
3 changed files with 19 additions and 0 deletions

View File

@@ -1006,4 +1006,9 @@ paths:
summary: Get llamactl version
tags:
- version
securityDefinitions:
ApiKeyAuth:
in: header
name: X-API-Key
type: apiKey
swagger: "2.0"