Skip to content

Commit 2878c1d

Browse files
feat: Add full API contract tests and Groups/.search endpoint (#105) (#106)
Extend Pact contract tests from 6 to 18 interactions covering all SCIM endpoints (Users CRUD, Groups CRUD, Discovery, Bulk). Add /Groups/.search POST endpoint to OpenAPI spec per RFC 7644 §3.4.3. Add 8 Group E2E tests to sample server. Fix provider pact @PactFolder path that prevented verification from running. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 68b552b commit 2878c1d

4 files changed

Lines changed: 706 additions & 24 deletions

File tree

docs/scim2-openapi.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,28 @@ paths:
377377
schema:
378378
$ref: '#/components/schemas/Group'
379379

380+
/Groups/.search:
381+
post:
382+
tags: [Groups]
383+
summary: Search groups (POST)
384+
description: |
385+
Alternative to GET for searching with complex filters.
386+
[RFC 7644 §3.4.3](https://www.rfc-editor.org/rfc/rfc7644#section-3.4.3)
387+
operationId: searchGroupsPost
388+
requestBody:
389+
required: true
390+
content:
391+
application/scim+json:
392+
schema:
393+
$ref: '#/components/schemas/SearchRequest'
394+
responses:
395+
'200':
396+
description: Search results
397+
content:
398+
application/scim+json:
399+
schema:
400+
$ref: '#/components/schemas/GroupListResponse'
401+
380402
/Groups/{id}:
381403
get:
382404
tags: [Groups]

0 commit comments

Comments
 (0)