Skip to content

openapi_schema: boolean values should not be valid strings#12

Merged
maxlapshin merged 1 commit intoflussonic:masterfrom
stolen:boolean_vs_string
Aug 28, 2025
Merged

openapi_schema: boolean values should not be valid strings#12
maxlapshin merged 1 commit intoflussonic:masterfrom
stolen:boolean_vs_string

Conversation

@stolen
Copy link
Copy Markdown
Contributor

@stolen stolen commented Aug 28, 2025

Boolean values (true, false) are not valid strings any more, even with auto_convert.
Rationale:

  • When processing input, const values are expected to be atoms, thus auto_convert is needed
  • booleans (got from JSON) should fail validation as strings

@maxlapshin maxlapshin merged commit 6bbd763 into flussonic:master Aug 28, 2025
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