Skip to content

Commit 648346e

Browse files
authored
Merge pull request #4489 from github/openapi-update-d891a525906cce7e907a9ac4183ae269f452fc313917507b555578f49b7ea2e5
Update OpenAPI 3.0 Descriptions
2 parents e444488 + 352a99e commit 648346e

16 files changed

+96
-72
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297635,7 +297635,7 @@
297635297635
},
297636297636
"billing-usage-report-year": {
297637297637
"name": "year",
297638-
"description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year.",
297638+
"description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.",
297639297639
"in": "query",
297640297640
"required": false,
297641297641
"schema": {
@@ -297644,7 +297644,7 @@
297644297644
},
297645297645
"billing-usage-report-month": {
297646297646
"name": "month",
297647-
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.",
297647+
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.",
297648297648
"in": "query",
297649297649
"required": false,
297650297650
"schema": {
@@ -297653,7 +297653,7 @@
297653297653
},
297654297654
"billing-usage-report-day": {
297655297655
"name": "day",
297656-
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.",
297656+
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.",
297657297657
"in": "query",
297658297658
"required": false,
297659297659
"schema": {
@@ -297662,7 +297662,7 @@
297662297662
},
297663297663
"billing-usage-report-hour": {
297664297664
"name": "hour",
297665-
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.",
297665+
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.",
297666297666
"in": "query",
297667297667
"required": false,
297668297668
"schema": {

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226078,31 +226078,34 @@ components:
226078226078
name: year
226079226079
description: If specified, only return results for a single year. The value
226080226080
of `year` is an integer with four digits representing a year. For example,
226081-
`2024`. Default value is the current year.
226081+
`2025`. Default value is the current year.
226082226082
in: query
226083226083
required: false
226084226084
schema:
226085226085
type: integer
226086226086
billing-usage-report-month:
226087226087
name: month
226088226088
description: If specified, only return results for a single month. The value
226089-
of `month` is an integer between `1` and `12`.
226089+
of `month` is an integer between `1` and `12`. If no year is specified the
226090+
default `year` is used.
226090226091
in: query
226091226092
required: false
226092226093
schema:
226093226094
type: integer
226094226095
billing-usage-report-day:
226095226096
name: day
226096226097
description: If specified, only return results for a single day. The value of
226097-
`day` is an integer between `1` and `31`.
226098+
`day` is an integer between `1` and `31`. If no `year` or `month` is specified,
226099+
the default `year` and `month` are used.
226098226100
in: query
226099226101
required: false
226100226102
schema:
226101226103
type: integer
226102226104
billing-usage-report-hour:
226103226105
name: hour
226104226106
description: If specified, only return results for a single hour. The value
226105-
of `hour` is an integer between `0` and `23`.
226107+
of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day`
226108+
is specified, the default `year`, `month`, and `day` are used.
226106226109
in: query
226107226110
required: false
226108226111
schema:

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297635,7 +297635,7 @@
297635297635
},
297636297636
"billing-usage-report-year": {
297637297637
"name": "year",
297638-
"description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year.",
297638+
"description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.",
297639297639
"in": "query",
297640297640
"required": false,
297641297641
"schema": {
@@ -297644,7 +297644,7 @@
297644297644
},
297645297645
"billing-usage-report-month": {
297646297646
"name": "month",
297647-
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.",
297647+
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.",
297648297648
"in": "query",
297649297649
"required": false,
297650297650
"schema": {
@@ -297653,7 +297653,7 @@
297653297653
},
297654297654
"billing-usage-report-day": {
297655297655
"name": "day",
297656-
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.",
297656+
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.",
297657297657
"in": "query",
297658297658
"required": false,
297659297659
"schema": {
@@ -297662,7 +297662,7 @@
297662297662
},
297663297663
"billing-usage-report-hour": {
297664297664
"name": "hour",
297665-
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.",
297665+
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.",
297666297666
"in": "query",
297667297667
"required": false,
297668297668
"schema": {

0 commit comments

Comments
 (0)