naftiko: 1.0.0-alpha2 info: label: Bitwarden Public API — Groups description: 'Bitwarden Public API — Groups. 7 operations. Lead operation: List all groups.. Self-contained Naftiko capability covering one Bitwarden business surface.' tags: - Bitwarden - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BITWARDEN_API_KEY: BITWARDEN_API_KEY capability: consumes: - type: http namespace: public-swagger-groups baseUri: https://api.bitwarden.com description: Bitwarden Public API — Groups business capability. Self-contained, no shared references. resources: - name: public-groups path: /public/groups operations: - name: get method: GET description: List all groups. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create a group. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: public-groups-id path: /public/groups/{id} operations: - name: get method: GET description: Retrieve a group. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the group to be retrieved. required: true - name: put method: PUT description: Update a group. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the group to be updated. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Delete a group. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the group to be deleted. required: true - name: public-groups-id-member-ids path: /public/groups/{id}/member-ids operations: - name: get method: GET description: Retrieve a groups's member ids outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the group to be retrieved. required: true - name: put method: PUT description: Update a group's members. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The identifier of the group to be updated. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.BITWARDEN_API_KEY}}' exposes: - type: rest namespace: public-swagger-groups-rest port: 8080 description: REST adapter for Bitwarden Public API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/public/groups name: public-groups description: REST surface for public-groups. operations: - method: GET name: get description: List all groups. call: public-swagger-groups.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create a group. call: public-swagger-groups.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/public/groups/{id} name: public-groups-id description: REST surface for public-groups-id. operations: - method: GET name: get description: Retrieve a group. call: public-swagger-groups.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: put description: Update a group. call: public-swagger-groups.put with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete a group. call: public-swagger-groups.delete with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/public/groups/{id}/member-ids name: public-groups-id-member-ids description: REST surface for public-groups-id-member-ids. operations: - method: GET name: get description: Retrieve a groups's member ids call: public-swagger-groups.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: put description: Update a group's members. call: public-swagger-groups.put with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: public-swagger-groups-mcp port: 9090 transport: http description: MCP adapter for Bitwarden Public API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-groups description: List all groups. hints: readOnly: true destructive: false idempotent: true call: public-swagger-groups.get outputParameters: - type: object mapping: $. - name: create-group description: Create a group. hints: readOnly: false destructive: false idempotent: false call: public-swagger-groups.post with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-group description: Retrieve a group. hints: readOnly: true destructive: false idempotent: true call: public-swagger-groups.get with: id: tools.id outputParameters: - type: object mapping: $. - name: update-group description: Update a group. hints: readOnly: false destructive: false idempotent: true call: public-swagger-groups.put with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-group description: Delete a group. hints: readOnly: false destructive: true idempotent: true call: public-swagger-groups.delete with: id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-groups-s-member-ids description: Retrieve a groups's member ids hints: readOnly: true destructive: false idempotent: true call: public-swagger-groups.get with: id: tools.id outputParameters: - type: object mapping: $. - name: update-group-s-members description: Update a group's members. hints: readOnly: false destructive: false idempotent: true call: public-swagger-groups.put with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.