naftiko: 1.0.0-alpha2 info: label: Dokploy API — gitea description: 'Dokploy API — gitea. 8 operations. Lead operation: gitea.create. Self-contained Naftiko capability covering one Dokploy business surface.' tags: - Dokploy - gitea created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: DOKPLOY_API_KEY: DOKPLOY_API_KEY DOKPLOY_URL: DOKPLOY_URL capability: consumes: - type: http namespace: dokploy-gitea baseUri: ${DOKPLOY_URL}/api description: Dokploy API — gitea business capability. Self-contained, no shared references. resources: - name: create path: /gitea.create operations: - name: gitea-create method: POST description: gitea-create outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: one path: /gitea.one operations: - name: gitea-one method: GET description: gitea-one outputRawFormat: json outputParameters: - name: result type: object value: $. - name: giteaProviders path: /gitea.giteaProviders operations: - name: gitea-giteaProviders method: GET description: gitea-giteaProviders outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getGiteaRepositories path: /gitea.getGiteaRepositories operations: - name: gitea-getGiteaRepositories method: GET description: gitea-getGiteaRepositories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getGiteaBranches path: /gitea.getGiteaBranches operations: - name: gitea-getGiteaBranches method: GET description: gitea-getGiteaBranches outputRawFormat: json outputParameters: - name: result type: object value: $. - name: testConnection path: /gitea.testConnection operations: - name: gitea-testConnection method: POST description: gitea-testConnection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: update path: /gitea.update operations: - name: gitea-update method: POST description: gitea-update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: getGiteaUrl path: /gitea.getGiteaUrl operations: - name: gitea-getGiteaUrl method: GET description: gitea-getGiteaUrl outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: dokploy-gitea-rest port: 8080 description: REST adapter for Dokploy API — gitea. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gitea.create name: create description: REST surface for create. operations: - method: POST name: gitea-create description: gitea-create call: dokploy-gitea.gitea-create with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gitea.one name: one description: REST surface for one. operations: - method: GET name: gitea-one description: gitea-one call: dokploy-gitea.gitea-one outputParameters: - type: object mapping: $. - path: /v1/gitea.giteaProviders name: giteaProviders description: REST surface for giteaProviders. operations: - method: GET name: gitea-giteaProviders description: gitea-giteaProviders call: dokploy-gitea.gitea-giteaProviders outputParameters: - type: object mapping: $. - path: /v1/gitea.getGiteaRepositories name: getGiteaRepositories description: REST surface for getGiteaRepositories. operations: - method: GET name: gitea-getGiteaRepositories description: gitea-getGiteaRepositories call: dokploy-gitea.gitea-getGiteaRepositories outputParameters: - type: object mapping: $. - path: /v1/gitea.getGiteaBranches name: getGiteaBranches description: REST surface for getGiteaBranches. operations: - method: GET name: gitea-getGiteaBranches description: gitea-getGiteaBranches call: dokploy-gitea.gitea-getGiteaBranches outputParameters: - type: object mapping: $. - path: /v1/gitea.testConnection name: testConnection description: REST surface for testConnection. operations: - method: POST name: gitea-testConnection description: gitea-testConnection call: dokploy-gitea.gitea-testConnection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gitea.update name: update description: REST surface for update. operations: - method: POST name: gitea-update description: gitea-update call: dokploy-gitea.gitea-update with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gitea.getGiteaUrl name: getGiteaUrl description: REST surface for getGiteaUrl. operations: - method: GET name: gitea-getGiteaUrl description: gitea-getGiteaUrl call: dokploy-gitea.gitea-getGiteaUrl outputParameters: - type: object mapping: $. - type: mcp namespace: dokploy-gitea-mcp port: 9090 transport: http description: MCP adapter for Dokploy API — gitea. One tool per consumed operation, routed inline through this capability’s consumes block. tools: - name: gitea-create description: gitea-create hints: readOnly: false destructive: false idempotent: false call: dokploy-gitea.gitea-create with: body: tools.body outputParameters: - type: object mapping: $. - name: gitea-one description: gitea-one hints: readOnly: true destructive: false idempotent: true call: dokploy-gitea.gitea-one outputParameters: - type: object mapping: $. - name: gitea-giteaProviders description: gitea-giteaProviders hints: readOnly: true destructive: false idempotent: true call: dokploy-gitea.gitea-giteaProviders outputParameters: - type: object mapping: $. - name: gitea-getGiteaRepositories description: gitea-getGiteaRepositories hints: readOnly: true destructive: false idempotent: true call: dokploy-gitea.gitea-getGiteaRepositories outputParameters: - type: object mapping: $. - name: gitea-getGiteaBranches description: gitea-getGiteaBranches hints: readOnly: true destructive: false idempotent: true call: dokploy-gitea.gitea-getGiteaBranches outputParameters: - type: object mapping: $. - name: gitea-testConnection description: gitea-testConnection hints: readOnly: false destructive: false idempotent: false call: dokploy-gitea.gitea-testConnection with: body: tools.body outputParameters: - type: object mapping: $. - name: gitea-update description: gitea-update hints: readOnly: false destructive: false idempotent: false call: dokploy-gitea.gitea-update with: body: tools.body outputParameters: - type: object mapping: $. - name: gitea-getGiteaUrl description: gitea-getGiteaUrl hints: readOnly: true destructive: false idempotent: true call: dokploy-gitea.gitea-getGiteaUrl outputParameters: - type: object mapping: $.