You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
## Test [/Test]
+ Attributes (object)
+ id: 12 (number) - List identifier
+ name: Films you must watch (string, required) - List description
+ medias (array[string], fixed-type) - References to the medias in the list
# GET /
+ Response 200 (application/json)
+ Attributes (Test)
The following input:
Generates this JSON schema:
Note that there is a tuple validation for the
medias
array.In this snippet:
The validator is saying "the first item of the array should be a string".
Instead, as I understand from the MSON spec,
array[string], fixed-type
means that all items of the array should be a string.The expected output, thus, should be a List Validation schema:
The text was updated successfully, but these errors were encountered: