Skip to content

Property with type sting, format number is outputted in json as a number rather than string. #635

Closed
@jjjasper

Description

@jjjasper

When a property is defined as

stringTypedNumber:
  type: string
  format: number

the outputted json looks like

{
   "stringTypedNumber": 0.1

which is bad because precision is lost.

In 0.16.x the output would be a string.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions