Skip to content

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

Merged
merged 4 commits into from
Mar 17, 2025
Merged

chore: update openapi-typescript #567

merged 4 commits into from
Mar 17, 2025

Conversation

mkurapov
Copy link
Contributor

@mkurapov mkurapov commented Mar 14, 2025

Changes proposed in this pull request

  • Updating openapi-typescript to latest version
  • Making requestBody required in grant request (to generate correct types)
  • Adding additionalProperties: true in spec where necessary

Context

Fixes #249

Copy link

changeset-bot bot commented Mar 14, 2025

🦋 Changeset detected

Latest commit: b995c05

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@interledger/open-payments Patch

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

Copy link

netlify bot commented Mar 14, 2025

Deploy Preview for openpayments-preview canceled.

Name Link
🔨 Latest commit b995c05
🔍 Latest deploy log https://app.netlify.com/sites/openpayments-preview/deploys/67d868814929610008c89e08

@@ -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
Copy link
Contributor Author

@mkurapov mkurapov Mar 14, 2025

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>

Copy link
Member

@sidvishnoi sidvishnoi Apr 2, 2025

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.


image

Copy link
Contributor Author

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
Copy link
Contributor Author

@mkurapov mkurapov Mar 14, 2025

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)

@mkurapov mkurapov marked this pull request as ready for review March 14, 2025 20:41
# Conflicts:
#	packages/open-payments/package.json
#	pnpm-lock.yaml
@mkurapov mkurapov force-pushed the 249/mk/update-openapi-ts branch from a741d21 to b995c05 Compare March 17, 2025 18:22
@mkurapov mkurapov merged commit 13aa6b5 into main Mar 17, 2025
11 checks passed
@mkurapov mkurapov deleted the 249/mk/update-openapi-ts branch March 17, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade openapi-typescript dependency
3 participants