Skip to content

Commit 66e482a

Browse files
committed
Update schema for apiDeclaration consumes/produces to require unique entries
1 parent 91ed265 commit 66e482a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

schemas/v1.2/apiDeclaration.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"items": {
5555
"type": "string",
5656
"format": "mime-type"
57-
}
57+
},
58+
"uniqueItems": true
5859
}
5960
}
6061
}

schemas/v1.2/operationObject.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"items": {
5959
"type": "string",
6060
"format": "mime-type"
61-
}
61+
},
62+
"uniqueItems": true
6263
}
6364
}
6465
}

0 commit comments

Comments
 (0)