[Junie]: Junie Old HTTPValidationError and ValidationError OpenAPI entry#4
Open
junie-eap[bot] wants to merge 1 commit intomasterfrom
Open
[Junie]: Junie Old HTTPValidationError and ValidationError OpenAPI entry#4junie-eap[bot] wants to merge 1 commit intomasterfrom
junie-eap[bot] wants to merge 1 commit intomasterfrom
Conversation
…PI entry changes from the task: #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Hey! This PR was made for you with Junie, the coding agent by JetBrains Early Access Preview
It's still learning, developing, and might make mistakes. Please make sure you review the changes before you accept them.
We’d love your feedback — join our Discord to share bugs, ideas: here.
📝 Original Issue Description
Issue Content
Issue Content
Those lines need to be updated:
https://github.com/tiangolo/fastapi/blob/36c26677682c4245183912e00fc057c05cc6cf7a/fastapi/openapi/utils.py#L36-L61
They reflect how it was before 0.100.0, but with Pydantic V2, that's no longer true.
[null] Oh no! Task execution failed. (Unknown error).
Please check the action for more details.
Report the issue on our Discord and help us improve Discord.
[Alexander Prendota] @jetbrains-junie fix
📊 Junie Summary
The
validation_error_definitioninfastapi/openapi/utils.pywas updated to include an "input" field that aligns with Pydantic V2's error structure while maintaining backward compatibility with Pydantic V1. The changes were submitted without any errors detected. All relevant tests have also been confirmed to pass successfully, indicating the modifications are effective.