Skip to content

Converting yes no on off enum values without quotes to booleans problem#1709

Open
MateuszPol wants to merge 4 commits intoswagger-api:v1from
MateuszPol:Converting_Yes_No_On_Off_enum_values_without_quotes_to_booleans_problem
Open

Converting yes no on off enum values without quotes to booleans problem#1709
MateuszPol wants to merge 4 commits intoswagger-api:v1from
MateuszPol:Converting_Yes_No_On_Off_enum_values_without_quotes_to_booleans_problem

Conversation

@MateuszPol
Copy link

@MateuszPol MateuszPol commented Apr 14, 2022

Hi, we are getting problems while using DesrializationUtils. When using DeserializationUtils.readYamlTree(...) method, YAML definition that contains not quoted enum values like Yes/No/On/Off are converted to boolean values, which seems not correct behaviour.

I wrote a UnitTest with example of YAML file and expected result.

@MateuszPol MateuszPol changed the base branch from master to v1 April 14, 2022 12:13
@gracekarina
Copy link
Contributor

related #1205

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.

2 participants