Skip to content

Commit 97310f5

Browse files
committed
fix: updated success return
1 parent 1c432df commit 97310f5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

model/equaliq.smithy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,6 @@ structure SignContractInput {
535535

536536
structure SignContractOutput {
537537
@required
538-
success: String
538+
success: Boolean
539539
message: String
540540
}

python/api_model/types/models.py

Lines changed: 2 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-21T20:16:33+00:00
3+
# timestamp: 2025-05-21T21:48:37+00:00
44

55
from __future__ import annotations
66

@@ -125,7 +125,7 @@ class SignContractRequestContent(BaseModel):
125125

126126

127127
class SignContractResponseContent(BaseModel):
128-
success: str
128+
success: bool
129129
message: Optional[str] = None
130130

131131

typescript/src/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ export interface components {
338338
status: string;
339339
};
340340
SignContractResponseContent: {
341-
success: string;
341+
success: boolean;
342342
message?: string;
343343
};
344344
UpdateContractRequestContent: {

0 commit comments

Comments
 (0)