Skip to content

Commit 3249e4b

Browse files
Update OpenAPI 3.0 Descriptions
1 parent 76075d4 commit 3249e4b

16 files changed

+184
-48
lines changed

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13275,7 +13275,7 @@
1327513275
"name": {
1327613276
"type": "string",
1327713277
"description": "The name of the artifact.",
13278-
"example": "libfoo-1.2.3",
13278+
"example": "libfoo",
1327913279
"minLength": 1
1328013280
},
1328113281
"digest": {
@@ -13286,6 +13286,14 @@
1328613286
"maxLength": 71,
1328713287
"pattern": "^sha256:[a-f0-9]{64}$"
1328813288
},
13289+
"version": {
13290+
"type": "string",
13291+
"description": "The artifact version.",
13292+
"minLength": 1,
13293+
"maxLength": 100,
13294+
"x-multi-segment": true,
13295+
"example": "1.2.3"
13296+
},
1328913297
"artifact_url": {
1329013298
"type": "string",
1329113299
"format": "uri",
@@ -13341,7 +13349,8 @@
1334113349
"examples": {
1334213350
"default": {
1334313351
"value": {
13344-
"name": "libfoo-1.2.3",
13352+
"name": "libfoo",
13353+
"version": "1.2.3",
1334513354
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1334613355
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1334713356
"registry_url": "https://reg.example.com/artifactory/",
@@ -13410,7 +13419,7 @@
1341013419
"total_count": 1,
1341113420
"storage_records": [
1341213421
{
13413-
"name": "libfoo-1.2.3",
13422+
"name": "libfoo",
1341413423
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1341513424
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1341613425
"registry_url": "https://reg.example.com/artifactory/",

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9583,7 +9583,7 @@ paths:
95839583
name:
95849584
type: string
95859585
description: The name of the artifact.
9586-
example: libfoo-1.2.3
9586+
example: libfoo
95879587
minLength: 1
95889588
digest:
95899589
type: string
@@ -9592,6 +9592,13 @@ paths:
95929592
minLength: 71
95939593
maxLength: 71
95949594
pattern: "^sha256:[a-f0-9]{64}$"
9595+
version:
9596+
type: string
9597+
description: The artifact version.
9598+
minLength: 1
9599+
maxLength: 100
9600+
x-multi-segment: true
9601+
example: 1.2.3
95959602
artifact_url:
95969603
type: string
95979604
format: uri
@@ -9643,7 +9650,8 @@ paths:
96439650
examples:
96449651
default:
96459652
value:
9646-
name: libfoo-1.2.3
9653+
name: libfoo
9654+
version: 1.2.3
96479655
digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72
96489656
artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3
96499657
registry_url: https://reg.example.com/artifactory/
@@ -9690,7 +9698,7 @@ paths:
96909698
value:
96919699
total_count: 1
96929700
storage_records:
9693-
- name: libfoo-1.2.3
9701+
- name: libfoo
96949702
digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72
96959703
artifact_url: https://reg.example.com/artifactory/bar/libfoo-1.2.3
96969704
registry_url: https://reg.example.com/artifactory/

descriptions/api.github.com/api.github.com.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13275,7 +13275,7 @@
1327513275
"name": {
1327613276
"type": "string",
1327713277
"description": "The name of the artifact.",
13278-
"example": "libfoo-1.2.3",
13278+
"example": "libfoo",
1327913279
"minLength": 1
1328013280
},
1328113281
"digest": {
@@ -13286,6 +13286,14 @@
1328613286
"maxLength": 71,
1328713287
"pattern": "^sha256:[a-f0-9]{64}$"
1328813288
},
13289+
"version": {
13290+
"type": "string",
13291+
"description": "The artifact version.",
13292+
"minLength": 1,
13293+
"maxLength": 100,
13294+
"x-multi-segment": true,
13295+
"example": "1.2.3"
13296+
},
1328913297
"artifact_url": {
1329013298
"type": "string",
1329113299
"format": "uri",
@@ -13341,7 +13349,8 @@
1334113349
"examples": {
1334213350
"default": {
1334313351
"value": {
13344-
"name": "libfoo-1.2.3",
13352+
"name": "libfoo",
13353+
"version": "1.2.3",
1334513354
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1334613355
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1334713356
"registry_url": "https://reg.example.com/artifactory/",
@@ -13410,7 +13419,7 @@
1341013419
"total_count": 1,
1341113420
"storage_records": [
1341213421
{
13413-
"name": "libfoo-1.2.3",
13422+
"name": "libfoo",
1341413423
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
1341513424
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
1341613425
"registry_url": "https://reg.example.com/artifactory/",

0 commit comments

Comments
 (0)