Skip to content

Commit

Permalink
Update OpenAPI Description
Browse files Browse the repository at this point in the history
  - Addresses invalid YAML multiline strings
  - Fixes an invalid default property on the
  actions/create-workflow-dispatch operation
  • Loading branch information
Marc-Andre Giroux committed Jul 27, 2020
1 parent 3577ba2 commit 42a6dfe
Show file tree
Hide file tree
Showing 20 changed files with 48 additions and 90 deletions.
7 changes: 3 additions & 4 deletions descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -25534,8 +25534,7 @@
},
"inputs": {
"type": "object",
"description": "Input keys and values configured in the workflow file. The maximum number of properties is 10.",
"default": "Any default properties configured in the workflow file will be used when `inputs` are omitted.",
"description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.",
"additionalProperties": {
"type": "string"
},
Expand Down Expand Up @@ -42120,7 +42119,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -77601,7 +77600,7 @@
},
"blob": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
14 changes: 5 additions & 9 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18225,9 +18225,9 @@ paths:
inputs:
type: object
description: Input keys and values configured in the workflow file.
The maximum number of properties is 10.
default: Any default properties configured in the workflow file
will be used when `inputs` are omitted.
The maximum number of properties is 10. Any default properties
configured in the workflow file will be used when `inputs` are
omitted.
additionalProperties:
type: string
maxProperties: 10
Expand Down Expand Up @@ -30134,9 +30134,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -58990,9 +58988,7 @@ components:
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
blob:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167119,8 +167119,7 @@
},
"inputs": {
"type": "object",
"description": "Input keys and values configured in the workflow file. The maximum number of properties is 10.",
"default": "Any default properties configured in the workflow file will be used when `inputs` are omitted.",
"description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.",
"additionalProperties": {
"type": "string"
},
Expand Down Expand Up @@ -288623,7 +288622,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -289307,7 +289306,7 @@
"examples": {
"default": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127859,9 +127859,9 @@ paths:
inputs:
type: object
description: Input keys and values configured in the workflow file.
The maximum number of properties is 10.
default: Any default properties configured in the workflow file
will be used when `inputs` are omitted.
The maximum number of properties is 10. Any default properties
configured in the workflow file will be used when `inputs` are
omitted.
additionalProperties:
type: string
maxProperties: 10
Expand Down Expand Up @@ -221745,9 +221745,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -222214,9 +222212,7 @@ paths:
examples:
default:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -238610,7 +238610,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -239167,7 +239167,7 @@
"examples": {
"default": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183692,9 +183692,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -184073,9 +184071,7 @@ paths:
examples:
default:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.18/ghes-2.18.json
Original file line number Diff line number Diff line change
Expand Up @@ -31763,7 +31763,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -65911,7 +65911,7 @@
},
"blob": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.18/ghes-2.18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22695,9 +22695,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -50115,9 +50113,7 @@ components:
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
blob:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -241028,7 +241028,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -241712,7 +241712,7 @@
"examples": {
"default": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185544,9 +185544,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -186013,9 +186011,7 @@ paths:
examples:
default:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.19/ghes-2.19.json
Original file line number Diff line number Diff line change
Expand Up @@ -32192,7 +32192,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -66529,7 +66529,7 @@
},
"blob": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.19/ghes-2.19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22982,9 +22982,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -50546,9 +50544,7 @@ components:
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
blob:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -243354,7 +243354,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -244038,7 +244038,7 @@
"examples": {
"default": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187409,9 +187409,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -187878,9 +187876,7 @@ paths:
examples:
default:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.20/ghes-2.20.json
Original file line number Diff line number Diff line change
Expand Up @@ -32541,7 +32541,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -66626,7 +66626,7 @@
},
"blob": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
8 changes: 2 additions & 6 deletions descriptions/ghes-2.20/ghes-2.20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23280,9 +23280,7 @@ paths:
- type
example:
tag: v0.0.1
message: 'initial version

'
message: initial version
object: c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c
type: commit
tagger:
Expand Down Expand Up @@ -50681,9 +50679,7 @@ components:
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
blob:
value:
content: 'Q29udGVudCBvZiB0aGUgYmxvYg==

'
content: Q29udGVudCBvZiB0aGUgYmxvYg==
encoding: base64
url: https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15
Expand Down
4 changes: 2 additions & 2 deletions descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -249780,7 +249780,7 @@
},
"example": {
"tag": "v0.0.1",
"message": "initial version\n",
"message": "initial version",
"object": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c",
"type": "commit",
"tagger": {
Expand Down Expand Up @@ -250464,7 +250464,7 @@
"examples": {
"default": {
"value": {
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==\n",
"content": "Q29udGVudCBvZiB0aGUgYmxvYg==",
"encoding": "base64",
"url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
"sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15",
Expand Down
Loading

0 comments on commit 42a6dfe

Please sign in to comment.