Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Change from
did/:did
to did/search/:didUrl
endpoint and sup…
…port query parameters for DID endpoint in Credential Service [DEV-3097] (#331) * Move commits from DEV-3097. * Move constructor implementation to base class. * Update swagger OpenAPI. * Refactor code. * Add resolve, resource/list, resource/dereferencing to skip endpoints. * Rename endpoint from `/did/resolve/{didUrl}` to `/did/search/{didUrl}`. * Use same configured unordered list symbol. * Set correct route in registerRoute. * Fix review comments. * Add query parameters for /did/search/{did}. * Update swagger.json. * bump deps * Update package-lock.json * Remove `/resource/list/:did` endpoint. * Remove unused methods/functions. * Remove unused imports. * Update swagger OpenAPI. * Revert /did/search/{did} response type. * Update package-lock.json * Update swagger-types.ts * Update issuer.ts * Update swagger.json * Update swagger-types.ts * Update issuer.ts * Update customer.ts * Update customer.ts * Merge branch 'develop' into DEV-3097-2 * Re-generate swagger OpenAPI. * Remove an unreachable line of code. * Remove removed endpoint from resourceAuthHandler. * Format code. * Rename endpoint from `/resource/dereferencing` to `/resource/search`. * Fix cycle import. * Made CredentialRequest examplification * Set correct response type for /did/search endpoint * Set correct response type for /resource/search. * Move resource query params to resource/search API. * Remove resourceId path param from /resource/search * Set an empty object for /resource/search API's response type. * Update swagger.json. * Remove resourceId parameter from resource/search. * Correct searchStatusList implementation. * Refactor code. * Add Content-Type: `*/*` header for resolve method. * Fix linter mistake. * Make status codes similar like DID Resolver. * Fix OpenAPI linter mistakes. * bump * Rename IIdentity * npm run format * Update issuer.ts * Fix DID Document example and schema * Fix DID Document metadata * Update swagger.json * Fix resource metadata * Build Swagger * Update src/services/identity/identity.ts Co-authored-by: Tasos Derisiotis <[email protected]> * Update src/services/identity/identity.ts Co-authored-by: Tasos Derisiotis <[email protected]> * Update src/services/identity/identity.ts Co-authored-by: Tasos Derisiotis <[email protected]> * Restructure classes architecture. * Add postfix to DefaultIdentityService subclasses. * Rename class name from Identity to IdentityStrategySetup. --------- Co-authored-by: Ankur Banerjee <[email protected]> Co-authored-by: Andrew Nikitin <[email protected]> Co-authored-by: Tasos Derisiotis <[email protected]>
- Loading branch information