Skip to content

Prefer boolean serialization to lower casing instead of pascal #54

@asadali214

Description

@asadali214

Describe the bug
The boolean values in query parameters are being serialized as True or False instead of true or false. This might cause bad request errors at the server end while extracting the query parameters as boolean type.

Expected behavior
Serialize the boolean values as true and false while sending them in query string

To Reproduce
Steps to reproduce the bug:

  1. Call any endpoint that have a boolean as a query parameter after generating an APIMatic C# SDK
  2. You will find that boolean values are incorrectly serialized as True

Screenshots
image

Library version number
For example: 0.3.2

Environmental details
For example:
OS: Windows
Runtime version: .NET 6

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions