Skip to content

Commit 8ff7ddb

Browse files
committed
fix: make action response straightforward
1 parent 822cf2a commit 8ff7ddb

3 files changed

Lines changed: 443 additions & 443 deletions

File tree

api/spec/packages/aip/src/invoices/operations.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ interface InvoicesOperations {
167167
@extension(Shared.InternalExtension, true)
168168
@extension(Shared.PrivateExtension, true)
169169
advance(@path invoiceId: Shared.ULID):
170-
| Shared.GetResponse<Invoice>
170+
| Invoice
171171
| Common.NotFound
172172
| Common.ErrorResponses;
173173

@@ -192,7 +192,7 @@ interface InvoicesOperations {
192192
@extension(Shared.InternalExtension, true)
193193
@extension(Shared.PrivateExtension, true)
194194
approve(@path invoiceId: Shared.ULID):
195-
| Shared.GetResponse<Invoice>
195+
| Invoice
196196
| Common.NotFound
197197
| Common.ErrorResponses;
198198

@@ -212,7 +212,7 @@ interface InvoicesOperations {
212212
@extension(Shared.InternalExtension, true)
213213
@extension(Shared.PrivateExtension, true)
214214
retry(@path invoiceId: Shared.ULID):
215-
| Shared.GetResponse<Invoice>
215+
| Invoice
216216
| Common.NotFound
217217
| Common.ErrorResponses;
218218

@@ -233,7 +233,7 @@ interface InvoicesOperations {
233233
@extension(Shared.InternalExtension, true)
234234
@extension(Shared.PrivateExtension, true)
235235
snapshotQuantities(@path invoiceId: Shared.ULID):
236-
| Shared.GetResponse<Invoice>
236+
| Invoice
237237
| Common.NotFound
238238
| Common.ErrorResponses;
239239
}

0 commit comments

Comments
 (0)