Skip to content

Conversation

@djankows
Copy link
Member

@djankows djankows commented Nov 3, 2025

No description provided.

final private static Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)application\\/json(;.*)?");
final private static Pattern JSON_VENDOR_MIME_PATTERN = Pattern.compile("(?i)application\\/vnd.(.*)+json(;.*)?");
private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)application/json(;.*)?");
private static final Pattern JSON_VENDOR_MIME_PATTERN = Pattern.compile("(?i)application/vnd\\..*\\+json(;.*)?");
Copy link
Contributor

Choose a reason for hiding this comment

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

Any tests or they already exist?

Copy link
Member Author

Choose a reason for hiding this comment

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

They do, in JavaClientCodegenTest.

@djankows djankows merged commit 547c36e into master Nov 3, 2025
11 checks passed
@djankows djankows deleted the fix-backtracking-in-java-client-codegen-regex branch November 3, 2025 13:10
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