naftiko: 1.0.0-alpha2 info: label: Gitea API — settings description: 'Gitea API — settings. 4 operations. Lead operation: Get Instance''s Global Settings for API. Self-contained Naftiko capability covering one Gitea business surface.' tags: - Gitea - settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITEA_API_KEY: GITEA_API_KEY capability: consumes: - type: http namespace: rest-settings baseUri: https://gitea.com/api/v1 description: Gitea API — settings business capability. Self-contained, no shared references. resources: - name: settings-api path: /settings/api operations: - name: getgeneralapisettings method: GET description: Get Instance's Global Settings for API outputRawFormat: json outputParameters: - name: result type: object value: $. - name: settings-attachment path: /settings/attachment operations: - name: getgeneralattachmentsettings method: GET description: Get Instance's Global Settings for Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: settings-repository path: /settings/repository operations: - name: getgeneralrepositorysettings method: GET description: Get Instance's Global Settings for Repositories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: settings-ui path: /settings/ui operations: - name: getgeneraluisettings method: GET description: Get Instance's Global Settings for Ui outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: access_token value: '{{env.GITEA_API_KEY}}' placement: query exposes: - type: rest namespace: rest-settings-rest port: 8080 description: REST adapter for Gitea API — settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/settings/api name: settings-api description: REST surface for settings-api. operations: - method: GET name: getgeneralapisettings description: Get Instance's Global Settings for API call: rest-settings.getgeneralapisettings outputParameters: - type: object mapping: $. - path: /v1/settings/attachment name: settings-attachment description: REST surface for settings-attachment. operations: - method: GET name: getgeneralattachmentsettings description: Get Instance's Global Settings for Attachment call: rest-settings.getgeneralattachmentsettings outputParameters: - type: object mapping: $. - path: /v1/settings/repository name: settings-repository description: REST surface for settings-repository. operations: - method: GET name: getgeneralrepositorysettings description: Get Instance's Global Settings for Repositories call: rest-settings.getgeneralrepositorysettings outputParameters: - type: object mapping: $. - path: /v1/settings/ui name: settings-ui description: REST surface for settings-ui. operations: - method: GET name: getgeneraluisettings description: Get Instance's Global Settings for Ui call: rest-settings.getgeneraluisettings outputParameters: - type: object mapping: $. - type: mcp namespace: rest-settings-mcp port: 9090 transport: http description: MCP adapter for Gitea API — settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-instance-s-global-settings-api description: Get Instance's Global Settings for API hints: readOnly: true destructive: false idempotent: true call: rest-settings.getgeneralapisettings outputParameters: - type: object mapping: $. - name: get-instance-s-global-settings-attachment description: Get Instance's Global Settings for Attachment hints: readOnly: true destructive: false idempotent: true call: rest-settings.getgeneralattachmentsettings outputParameters: - type: object mapping: $. - name: get-instance-s-global-settings-repositories description: Get Instance's Global Settings for Repositories hints: readOnly: true destructive: false idempotent: true call: rest-settings.getgeneralrepositorysettings outputParameters: - type: object mapping: $. - name: get-instance-s-global-settings-ui description: Get Instance's Global Settings for Ui hints: readOnly: true destructive: false idempotent: true call: rest-settings.getgeneraluisettings outputParameters: - type: object mapping: $.