Skip to content

Warning 'Data and type mismatch found.' with 'date-time' format #1640

@adsk-duszykf

Description

@adsk-duszykf

I get a warning: 'Data and type mismatch found.' with this response description:

DiffCreatedEvent:
  description: 'diff index created
  type: object
  additionalProperties: false
  properties:
    updatedAt:        { $ref: '#/components/schemas/Timestamp' }
  example:
    {
      "updatedAt": '2020-06-30T06:43:51.391Z',
    }
Timestamp:      { type: string, format: date-time, description: 'timestamp', example: '2020-06-30T06:43:51.391Z' }

but no warning with this:

DiffCreatedEvent:
  description: 'diff index created
  type: object
  additionalProperties: false
  properties:
    updatedAt:        { type: string, format: date-time, description: 'timestamp', example: '2020-06-30T06:43:51.391Z' }
  example:
    {
      "updatedAt": '2020-06-30T06:43:51.391Z',
    }

Metadata

Metadata

Assignees

Labels

WIPpriority:p2Medium. Generally has a work-around and a smaller sub-set of customers is affected. SLA <=30 daystype:bugA broken experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions