Skip to content

Commit

Permalink
Merge pull request #959 from ergebnis/feature/schema
Browse files Browse the repository at this point in the history
Enhancement: Update `schema.json`
  • Loading branch information
localheinz committed Aug 17, 2022
2 parents aa2b543 + e270bfe commit 67a7362
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`2.28.3...main`][2.28.3...main].

### Changed

- Updated `schema.json` ([#959]), by [@ergebnis-bot]

## [`2.28.3`][2.28.3]

For a full diff see [`2.28.2...2.28.3`][2.28.2...2.28.3].
Expand Down
24 changes: 22 additions & 2 deletions resource/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,29 @@
},
"gitlab-oauth": {
"type": "object",
"description": "An object of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":\"<token>\"}.",
"description": "An object of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":{\"expires-at\":\"<expiration date>\", \"refresh-token\":\"<refresh token>\", \"token\":\"<token>\"}}.",
"additionalProperties": {
"type": "string"
"type": [
"string",
"object"
],
"required": [
"token"
],
"properties": {
"expires-at": {
"type": "integer",
"description": "The expiration date for this GitLab token"
},
"refresh-token": {
"type": "string",
"description": "The refresh token used for GitLab authentication"
},
"token": {
"type": "string",
"description": "The token used for GitLab authentication"
}
}
}
},
"gitlab-token": {
Expand Down

0 comments on commit 67a7362

Please sign in to comment.