Skip to content

Commit 1c432df

Browse files
committed
feat: updated smithy to only required types
1 parent e939100 commit 1c432df

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

model/equaliq.smithy

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,11 @@ operation SignContract {
526526

527527
structure SignContractInput {
528528
@required
529-
signerName: String
530-
529+
contractId: String
530+
@required
531+
userId: String
532+
@required
533+
status: String
531534
}
532535

533536
structure SignContractOutput {

python/api_model/types/models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: api.json
3-
# timestamp: 2025-05-20T21:49:24+00:00
3+
# timestamp: 2025-05-21T20:16:33+00:00
44

55
from __future__ import annotations
66

@@ -119,7 +119,9 @@ class SharedUserDetails(BaseModel):
119119

120120

121121
class SignContractRequestContent(BaseModel):
122-
signerName: str
122+
contractId: str
123+
userId: str
124+
status: str
123125

124126

125127
class SignContractResponseContent(BaseModel):

typescript/src/models.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,9 @@ export interface components {
333333
sharedTime: number;
334334
};
335335
SignContractRequestContent: {
336-
signerName: string;
336+
contractId: string;
337+
userId: string;
338+
status: string;
337339
};
338340
SignContractResponseContent: {
339341
success: string;

0 commit comments

Comments
 (0)