Skip to content

use numbers in min/maxLength#43

Open
plutov wants to merge 1 commit intopaypal:mainfrom
plutov:main
Open

use numbers in min/maxLength#43
plutov wants to merge 1 commit intopaypal:mainfrom
plutov:main

Conversation

@plutov
Copy link

@plutov plutov commented Oct 5, 2025

I use oapi-codegen to generate Go code from paypal openapi spec but it currently fails.

This PR solves one of the issues.

failed to load OpenAPI specification: failed to unmarshal data: json error: json: cannot unmarshal string into field Schema.maxLength of type uint64

@bielakmonika1234-pixel
Copy link

Ok

Copy link

@bielakmonika1234-pixel bielakmonika1234-pixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix

Copy link

@bielakmonika1234-pixel bielakmonika1234-pixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ark

Copy link

@a2022s056-web a2022s056-web left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears that you’ve shared some text referencing information or documentation, including a long section detailing PayPal Orders v2 API integration. Can you confirm what you’d like me to assist you with or clarify about this information? Are you looking to set up a specific feature in a repository, implement this API in Python for the project, or something else?

@Mister-g666
Copy link

Mister-g666 commented Feb 13, 2026

You thief this mine persenal> I use oapi-codegen to generate Go code from paypal openapi spec but it currently fails.

This PR solves one of the issues.

failed to load OpenAPI specification: failed to unmarshal data: json error: json: cannot unmarshal string into field Schema.maxLength of type uint64

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.

4 participants