mirror of https://github.com/docker/compose.git
Refactor ports section of fields schema
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
b85bfce65e
commit
d52508e2b1
|
@ -83,16 +83,8 @@
|
|||
"ports": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "ports"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"format": "ports"
|
||||
}
|
||||
]
|
||||
"type": ["string", "number"],
|
||||
"format": "ports"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue