Skip to content

Commit 79381f3

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 76075d4 commit 79381f3

16 files changed

+208
-48
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13341,7 +13341,7 @@
1334113341
"description": "The name of the artifact.",
1334213342
"minLength": 1,
1334313343
"examples": [
13344-
"libfoo-1.2.3"
13344+
"libfoo"
1334513345
]
1334613346
},
1334713347
"digest": {
@@ -13354,6 +13354,16 @@
1335413354
"sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..."
1335513355
]
1335613356
},
13357+
"version": {
13358+
"type": "string",
13359+
"description": "The artifact version.",
13360+
"minLength": 1,
13361+
"maxLength": 100,
13362+
"x-multi-segment": true,
13363+
"examples": [
13364+
"1.2.3"
13365+
]
13366+
},
1335713367
"artifact_url": {
1335813368
"type": "string",
1335913369
"format": "uri",
@@ -13421,7 +13431,8 @@
1342113431
"examples": {
1342213432
"default": {
1342313433
"value": {
13424-
"name": "libfoo-1.2.3",
13434+
"name": "libfoo",
13435+
"version": "1.2.3",
1342513436
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1342613437
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1342713438
"registry_url": "https://reg.example.com/artifactory/",
@@ -13496,7 +13507,7 @@
1349613507
"total_count": 1,
1349713508
"storage_records": [
1349813509
{
13499-
"name": "libfoo-1.2.3",
13510+
"name": "libfoo",
1350013511
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1350113512
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1350213513
"registry_url": "https://reg.example.com/artifactory/",

descriptions-next/api.github.com/api.github.com.2022-11-28.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9615,7 +9615,7 @@ paths:
96159615
description: The name of the artifact.
96169616
minLength: 1
96179617
examples:
9618-
- libfoo-1.2.3
9618+
- libfoo
96199619
digest:
96209620
type: string
96219621
description: The digest of the artifact (algorithm:hex-encoded-digest).
@@ -9624,6 +9624,14 @@ paths:
96249624
pattern: "^sha256:[a-f0-9]{64}$"
96259625
examples:
96269626
- sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0...
9627+
version:
9628+
type: string
9629+
description: The artifact version.
9630+
minLength: 1
9631+
maxLength: 100
9632+
x-multi-segment: true
9633+
examples:
9634+
- 1.2.3
96279635
artifact_url:
96289636
type: string
96299637
format: uri
@@ -9681,7 +9689,8 @@ paths:
96819689
examples:
96829690
default:
96839691
value:
9684-
name: libfoo-1.2.3
9692+
name: libfoo
9693+
version: 1.2.3
96859694
digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72
96869695
artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3
96879696
registry_url: https://reg.example.com/artifactory/
@@ -9731,7 +9740,7 @@ paths:
97319740
value:
97329741
total_count: 1
97339742
storage_records:
9734-
- name: libfoo-1.2.3
9743+
- name: libfoo
97359744
digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72
97369745
artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3
97379746
registry_url: https://reg.example.com/artifactory/

descriptions-next/api.github.com/api.github.com.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13341,7 +13341,7 @@
1334113341
"description": "The name of the artifact.",
1334213342
"minLength": 1,
1334313343
"examples": [
13344-
"libfoo-1.2.3"
13344+
"libfoo"
1334513345
]
1334613346
},
1334713347
"digest": {
@@ -13354,6 +13354,16 @@
1335413354
"sha256:0ecbaa601dba202129058746c7d8e3f282d0efb5fff0..."
1335513355
]
1335613356
},
13357+
"version": {
13358+
"type": "string",
13359+
"description": "The artifact version.",
13360+
"minLength": 1,
13361+
"maxLength": 100,
13362+
"x-multi-segment": true,
13363+
"examples": [
13364+
"1.2.3"
13365+
]
13366+
},
1335713367
"artifact_url": {
1335813368
"type": "string",
1335913369
"format": "uri",
@@ -13421,7 +13431,8 @@
1342113431
"examples": {
1342213432
"default": {
1342313433
"value": {
13424-
"name": "libfoo-1.2.3",
13434+
"name": "libfoo",
13435+
"version": "1.2.3",
1342513436
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1342613437
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1342713438
"registry_url": "https://reg.example.com/artifactory/",
@@ -13496,7 +13507,7 @@
1349613507
"total_count": 1,
1349713508
"storage_records": [
1349813509
{
13499-
"name": "libfoo-1.2.3",
13510+
"name": "libfoo",
1350013511
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1350113512
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1350213513
"registry_url": "https://reg.example.com/artifactory/",

0 commit comments

Comments
 (0)