test(api): make json scheme strict

This commit is contained in:
Saw-jan
2024-02-21 15:17:47 +05:45
parent 5a89c3605f
commit 0b0ae60d9d

View File

@@ -800,6 +800,8 @@ Feature: an user gets the resources shared to them
},
"permissions": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
@@ -1131,6 +1133,8 @@ Feature: an user gets the resources shared to them
},
"permissions": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
@@ -1491,6 +1495,8 @@ Feature: an user gets the resources shared to them
},
"permissions": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{
@@ -1790,6 +1796,8 @@ Feature: an user gets the resources shared to them
},
"permissions": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"oneOf": [
{