From 8e39d0bbdbd7d4d087865651c4c8ce3b16540174 Mon Sep 17 00:00:00 2001 From: Shailesh Patil <53746241+mineme0110@users.noreply.github.com> Date: Thu, 29 Aug 2024 07:52:13 +0100 Subject: [PATCH] fix: operation id repeated error (#1306) --- .../identus/issue/controller/IssueEndpoints.scala | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/issue/controller/IssueEndpoints.scala b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/issue/controller/IssueEndpoints.scala index 1f1d91d828..80aade04ed 100644 --- a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/issue/controller/IssueEndpoints.scala +++ b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/issue/controller/IssueEndpoints.scala @@ -91,12 +91,15 @@ object IssueEndpoints { .description("The credential issuance record was created successfully, and is returned in the response body.") ) .out(jsonBody[IssueCredentialRecord].description("The issue credential record.")) - .name("createCredentialOffer") - .summary("As a credential issuer, create a new credential offer that will be sent to a holder Agent.") + .name("createCredentialOfferInvitation") + .summary( + "As a credential issuer, create a new credential offer Invitation that will be delivered as out-of-band to a peer Agent." + ) .description(""" - |Creates a new credential offer that will be delivered, through a previously established DIDComm connection, to a holder Agent. - |The subsequent credential offer message adheres to the [Issue Credential Protocol 3.0 - Offer Credential](https://github.com/decentralized-identity/waci-didcomm/tree/main/issue_credential#offer-credential) specification. - |The created offer can be of two types: 'JWT' or 'AnonCreds'. + |Creates a new credential offer invitation to be delivered as an out-of-band message. + |The invitation message adheres to the OOB specification as outlined [here](https://identity.foundation/didcomm-messaging/spec/#invitation), + |with the credential offer message attached according to the [Issue Credential Protocol 3.0 - Offer Credential specification](https://github.com/decentralized-identity/waci-didcomm/tree/main/issue_credential#offer-credential). + |The created offer attachment can be of three types: 'JWT', 'AnonCreds', or 'SDJWT'. |""".stripMargin) .tag(tagName)