🐛 fix: ensure request body properties are defined#43
Merged
arvinxx merged 1 commit intolobehub:masterfrom Jun 30, 2024
Merged
Conversation
Member
|
👍 @luquitared |
Member
|
❤️ Great PR @luquitared ❤️ |
lobehubbot
pushed a commit
that referenced
this pull request
Jun 30, 2024
### [Version 1.32.4](v1.32.3...v1.32.4) <sup>Released on **2024-06-30**</sup> #### 🐛 Bug Fixes - **misc**: Ensure request body properties are defined. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Ensure request body properties are defined, closes [#43](#43) ([933b53c](933b53c)) </details> <div align="right"> [](#readme-top) </div>
Member
|
🎉 This PR is included in version 1.32.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Sometimes when parsing more complex openapi schemas, this crash can happen:
By ensuring the request body properties are defined, we prevent trying to convert an undefined or null object to keys, avoiding the TypeError.