File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
aries_cloudcontroller/api Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ async def send_offer_free(
121
121
)
122
122
123
123
async def send_proposal (
124
- self , * , body : Optional [V20IssueCredSchemaCore ] = None
124
+ self , * , body : Optional [V20CredSendRequest ] = None
125
125
) -> V20CredExRecord :
126
126
"""Send issuer a credential proposal"""
127
127
return await self .__send_proposal (
@@ -228,7 +228,7 @@ def __send_offer_free(
228
228
@json
229
229
@post ("/issue-credential-2.0/send-proposal" )
230
230
def __send_proposal (
231
- self , * , body : Body (type = V20IssueCredSchemaCore ) = {}
231
+ self , * , body : Body (type = V20CredSendRequest ) = {}
232
232
) -> V20CredExRecord :
233
233
"""Internal uplink method for send_proposal"""
234
234
Original file line number Diff line number Diff line change 1
1
diff --git a/generator/data/openapi.yml b/generator/data/openapi.yml
2
- index 4582107..fbc80b8 100644
2
+ index 4582107..110b7a5 100644
3
3
--- a/generator/data/openapi.yml
4
4
+++ b/generator/data/openapi.yml
5
5
@@ -705,7 +705,7 @@ paths:
@@ -11,6 +11,15 @@ index 4582107..fbc80b8 100644
11
11
x-codegen-request-body-name: body
12
12
operationId: publish_cred_def
13
13
/credential-definitions/created:
14
+ @@ -1446,7 +1446,7 @@ paths:
15
+ content:
16
+ application/json:
17
+ schema:
18
+ - $ref: '#/components/schemas/V20IssueCredSchemaCore'
19
+ + $ref: '#/components/schemas/V20CredSendRequest'
20
+ required: false
21
+ responses:
22
+ 200:
14
23
@@ -3263,7 +3263,7 @@ paths:
15
24
content:
16
25
application/json:
Original file line number Diff line number Diff line change @@ -1446,7 +1446,7 @@ paths:
1446
1446
content :
1447
1447
application/json :
1448
1448
schema :
1449
- $ref : ' #/components/schemas/V20IssueCredSchemaCore '
1449
+ $ref : ' #/components/schemas/V20CredSendRequest '
1450
1450
required : false
1451
1451
responses :
1452
1452
200 :
You can’t perform that action at this time.
0 commit comments