You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When defining boolean type default example values within the oneOf property in an OpenAPI Specification (OAS) file, the boolean type is not recognized correctly. Instead, it is recognized as a string.
OpenApi File To Reproduce
I have attached the Sample OAS Spec file. OAS Spec File Test.txt Steps to reproduce :
1 - Create an OAS file with a boolean type within a oneOf property as shown in the example.
2 - Import the OAS file into your API tool.
3 - Observe that the boolean type is recognized as a string instead of a boolean.
Expected behavior
The boolean type within the oneOf property should be recognized as a boolean, not a string.
**Additional content
This issue affects the validation and interpretation of the API specification, leading to potential errors in the API implementation and testing.
The text was updated successfully, but these errors were encountered:
Describe the bug
When defining boolean type default example values within the oneOf property in an OpenAPI Specification (OAS) file, the boolean type is not recognized correctly. Instead, it is recognized as a string.
OpenApi File To Reproduce
I have attached the Sample OAS Spec file.
OAS Spec File Test.txt
Steps to reproduce :
1 - Create an OAS file with a boolean type within a oneOf property as shown in the example.
2 - Import the OAS file into your API tool.
3 - Observe that the boolean type is recognized as a string instead of a boolean.
Expected behavior
The boolean type within the oneOf property should be recognized as a boolean, not a string.
**Additional content
This issue affects the validation and interpretation of the API specification, leading to potential errors in the API implementation and testing.
The text was updated successfully, but these errors were encountered: