mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Refactor ports section of fields schema
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
e67419065a
commit
ab36c9c6cd
@ -83,16 +83,8 @@
|
|||||||
"ports": {
|
"ports": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"oneOf": [
|
"type": ["string", "number"],
|
||||||
{
|
"format": "ports"
|
||||||
"type": "string",
|
|
||||||
"format": "ports"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "number",
|
|
||||||
"format": "ports"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"uniqueItems": true
|
"uniqueItems": true
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user