naftiko: 1.0.0-alpha2 info: label: GitHub Org API — Openid Connect description: 'GitHub Org API — Openid Connect. 2 operations. Lead operation: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Openid Connect created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: organizations-openid-connect baseUri: '' description: GitHub Org API — Openid Connect business capability. Self-contained, no shared references. resources: - name: orgs-org-actions-oidc-customization-sub path: /orgs/{org}/actions/oidc/customization/sub operations: - name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization method: GET description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setthecustomizationtemplateforanoidcsubjectclaimforanorganization method: PUT description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: organizations-openid-connect-rest port: 8080 description: REST adapter for GitHub Org API — Openid Connect. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/actions/oidc/customization/sub name: orgs-org-actions-oidc-customization-sub description: REST surface for orgs-org-actions-oidc-customization-sub. operations: - method: GET name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization call: organizations-openid-connect.getthecustomizationtemplateforanoidcsubjectclaimforanorganization outputParameters: - type: object mapping: $. - method: PUT name: setthecustomizationtemplateforanoidcsubjectclaimforanorganization description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization call: organizations-openid-connect.setthecustomizationtemplateforanoidcsubjectclaimforanorganization with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: organizations-openid-connect-mcp port: 9090 transport: http description: MCP adapter for GitHub Org API — Openid Connect. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-customization-template-oidc description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization hints: readOnly: true destructive: false idempotent: true call: organizations-openid-connect.getthecustomizationtemplateforanoidcsubjectclaimforanorganization outputParameters: - type: object mapping: $. - name: github-set-customization-template-oidc description: GitHub Set the Customization Template for an Oidc Subject Claim for an Organization hints: readOnly: false destructive: false idempotent: true call: organizations-openid-connect.setthecustomizationtemplateforanoidcsubjectclaimforanorganization with: body: tools.body outputParameters: - type: object mapping: $.