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
sortby:
type: array
description: |
An array of objects containing a property name and sort direction.
minItems: 1
items:
type: object
required:
- field
- direction
properties:
field:
type: string
direction:
type: string
default: asc
enum:
- asc
- desc
On one side, the direction field is marked as mandatory, but then it's also given a default value that will never be used.
What was the intention here?
The text was updated successfully, but these errors were encountered:
In the openapi.yml file, we have the following:
On one side, the
direction
field is marked as mandatory, but then it's also given a default value that will never be used.What was the intention here?
The text was updated successfully, but these errors were encountered: