E599 Merge pull request #50910 from thaJeztah/api_docs_image_config · moby/moby@7777b86 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7777b86

Browse files
authored
Merge pull request #50910 from thaJeztah/api_docs_image_config
api/docs: remove temporary "full" example for image config
2 parents ec26e71 + 0fe1af9 commit 7777b86

File tree

4 files changed

+0
-124
lines changed

4 files changed

+0
-124
lines changed

api/docs/v1.50.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,37 +1531,6 @@ definitions:
15311531
items:
15321532
type: "string"
15331533
example: ["/bin/sh", "-c"]
1534-
# FIXME(thaJeztah): temporarily using a full example to remove some "omitempty" fields. Remove once the fields are removed.
1535-
example:
1536-
"User": "web:web"
1537-
"ExposedPorts": {
1538-
"80/tcp": {},
1539-
"443/tcp": {}
1540-
}
1541-
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
1542-
"Cmd": ["/bin/sh"]
1543-
"Healthcheck": {
1544-
"Test": ["string"],
1545-
"Interval": 0,
1546-
"Timeout": 0,
1547-
"Retries": 0,
1548-
"StartPeriod": 0,
1549-
"StartInterval": 0
1550-
}
1551-
"ArgsEscaped": true
1552-
"Volumes": {
1553-
"/app/data": {},
1554-
"/app/config": {}
1555-
}
1556-
"WorkingDir": "/public/"
1557-
"Entrypoint": []
1558-
"OnBuild": []
1559-
"Labels": {
1560-
"com.example.some-label": "some-value",
1561-
"com.example.some-other-label": "some-other-value"
1562-
}
1563-
"StopSignal": "SIGTERM"
1564-
"Shell": ["/bin/sh", "-c"]
15651534

15661535
NetworkingConfig:
15671536
description: |

api/docs/v1.51.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,37 +1531,6 @@ definitions:
15311531
items:
15321532
type: "string"
15331533
example: ["/bin/sh", "-c"]
1534-
# FIXME(thaJeztah): temporarily using a full example to remove some "omitempty" fields. Remove once the fields are removed.
1535-
example:
1536-
"User": "web:web"
1537-
"ExposedPorts": {
1538-
"80/tcp": {},
1539-
"443/tcp": {}
1540-
}
1541-
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
1542-
"Cmd": ["/bin/sh"]
1543-
"Healthcheck": {
1544-
"Test": ["string"],
1545-
"Interval": 0,
1546-
"Timeout": 0,
1547-
"Retries": 0,
1548-
"StartPeriod": 0,
1549-
"StartInterval": 0
1550-
}
1551-
"ArgsEscaped": true
1552-
"Volumes": {
1553-
"/app/data": {},
1554-
"/app/config": {}
1555-
}
1556-
"WorkingDir": "/public/"
1557-
"Entrypoint": []
1558-
"OnBuild": []
1559-
"Labels": {
1560-
"com.example.some-label": "some-value",
1561-
"com.example.some-other-label": "some-other-value"
1562-
}
1563-
"StopSignal": "SIGTERM"
1564-
"Shell": ["/bin/sh", "-c"]
15651534

15661535
NetworkingConfig:
15671536
description: |

api/docs/v1.52.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,37 +1543,6 @@ definitions:
15431543
items:
15441544
type: "string"
15451545
example: ["/bin/sh", "-c"]
1546-
# FIXME(thaJeztah): temporarily using a full example to remove some "omitempty" fields. Remove once the fields are removed.
1547-
example:
1548-
"User": "web:web"
1549-
"ExposedPorts": {
1550-
"80/tcp": {},
1551-
"443/tcp": {}
1552-
}
1553-
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
1554-
"Cmd": ["/bin/sh"]
1555-
"Healthcheck": {
1556-
"Test": ["string"],
1557-
"Interval": 0,
1558-
"Timeout": 0,
1559-
"Retries": 0,
1560-
"StartPeriod": 0,
1561-
"StartInterval": 0
1562-
}
1563-
"ArgsEscaped": true
1564-
"Volumes": {
1565-
"/app/data": {},
1566-
"/app/config": {}
1567-
}
1568-
"WorkingDir": "/public/"
1569-
"Entrypoint": []
1570-
"OnBuild": []
1571-
"Labels": {
1572-
"com.example.some-label": "some-value",
1573-
"com.example.some-other-label": "some-other-value"
1574-
}
1575-
"StopSignal": "SIGTERM"
1576-
"Shell": ["/bin/sh", "-c"]
15771546

15781547
NetworkingConfig:
15791548
description: |

api/swagger.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,37 +1543,6 @@ definitions:
15431543
items:
15441544
type: "string"
15451545
example: ["/bin/sh", "-c"]
1546-
# FIXME(thaJeztah): temporarily using a full example to remove some "omitempty" fields. Remove once the fields are removed.
1547-
example:
1548-
"User": "web:web"
1549-
"ExposedPorts": {
1550-
"80/tcp": {},
1551-
"443/tcp": {}
1552-
}
1553-
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
1554-
"Cmd": ["/bin/sh"]
1555-
"Healthcheck": {
1556-
"Test": ["string"],
1557-
"Interval": 0,
1558-
"Timeout": 0,
1559-
"Retries": 0,
1560-
"StartPeriod": 0,
1561-
"StartInterval": 0
1562-
}
1563-
"ArgsEscaped": true
1564-
"Volumes": {
1565-
"/app/data": {},
1566-
"/app/config": {}
1567-
}
1568-
"WorkingDir": "/public/"
1569-
"Entrypoint": []
1570-
"OnBuild": []
1571-
"Labels": {
1572-
"com.example.some-label": "some-value",
1573-
"com.example.some-other-label": "some-other-value"
1574-
}
1575-
"StopSignal": "SIGTERM"
1576-
"Shell": ["/bin/sh", "-c"]
15771546

15781547
NetworkingConfig:
15791548
description: |

0 commit comments

Comments
 (0)
0