Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -4656,6 +4656,12 @@
"id": {
"type": "string"
},
"name": {
"type": "string",
"nullable": true,
"maxLength": 100,
"description": "Optional custom display name for this repo sync. When null or blank, the sync is displayed using the associated project name.\n"
},
"project": {
"$ref": "#/components/schemas/project_short"
},
Expand All @@ -4682,11 +4688,13 @@
},
"last_import_at": {
"type": "string",
"format": "date-time"
"format": "date-time",
"nullable": true
},
"last_export_at": {
"type": "string",
"format": "date-time"
"format": "date-time",
"nullable": true
}
},
"example": {
Expand Down Expand Up @@ -24862,6 +24870,12 @@
"type": "string",
"example": "abcd1234abcd1234abcd1234abcd1234"
},
"name": {
"description": "Optional custom display name for this repo sync. Defaults to null; when null the project name is used as the display name.\n",
"type": "string",
"nullable": true,
"maxLength": 100
},
"git_provider": {
"description": "The Git provider to use.",
"default": "github",
Expand Down
7 changes: 7 additions & 0 deletions paths/repo_syncs/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ requestBody:
description: ID of the project to connect the Repo Sync to.
type: string
example: abcd1234abcd1234abcd1234abcd1234
name:
description: >
Optional custom display name for this repo sync. Defaults to
null; when null the project name is used as the display name.
type: string
nullable: true
maxLength: 100
git_provider:
description: The Git provider to use.
default: github
Expand Down
9 changes: 9 additions & 0 deletions schemas/repo_sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ repo_sync:
properties:
id:
type: string
name:
type: string
nullable: true
maxLength: 100
description: >
Optional custom display name for this repo sync. When null or blank,
the sync is displayed using the associated project name.
project:
"$ref": "./project_short.yaml#/project_short"
provider:
Expand All @@ -26,9 +33,11 @@ repo_sync:
last_import_at:
type: string
format: date-time
nullable: true
last_export_at:
type: string
format: date-time
nullable: true
example:
id: abcd1234cdef1234abcd1234cdef1234
project:
Expand Down
Loading