thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Json schema test

Open andresatierf opened this issue 3 years ago • 2 comments

Describe the bug

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "id": { "type": "string" }
    }
}
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "id": { "type": "string", "format": "uuid" }
    }
}

The second json schema fails the test because it has a format property

To Reproduce

Use second json

Expected behavior

The test should pass

Platform:

  • OS: Manjaro
  • vscode version: 1.70.1
  • extension version: 1.18.0

Solution:

andresatierf avatar Aug 11 '22 17:08 andresatierf

@andresatierf thanks for reporting, can you share your response json, I will verify and get back to you.

rangav avatar Aug 11 '22 17:08 rangav

{
  "id": "c58f418a-82fe-4bfd-af8a-ee8d880afac9"
}

andresatierf avatar Aug 11 '22 17:08 andresatierf

I have fixed that now, will publish a quick update in next 1 hour.

rangav avatar Aug 11 '22 17:08 rangav

This bug is now fixed and published to marketplace, please update to v1.18.1

rangav avatar Aug 11 '22 18:08 rangav

Is now working as expected :+1:

andresatierf avatar Aug 11 '22 19:08 andresatierf

thank you for confirmation

rangav avatar Aug 11 '22 19:08 rangav