Skip to content

Commit b5172cc

Browse files
authored
Merge pull request #4490 from github/openapi-update-f7d48b7939131bda08c0d11de60e517f7945fbb06a9d8f56f72adde4a3e15113
Update OpenAPI 3.1 Descriptions
2 parents 648346e + f8b8074 commit b5172cc

16 files changed

+96
-72
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306613,7 +306613,7 @@
306613306613
},
306614306614
"billing-usage-report-year": {
306615306615
"name": "year",
306616-
"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.",
306616+
"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.",
306617306617
"in": "query",
306618306618
"required": false,
306619306619
"schema": {
@@ -306622,7 +306622,7 @@
306622306622
},
306623306623
"billing-usage-report-month": {
306624306624
"name": "month",
306625-
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.",
306625+
"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.",
306626306626
"in": "query",
306627306627
"required": false,
306628306628
"schema": {
@@ -306631,7 +306631,7 @@
306631306631
},
306632306632
"billing-usage-report-day": {
306633306633
"name": "day",
306634-
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.",
306634+
"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.",
306635306635
"in": "query",
306636306636
"required": false,
306637306637
"schema": {
@@ -306640,7 +306640,7 @@
306640306640
},
306641306641
"billing-usage-report-hour": {
306642306642
"name": "hour",
306643-
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.",
306643+
"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.",
306644306644
"in": "query",
306645306645
"required": false,
306646306646
"schema": {

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229528,31 +229528,34 @@ components:
229528229528
name: year
229529229529
description: If specified, only return results for a single year. The value
229530229530
of `year` is an integer with four digits representing a year. For example,
229531-
`2024`. Default value is the current year.
229531+
`2025`. Default value is the current year.
229532229532
in: query
229533229533
required: false
229534229534
schema:
229535229535
type: integer
229536229536
billing-usage-report-month:
229537229537
name: month
229538229538
description: If specified, only return results for a single month. The value
229539-
of `month` is an integer between `1` and `12`.
229539+
of `month` is an integer between `1` and `12`. If no year is specified the
229540+
default `year` is used.
229540229541
in: query
229541229542
required: false
229542229543
schema:
229543229544
type: integer
229544229545
billing-usage-report-day:
229545229546
name: day
229546229547
description: If specified, only return results for a single day. The value of
229547-
`day` is an integer between `1` and `31`.
229548+
`day` is an integer between `1` and `31`. If no `year` or `month` is specified,
229549+
the default `year` and `month` are used.
229548229550
in: query
229549229551
required: false
229550229552
schema:
229551229553
type: integer
229552229554
billing-usage-report-hour:
229553229555
name: hour
229554229556
description: If specified, only return results for a single hour. The value
229555-
of `hour` is an integer between `0` and `23`.
229557+
of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day`
229558+
is specified, the default `year`, `month`, and `day` are used.
229556229559
in: query
229557229560
required: false
229558229561
schema:

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306613,7 +306613,7 @@
306613306613
},
306614306614
"billing-usage-report-year": {
306615306615
"name": "year",
306616-
"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.",
306616+
"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.",
306617306617
"in": "query",
306618306618
"required": false,
306619306619
"schema": {
@@ -306622,7 +306622,7 @@
306622306622
},
306623306623
"billing-usage-report-month": {
306624306624
"name": "month",
306625-
"description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`.",
306625+
"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.",
306626306626
"in": "query",
306627306627
"required": false,
306628306628
"schema": {
@@ -306631,7 +306631,7 @@
306631306631
},
306632306632
"billing-usage-report-day": {
306633306633
"name": "day",
306634-
"description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.",
306634+
"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.",
306635306635
"in": "query",
306636306636
"required": false,
306637306637
"schema": {
@@ -306640,7 +306640,7 @@
306640306640
},
306641306641
"billing-usage-report-hour": {
306642306642
"name": "hour",
306643-
"description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.",
306643+
"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.",
306644306644
"in": "query",
306645306645
"required": false,
306646306646
"schema": {

0 commit comments

Comments
 (0)