-
Notifications
You must be signed in to change notification settings - Fork 41
chore: update openapi-typescript #567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: b995c05 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for openpayments-preview canceled.
|
@@ -1115,6 +1117,7 @@ components: | |||
description: The total amount successfully received (by all receivers) using the current outgoing payment grant. | |||
metadata: | |||
type: object | |||
additionalProperties: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to allow generating
{
[key: string]: unknown;
}
instead of Record<string, never>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkurapov Missed one "create-incoming-payment"
requestBody
.
open-payments/packages/open-payments/src/openapi/generated/resource-server-types.ts
Line 542 in b995c05
metadata?: Record<string, never>; |

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the flag @sidvishnoi! added PR: #581
@@ -149,6 +149,7 @@ paths: | |||
identifier: 'http://ilp.interledger-test.dev/bob' | |||
client: 'https://webmonize.com/.well-known/pay' | |||
description: '' | |||
required: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requestbody is required for grant requests. (to generate proper type)
# Conflicts: # packages/open-payments/package.json # pnpm-lock.yaml
a741d21
to
b995c05
Compare
Changes proposed in this pull request
openapi-typescript
to latest versionrequestBody
required in grant request (to generate correct types)additionalProperties: true
in spec where necessaryContext
Fixes #249