Compare commits

...

4 Commits

Author SHA1 Message Date
bircni
57ae5021c2 cleanup 2026-06-29 21:25:13 +02:00
Giteabot
ad13c329fd chore(deps): update module github.com/go-swagger/go-swagger to v0.35.0 2026-06-29 18:08:16 +00:00
Giteabot
6f2e328c85 chore(deps): update dependency js-yaml to v5 (#38262)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [js-yaml](https://redirect.github.com/nodeca/js-yaml) | [`4.2.0` →
`5.1.0`](https://renovatebot.com/diffs/npm/js-yaml/4.2.0/5.1.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/js-yaml/5.1.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/js-yaml/4.2.0/5.1.0?slim=true)
|

---

### Release Notes

<details>
<summary>nodeca/js-yaml (js-yaml)</summary>

###
[`v5.1.0`](https://redirect.github.com/nodeca/js-yaml/blob/HEAD/CHANGELOG.md#510---2026-06-23)

[Compare
Source](https://redirect.github.com/nodeca/js-yaml/compare/5.0.0...5.1.0)

##### Added

- Collection tags can finalize an incrementally populated carrier into a
  different result value.

##### Changed

- \[breaking] `quoteStyle` now selects the preferred quote style; use
the
  restored `forceQuotes` option to force quoting non-key strings.

###
[`v5.0.0`](https://redirect.github.com/nodeca/js-yaml/blob/HEAD/CHANGELOG.md#500---2026-06-20)

[Compare
Source](https://redirect.github.com/nodeca/js-yaml/compare/4.3.0...5.0.0)

##### Added

- Added named exports for schemas, tags, parser events and AST
utilities.
- Reworked `JSON_SCHEMA` and `CORE_SCHEMA` with spec-compliant scalar
resolution
  rules, and added `YAML11_SCHEMA`.
- Added `realMapTag` for lossless mappings with non-string and complex
keys.
Object-based mappings now reject complex keys instead of stringifying
them.
- Added `dump()` `transform` option for changing the generated AST
before
  rendering.
- Added `dump()` options `seqInlineFirst`, `flowBracketPadding`,
`flowSkipCommaSpace`, `flowSkipColonSpace`, `quoteFlowKeys`,
`quoteStyle` and
  `tagBeforeAnchor`.
- Added formal data layers (events and AST) for modular data pipelines.
  - Added low-level parser (to events), presenter and visitor APIs.
- Added the [YAML Test
Suite](https://redirect.github.com/yaml/yaml-test-suite) to the
  test set.

##### Changed

- See the [migration guide](docs/migrate_v4_to_v5.md) for upgrade notes.
- Rewritten in TypeScript and reorganized the public API around flat
named
  exports.
- Reduced the set of exported schemas:
  - YAML 1.2 schemas: `CORE_SCHEMA` (loader default), `JSON_SCHEMA`,
    `FAILSAFE_SCHEMA`.
- `YAML11_SCHEMA`, a combination of all YAML 1.1 tags (YAML 1.1 does not
    specify a schema, only "types").
- `load`/`dump` default behaviour is now specified exactly via schemas:
  - `load` uses `CORE_SCHEMA`, without `!!merge` by default.
- `dump` uses `YAML11_SCHEMA` + `CORE_SCHEMA` for the quoting check, to
    guarantee backward compatibility by default.
- `!!set` is now loaded as a JavaScript `Set`.
- Replaced the `Type` API with a tags API. Similar, but more precise and
  simpler. See examples for details. Tags can be defined via
`defineScalarTag()`, `defineSequenceTag()` and `defineMappingTag()`, or
as a
  spread + override of an existing tag.
- Renamed `Schema.extend()` to `Schema.withTags()`.
- Expanded YAML 1.2 conformance and improved handling of directives,
document
  markers, block keys, multiline scalars, tag syntax and other things.
- `load()` now throws on empty input instead of returning `undefined`.
- Moved browser builds to the `js-yaml/browser` export.
- Deprecated the `loadAll` signature with an iterator (still works, but
is a
  candidate for removal).

##### Removed

- Removed deprecated `safeLoad()`, `safeLoadAll()` and `safeDump()`
exports.
- Removed `DEFAULT_SCHEMA` and the nested `types` export.
- Removed loader options `onWarning`, `legacy` and `listener`.
- Removed dumper options `styles`, `replacer`, `noCompatMode`,
`condenseFlow`,
`quotingType` and `forceQuotes`. Renamed `noArrayIndent` to
`seqNoIndent`.
Formatting and representation are now configured through presenter
options,
  schemas and tag definitions. See migration guide on how to replace.
- Removed support for importing internal files from `lib/`.

###
[`v4.3.0`](https://redirect.github.com/nodeca/js-yaml/blob/HEAD/CHANGELOG.md#430-3150---2026-06-27)

[Compare
Source](https://redirect.github.com/nodeca/js-yaml/compare/4.2.0...4.3.0)

##### Security

- Backported `maxTotalMergeKeys` option.

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Only on Monday (`* * * * 1`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuNSIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

---------

Co-authored-by: silverwind <me@silverwind.io>
2026-06-29 17:22:21 +00:00
Giteabot
55983320ed chore(deps): update actions/cache action to v6 (#38261)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/cache](https://redirect.github.com/actions/cache) | action |
major | `v5.0.5` → `v6.1.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/37531) for more information.

---

### Release Notes

<details>
<summary>actions/cache (actions/cache)</summary>

###
[`v6.1.0`](https://redirect.github.com/actions/cache/releases/tag/v6.1.0)

[Compare
Source](https://redirect.github.com/actions/cache/compare/v6.0.0...v6.1.0)

##### What's Changed

- Bump
[@&#8203;actions/cache](https://redirect.github.com/actions/cache) to
v6.1.0 - handle read-only cache access by
[@&#8203;jasongin](https://redirect.github.com/jasongin) in
[#&#8203;1768](https://redirect.github.com/actions/cache/pull/1768)

**Full Changelog**:
<https://github.com/actions/cache/compare/v6...v6.1.0>

###
[`v6`](https://redirect.github.com/actions/cache/compare/v6.0.0...v6.0.0)

[Compare
Source](https://redirect.github.com/actions/cache/compare/v6.0.0...v6.0.0)

###
[`v6.0.0`](https://redirect.github.com/actions/cache/releases/tag/v6.0.0)

[Compare
Source](https://redirect.github.com/actions/cache/compare/v5.1.0...v6.0.0)

##### What's Changed

- Update packages, migrate to ESM by
[@&#8203;Samirat](https://redirect.github.com/Samirat) in
[#&#8203;1760](https://redirect.github.com/actions/cache/pull/1760)

**Full Changelog**:
<https://github.com/actions/cache/compare/v5...v6.0.0>

###
[`v5.1.0`](https://redirect.github.com/actions/cache/releases/tag/v5.1.0)

[Compare
Source](https://redirect.github.com/actions/cache/compare/v5.0.5...v5.1.0)

##### What's Changed

- Bump
[@&#8203;actions/cache](https://redirect.github.com/actions/cache) to
v5.1.0 - handle read-only cache access by
[@&#8203;jasongin](https://redirect.github.com/jasongin) in
[#&#8203;1775](https://redirect.github.com/actions/cache/pull/1775)

**Full Changelog**:
<https://github.com/actions/cache/compare/v5...v5.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Only on Monday (`* * * * 1`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuNSIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2026-06-29 17:00:15 +00:00
9 changed files with 272 additions and 62 deletions

View File

@@ -16,34 +16,34 @@ runs:
using: composite
steps:
- if: ${{ github.workflow == 'cache-seeder' }}
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/go/pkg/mod
key: gomod-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
- if: ${{ github.workflow != 'cache-seeder' }}
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/go/pkg/mod
key: gomod-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
restore-keys: gomod-${{ runner.os }}-${{ runner.arch }}
- if: ${{ github.workflow == 'cache-seeder' && inputs.lint-cache != 'true' }}
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/go-build
key: gobuild-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
- if: ${{ github.workflow != 'cache-seeder' || inputs.lint-cache == 'true' }}
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/go-build
key: gobuild-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
restore-keys: gobuild-${{ runner.os }}-${{ runner.arch }}
- if: ${{ inputs.lint-cache == 'true' && github.workflow == 'cache-seeder' }}
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/golangci-lint
key: golint-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum', '.golangci.yml') }}
- if: ${{ inputs.lint-cache == 'true' && github.workflow != 'cache-seeder' }}
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/golangci-lint
key: golint-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum', '.golangci.yml') }}

View File

@@ -16,7 +16,7 @@ EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-che
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 # renovate: datasource=go
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.15 # renovate: datasource=go
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.8.0 # renovate: datasource=go
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.34.1 # renovate: datasource=go
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.35.0 # renovate: datasource=go
XGO_PACKAGE ?= src.techknowlogick.com/xgo@v1.9.0 # renovate: datasource=go
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1.4.0 # renovate: datasource=go
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 # renovate: datasource=go
@@ -231,7 +231,7 @@ endif
generate-swagger: $(SWAGGER_SPEC) $(OPENAPI3_SPEC) ## generate the swagger spec from code comments
$(SWAGGER_SPEC): $(GO_SOURCES) $(SWAGGER_SPEC_INPUT)
$(GO) run $(SWAGGER_PACKAGE) generate spec --exclude "$(SWAGGER_EXCLUDE)" --input "$(SWAGGER_SPEC_INPUT)" --output './$(SWAGGER_SPEC)'
$(GO) run $(SWAGGER_PACKAGE) generate spec --allow-desc-with-ref --exclude "$(SWAGGER_EXCLUDE)" --input "$(SWAGGER_SPEC_INPUT)" --output './$(SWAGGER_SPEC)'
.PHONY: swagger-check
swagger-check: generate-swagger

View File

@@ -18,7 +18,6 @@ type CreateUserOption struct {
Username string `json:"username" binding:"Required;Username;MaxSize(40)"`
// The full display name of the user
FullName string `json:"full_name" binding:"MaxSize(100)"`
// required: true
// swagger:strfmt email
Email string `json:"email" binding:"Required;Email;MaxSize(254)"`
// The plain text password for the user

View File

@@ -132,7 +132,6 @@ type IssueAssigneesOption struct {
// EditDeadlineOption options for creating a deadline
type EditDeadlineOption struct {
// required:true
// swagger:strfmt date-time
Deadline *time.Time `json:"due_date"`
}

View File

@@ -57,7 +57,7 @@ type CreateTeamOption struct {
// example: ["repo.actions","repo.code","repo.issues","repo.ext_issues","repo.wiki","repo.ext_wiki","repo.pulls","repo.releases","repo.projects","repo.ext_wiki"]
// Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.
Units []string `json:"units"`
// example: {"repo.actions","repo.packages","repo.code":"read","repo.issues":"write","repo.ext_issues":"none","repo.wiki":"admin","repo.pulls":"owner","repo.releases":"none","repo.projects":"none","repo.ext_wiki":"none"}
// example: {"repo.code":"read","repo.issues":"write","repo.ext_issues":"none","repo.wiki":"admin","repo.pulls":"owner","repo.releases":"none","repo.projects":"none","repo.ext_wiki":"none"}
UnitsMap map[string]string `json:"units_map"`
// Whether the team can create repositories in the organization
CanCreateOrgRepo bool `json:"can_create_org_repo"`

View File

@@ -50,7 +50,7 @@
"esbuild": "0.28.1",
"idiomorph": "0.7.4",
"jquery": "4.0.0",
"js-yaml": "4.2.0",
"js-yaml": "5.1.0",
"katex": "0.17.0",
"mermaid": "11.15.0",
"online-3d-viewer": "0.18.0",
@@ -81,7 +81,6 @@
"@stylistic/stylelint-plugin": "5.2.0",
"@types/codemirror": "5.60.17",
"@types/jquery": "4.0.1",
"@types/js-yaml": "4.0.9",
"@types/katex": "0.16.8",
"@types/node": "25.9.4",
"@types/pdfobject": "2.2.5",

20
pnpm-lock.yaml generated
View File

@@ -141,8 +141,8 @@ importers:
specifier: 4.0.0
version: 4.0.0
js-yaml:
specifier: 4.2.0
version: 4.2.0
specifier: 5.1.0
version: 5.1.0
katex:
specifier: 0.17.0
version: 0.17.0
@@ -228,9 +228,6 @@ importers:
'@types/jquery':
specifier: 4.0.1
version: 4.0.1
'@types/js-yaml':
specifier: 4.0.9
version: 4.0.9
'@types/katex':
specifier: 0.16.8
version: 0.16.8
@@ -1313,9 +1310,6 @@ packages:
'@types/jquery@4.0.1':
resolution: {integrity: sha512-9a59A/tycXgYuPABcp6/3spSShn0NT2UOM4EfHvMumjYi4lJWTsK5SZWjhx3yRm9IHGCeWXdV2YfNsrWrft/CA==}
'@types/js-yaml@4.0.9':
resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==}
'@types/jsdom@20.0.1':
resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}
@@ -3068,6 +3062,10 @@ packages:
resolution: {integrity: sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==}
hasBin: true
js-yaml@5.1.0:
resolution: {integrity: sha512-s8VA5jkR8f22S3NAXmhKPFqGUduqZGlsufabVOgN14iTdw/RXcym7bKkbwjxLK9Yw2lEvvmJjFp119+KPeo8Kg==}
hasBin: true
jsdoc-type-pratt-parser@7.2.0:
resolution: {integrity: sha512-dh140MMgjyg3JhJZY/+iEzW+NO5xR2gpbDFKHqotCmexElVntw7GjWjt511+C/Ef02RU5TKYrJo/Xlzk+OLaTw==}
engines: {node: '>=20.0.0'}
@@ -5541,8 +5539,6 @@ snapshots:
'@types/jquery@4.0.1': {}
'@types/js-yaml@4.0.9': {}
'@types/jsdom@20.0.1':
dependencies:
'@types/node': 25.9.4
@@ -7538,6 +7534,10 @@ snapshots:
dependencies:
argparse: 2.0.1
js-yaml@5.1.0:
dependencies:
argparse: 2.0.1
jsdoc-type-pratt-parser@7.2.0: {}
jsdom@20.0.3:

View File

@@ -22661,6 +22661,7 @@
"type": "object",
"properties": {
"act_user": {
"description": "The user who performed the action",
"$ref": "#/definitions/User"
},
"act_user_id": {
@@ -22670,6 +22671,7 @@
"x-go-name": "ActUserID"
},
"comment": {
"description": "The comment associated with the activity (if applicable)",
"$ref": "#/definitions/Comment"
},
"comment_id": {
@@ -22740,6 +22742,7 @@
"x-go-name": "RefName"
},
"repo": {
"description": "The repository associated with the activity",
"$ref": "#/definitions/Repository"
},
"repo_id": {
@@ -22811,6 +22814,7 @@
"x-go-name": "Message"
},
"object": {
"description": "The object that the annotated tag points to",
"$ref": "#/definitions/AnnotatedTagObject"
},
"sha": {
@@ -22824,6 +22828,7 @@
"x-go-name": "Tag"
},
"tagger": {
"description": "The user who created the annotated tag",
"$ref": "#/definitions/CommitUser"
},
"url": {
@@ -22832,6 +22837,7 @@
"x-go-name": "URL"
},
"verification": {
"description": "The verification information for the annotated tag",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -22867,6 +22873,7 @@
],
"properties": {
"author": {
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
"$ref": "#/definitions/Identity"
},
"branch": {
@@ -22917,6 +22924,7 @@
"x-go-name": "DownloadURL"
},
"created_at": {
"description": "Created is the time when the attachment was uploaded",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -22981,6 +22989,7 @@
"type": "object",
"properties": {
"commit": {
"description": "Commit contains the latest commit information for this branch",
"$ref": "#/definitions/PayloadCommit"
},
"effective_branch_protection_name": {
@@ -23065,8 +23074,8 @@
"x-go-name": "BlockOnRejectedReviews"
},
"branch_name": {
"description": "Deprecated: true",
"type": "string",
"x-deprecated": true,
"x-go-name": "BranchName"
},
"bypass_allowlist_teams": {
@@ -23272,6 +23281,7 @@
],
"properties": {
"author": {
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
"$ref": "#/definitions/Identity"
},
"branch": {
@@ -23381,6 +23391,7 @@
"x-go-name": "CommitURL"
},
"repository": {
"description": "Repository is the repository this status belongs to",
"$ref": "#/definitions/Repository"
},
"sha": {
@@ -23484,6 +23495,7 @@
"x-go-name": "Updated"
},
"user": {
"description": "Poster is the user who posted the comment",
"$ref": "#/definitions/User"
}
},
@@ -23494,15 +23506,19 @@
"title": "Commit contains information generated from a Git commit.",
"properties": {
"author": {
"description": "Author is the GitHub/Gitea user who authored the commit",
"$ref": "#/definitions/User"
},
"commit": {
"description": "RepoCommit contains the commit information",
"$ref": "#/definitions/RepoCommit"
},
"committer": {
"description": "Committer is the GitHub/Gitea user who committed the commit",
"$ref": "#/definitions/User"
},
"created": {
"description": "Created is the time when the commit was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -23534,6 +23550,7 @@
"x-go-name": "SHA"
},
"stats": {
"description": "Stats contains statistics about the commit changes",
"$ref": "#/definitions/CommitStats"
},
"url": {
@@ -23566,11 +23583,13 @@
"type": "object",
"properties": {
"author": {
"description": "Author is the author date for the commit",
"type": "string",
"format": "date-time",
"x-go-name": "Author"
},
"committer": {
"description": "Committer is the committer date for the commit",
"type": "string",
"format": "date-time",
"x-go-name": "Committer"
@@ -23583,6 +23602,7 @@
"title": "CommitMeta contains meta information of a commit in terms of API.",
"properties": {
"created": {
"description": "Created is the time when the commit was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -23640,6 +23660,7 @@
"x-go-name": "Created"
},
"creator": {
"description": "Creator is the user who created the status",
"$ref": "#/definitions/User"
},
"description": {
@@ -23695,6 +23716,7 @@
"x-go-name": "Date"
},
"email": {
"description": "Email is the person's email address",
"type": "string",
"format": "email",
"x-go-name": "Email"
@@ -23738,6 +23760,7 @@
"x-go-name": "DirContents"
},
"file_contents": {
"description": "FileContents contains file information when the path represents a file",
"$ref": "#/definitions/ContentsResponse"
}
},
@@ -23748,6 +23771,7 @@
"type": "object",
"properties": {
"_links": {
"description": "Links contains related URLs for this file or directory",
"$ref": "#/definitions/FileLinksResponse"
},
"content": {
@@ -23939,8 +23963,8 @@
"x-go-name": "BlockOnRejectedReviews"
},
"branch_name": {
"description": "Deprecated: true",
"type": "string",
"x-deprecated": true,
"x-go-name": "BranchName"
},
"bypass_allowlist_teams": {
@@ -24097,9 +24121,10 @@
"x-go-name": "BranchName"
},
"old_branch_name": {
"description": "Deprecated: true\nName of the old branch to create from",
"description": "Name of the old branch to create from",
"type": "string",
"uniqueItems": true,
"x-deprecated": true,
"x-go-name": "OldBranchName"
},
"old_ref_name": {
@@ -24134,6 +24159,7 @@
],
"properties": {
"author": {
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
"$ref": "#/definitions/Identity"
},
"branch": {
@@ -24222,6 +24248,7 @@
],
"properties": {
"active": {
"description": "Whether the webhook should be active upon creation",
"type": "boolean",
"default": false,
"x-go-name": "Active"
@@ -24237,6 +24264,7 @@
"x-go-name": "BranchFilter"
},
"config": {
"description": "Configuration settings for the webhook",
"$ref": "#/definitions/CreateHookOptionConfig"
},
"events": {
@@ -24253,6 +24281,7 @@
"x-go-name": "Name"
},
"type": {
"description": "The type of the webhook to create",
"type": "string",
"enum": [
"dingtalk",
@@ -24287,6 +24316,7 @@
],
"properties": {
"body": {
"description": "Body is the comment text content",
"type": "string",
"x-go-name": "Body"
}
@@ -24417,6 +24447,7 @@
"example": false
},
"name": {
"description": "Name is the display name for the new label",
"type": "string",
"x-go-name": "Name"
}
@@ -24433,11 +24464,13 @@
"x-go-name": "Description"
},
"due_on": {
"description": "Deadline is the due date for the milestone",
"type": "string",
"format": "date-time",
"x-go-name": "Deadline"
},
"state": {
"description": "State indicates the initial state of the milestone",
"type": "string",
"enum": [
"open",
@@ -24699,6 +24732,7 @@
"x-go-name": "CommitID"
},
"event": {
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
"type": "string",
"enum": [
"APPROVED",
@@ -24920,6 +24954,7 @@
"x-go-name": "Message"
},
"tag_name": {
"description": "The name of the tag to create",
"type": "string",
"x-go-name": "TagName"
},
@@ -24986,6 +25021,7 @@
"x-go-name": "Name"
},
"permission": {
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin",
"type": "string",
"enum": [
"read",
@@ -24996,10 +25032,12 @@
"x-go-name": "Permission"
},
"units": {
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"type": "array",
"items": {
"type": "string"
},
"x-deprecated": true,
"x-go-name": "Units",
"example": [
"repo.actions",
@@ -25020,7 +25058,16 @@
"type": "string"
},
"x-go-name": "UnitsMap",
"example": "{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}"
"example": {
"repo.code": "read",
"repo.ext_issues": "none",
"repo.ext_wiki": "none",
"repo.issues": "write",
"repo.projects": "none",
"repo.pulls": "owner",
"repo.releases": "none",
"repo.wiki": "admin"
}
},
"visibility": {
"description": "Team visibility within the organization. Defaults to \"private\".\npublic TeamVisibilityPublic\nlimited TeamVisibilityLimited\nprivate TeamVisibilityPrivate",
@@ -25040,8 +25087,7 @@
"description": "CreateUserOption create user options",
"type": "object",
"required": [
"username",
"email"
"username"
],
"properties": {
"created_at": {
@@ -25224,6 +25270,7 @@
"x-go-name": "Scopes"
},
"user": {
"description": "The owner of the access token",
"$ref": "#/definitions/UserMeta"
}
},
@@ -25252,6 +25299,7 @@
],
"properties": {
"author": {
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
"$ref": "#/definitions/Identity"
},
"branch": {
@@ -25298,6 +25346,7 @@
"type": "object",
"properties": {
"created_at": {
"description": "Created is the time when the deploy key was added",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -25330,6 +25379,7 @@
"x-go-name": "ReadOnly"
},
"repository": {
"description": "Repository is the repository this deploy key belongs to",
"$ref": "#/definitions/Repository"
},
"title": {
@@ -25559,9 +25609,6 @@
"EditDeadlineOption": {
"description": "EditDeadlineOption options for creating a deadline",
"type": "object",
"required": [
"due_date"
],
"properties": {
"due_date": {
"type": "string",
@@ -25634,6 +25681,7 @@
],
"properties": {
"body": {
"description": "Body is the updated comment text content",
"type": "string",
"x-go-name": "Body"
}
@@ -26031,9 +26079,11 @@
"x-go-name": "EnablePrune"
},
"external_tracker": {
"description": "set this structure to use external issue tracker",
"$ref": "#/definitions/ExternalTracker"
},
"external_wiki": {
"description": "set this structure to use external wiki instead of internal",
"$ref": "#/definitions/ExternalWiki"
},
"has_actions": {
@@ -26082,6 +26132,7 @@
"x-go-name": "IgnoreWhitespaceConflicts"
},
"internal_tracker": {
"description": "set this structure to configure internal issue tracker",
"$ref": "#/definitions/InternalTracker"
},
"mirror_interval": {
@@ -26188,6 +26239,7 @@
"x-go-name": "Name"
},
"permission": {
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin",
"type": "string",
"enum": [
"read",
@@ -26198,10 +26250,12 @@
"x-go-name": "Permission"
},
"units": {
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"type": "array",
"items": {
"type": "string"
},
"x-deprecated": true,
"x-go-name": "Units",
"example": [
"repo.code",
@@ -26284,6 +26338,7 @@
"x-go-name": "Description"
},
"email": {
"description": "The email address of the user",
"type": "string",
"format": "email",
"x-go-name": "Email"
@@ -26331,6 +26386,7 @@
"x-go-name": "Restricted"
},
"source_id": {
"description": "The authentication source ID to associate with the user",
"type": "integer",
"format": "int64",
"x-go-name": "SourceID"
@@ -26359,6 +26415,7 @@
"type": "object",
"properties": {
"email": {
"description": "The email address",
"type": "string",
"format": "email",
"x-go-name": "Email"
@@ -26431,12 +26488,15 @@
"title": "FileCommitResponse contains information generated from a Git commit for a repo's file.",
"properties": {
"author": {
"description": "Author is the commit author information",
"$ref": "#/definitions/CommitUser"
},
"committer": {
"description": "Committer is the commit committer information",
"$ref": "#/definitions/CommitUser"
},
"created": {
"description": "Created is the time when the commit was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -26465,6 +26525,7 @@
"x-go-name": "SHA"
},
"tree": {
"description": "Tree contains the tree metadata for this commit",
"$ref": "#/definitions/CommitMeta"
},
"url": {
@@ -26480,6 +26541,7 @@
"type": "object",
"properties": {
"commit": {
"description": "Commit contains the commit information for this delete operation",
"$ref": "#/definitions/FileCommitResponse"
},
"content": {
@@ -26487,6 +26549,7 @@
"x-go-name": "Content"
},
"verification": {
"description": "Verification contains the commit signature verification information",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -26519,12 +26582,15 @@
"type": "object",
"properties": {
"commit": {
"description": "Commit contains the commit information for this file operation",
"$ref": "#/definitions/FileCommitResponse"
},
"content": {
"description": "Content contains the file content and metadata",
"$ref": "#/definitions/ContentsResponse"
},
"verification": {
"description": "Verification contains the commit signature verification information",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -26535,6 +26601,7 @@
"type": "object",
"properties": {
"commit": {
"description": "Commit contains the commit information for this file operation",
"$ref": "#/definitions/FileCommitResponse"
},
"files": {
@@ -26546,6 +26613,7 @@
"x-go-name": "Files"
},
"verification": {
"description": "Verification contains the commit signature verification information",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -26576,6 +26644,7 @@
"x-go-name": "CanSign"
},
"created_at": {
"description": "The date and time when the GPG key was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -26589,6 +26658,7 @@
"x-go-name": "Emails"
},
"expires_at": {
"description": "The date and time when the GPG key expires",
"type": "string",
"format": "date-time",
"x-go-name": "Expires"
@@ -27077,6 +27147,7 @@
"x-go-name": "Config"
},
"created_at": {
"description": "The date and time when the webhook was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -27106,6 +27177,7 @@
"x-go-name": "Type"
},
"updated_at": {
"description": "The date and time when the webhook was last updated",
"type": "string",
"format": "date-time",
"x-go-name": "Updated"
@@ -27118,6 +27190,7 @@
"type": "object",
"properties": {
"email": {
"description": "Email is the person's email address",
"type": "string",
"format": "email",
"x-go-name": "Email"
@@ -27164,6 +27237,7 @@
"x-go-name": "Attachments"
},
"assignee": {
"description": "deprecated",
"$ref": "#/definitions/User"
},
"assignees": {
@@ -27263,6 +27337,7 @@
"$ref": "#/definitions/RepositoryMeta"
},
"state": {
"description": "open StateOpen pr is opened\nclosed StateClosed pr is closed",
"type": "string",
"enum": [
"open",
@@ -27384,6 +27459,7 @@
"x-go-name": "ID"
},
"type": {
"description": "markdown IssueFormFieldTypeMarkdown\ntextarea IssueFormFieldTypeTextarea\ninput IssueFormFieldTypeInput\ndropdown IssueFormFieldTypeDropdown\ncheckboxes IssueFormFieldTypeCheckboxes",
"type": "string",
"enum": [
"markdown",
@@ -27652,8 +27728,9 @@
"type": "string"
},
"Wiki": {
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
"type": "boolean"
"description": "Is it a wiki page? (use mode=wiki instead)",
"type": "boolean",
"x-deprecated": true
}
},
"x-go-package": "gitea.dev/modules/structs"
@@ -27679,8 +27756,9 @@
"type": "string"
},
"Wiki": {
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
"type": "boolean"
"description": "Is it a wiki page? (use mode=wiki instead)",
"type": "boolean",
"x-deprecated": true
}
},
"x-go-package": "gitea.dev/modules/structs"
@@ -27976,12 +28054,15 @@
"x-go-name": "Protocols"
},
"services": {
"description": "Services contains third party services this server can connect to",
"$ref": "#/definitions/NodeInfoServices"
},
"software": {
"description": "Software contains information about the server software",
"$ref": "#/definitions/NodeInfoSoftware"
},
"usage": {
"description": "Usage contains server usage statistics",
"$ref": "#/definitions/NodeInfoUsage"
},
"version": {
@@ -28059,6 +28140,7 @@
"x-go-name": "LocalPosts"
},
"users": {
"description": "Users contains user statistics",
"$ref": "#/definitions/NodeInfoUsageUsers"
}
},
@@ -28094,6 +28176,7 @@
"type": "object",
"properties": {
"commit": {
"description": "The commit that this note is attached to",
"$ref": "#/definitions/Commit"
},
"message": {
@@ -28188,9 +28271,11 @@
"x-go-name": "Pinned"
},
"repository": {
"description": "Repository is the repository associated with the notification",
"$ref": "#/definitions/Repository"
},
"subject": {
"description": "Subject contains details about the notification subject",
"$ref": "#/definitions/NotificationSubject"
},
"unread": {
@@ -28380,6 +28465,7 @@
"x-go-name": "Ref"
},
"repo": {
"description": "The repository information",
"$ref": "#/definitions/Repository"
},
"repo_id": {
@@ -28401,11 +28487,13 @@
"type": "object",
"properties": {
"created_at": {
"description": "The date and time when the package was created",
"type": "string",
"format": "date-time",
"x-go-name": "CreatedAt"
},
"creator": {
"description": "The user who created this package",
"$ref": "#/definitions/User"
},
"html_url": {
@@ -28425,9 +28513,11 @@
"x-go-name": "Name"
},
"owner": {
"description": "The owner of the package",
"$ref": "#/definitions/User"
},
"repository": {
"description": "The repository that contains this package",
"$ref": "#/definitions/Repository"
},
"type": {
@@ -28500,9 +28590,11 @@
"x-go-name": "Added"
},
"author": {
"description": "The author of the commit",
"$ref": "#/definitions/PayloadUser"
},
"committer": {
"description": "The committer of the commit",
"$ref": "#/definitions/PayloadUser"
},
"id": {
@@ -28532,6 +28624,7 @@
"x-go-name": "Removed"
},
"timestamp": {
"description": "The timestamp when the commit was made",
"type": "string",
"format": "date-time",
"x-go-name": "Timestamp"
@@ -28542,6 +28635,7 @@
"x-go-name": "URL"
},
"verification": {
"description": "GPG verification information for the commit",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -28567,6 +28661,7 @@
"x-go-name": "Signature"
},
"signer": {
"description": "The user who signed the commit",
"$ref": "#/definitions/PayloadUser"
},
"verified": {
@@ -28684,6 +28779,7 @@
"type": "object",
"properties": {
"created_at": {
"description": "Created is the time when the key was added",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -28731,6 +28827,7 @@
"x-go-name": "URL"
},
"user": {
"description": "Owner is the user who owns this key",
"$ref": "#/definitions/User"
}
},
@@ -28752,6 +28849,7 @@
"x-go-name": "AllowMaintainerEdit"
},
"assignee": {
"description": "The primary assignee of the pull request",
"$ref": "#/definitions/User"
},
"assignees": {
@@ -28763,6 +28861,7 @@
"x-go-name": "Assignees"
},
"base": {
"description": "Information about the base branch",
"$ref": "#/definitions/PRBranchInfo"
},
"body": {
@@ -28820,6 +28919,7 @@
"x-go-name": "Deadline"
},
"head": {
"description": "Information about the head branch",
"$ref": "#/definitions/PRBranchInfo"
},
"html_url": {
@@ -28872,9 +28972,11 @@
"x-go-name": "Merged"
},
"merged_by": {
"description": "The user who merged the pull request",
"$ref": "#/definitions/User"
},
"milestone": {
"description": "The milestone associated with the pull request",
"$ref": "#/definitions/Milestone"
},
"number": {
@@ -28942,6 +29044,7 @@
"x-go-name": "URL"
},
"user": {
"description": "The user who created the pull request",
"$ref": "#/definitions/User"
}
},
@@ -29081,6 +29184,7 @@
"x-go-name": "Stale"
},
"state": {
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
"type": "string",
"enum": [
"APPROVED",
@@ -29260,11 +29364,13 @@
"x-go-name": "Reaction"
},
"created_at": {
"description": "The date and time when the reaction was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
},
"user": {
"description": "The user who created the reaction",
"$ref": "#/definitions/User"
}
},
@@ -29275,6 +29381,7 @@
"title": "Reference represents a Git reference.",
"properties": {
"object": {
"description": "The Git object that this reference points to",
"$ref": "#/definitions/GitObject"
},
"ref": {
@@ -29303,6 +29410,7 @@
"x-go-name": "Attachments"
},
"author": {
"description": "The user who published the release",
"$ref": "#/definitions/User"
},
"body": {
@@ -29450,6 +29558,7 @@
"x-go-name": "RoleName"
},
"user": {
"description": "User information of the collaborator",
"$ref": "#/definitions/User"
}
},
@@ -29460,9 +29569,11 @@
"title": "RepoCommit contains information of a commit in the context of a repository.",
"properties": {
"author": {
"description": "Author contains the commit author information",
"$ref": "#/definitions/CommitUser"
},
"committer": {
"description": "Committer contains the commit committer information",
"$ref": "#/definitions/CommitUser"
},
"message": {
@@ -29471,6 +29582,7 @@
"x-go-name": "Message"
},
"tree": {
"description": "Tree contains the tree information for the commit",
"$ref": "#/definitions/CommitMeta"
},
"url": {
@@ -29479,6 +29591,7 @@
"x-go-name": "URL"
},
"verification": {
"description": "Verification contains commit signature verification information",
"$ref": "#/definitions/PayloadCommitVerification"
}
},
@@ -29758,6 +29871,7 @@
"$ref": "#/definitions/User"
},
"parent": {
"description": "the original repository if this repository is a fork, otherwise null",
"$ref": "#/definitions/Repository"
},
"permissions": {
@@ -29928,6 +30042,7 @@
"type": "object",
"properties": {
"created": {
"description": "Created is the time when the stopwatch was started",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -29976,6 +30091,7 @@
"x-go-name": "Body"
},
"event": {
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
"type": "string",
"enum": [
"APPROVED",
@@ -29995,6 +30111,7 @@
"type": "object",
"properties": {
"commit": {
"description": "The commit information associated with this tag",
"$ref": "#/definitions/CommitMeta"
},
"id": {
@@ -30030,6 +30147,7 @@
"type": "object",
"properties": {
"created_at": {
"description": "The date and time when the tag protection was created",
"type": "string",
"format": "date-time",
"x-go-name": "Created"
@@ -30046,6 +30164,7 @@
"x-go-name": "NamePattern"
},
"updated_at": {
"description": "The date and time when the tag protection was last updated",
"type": "string",
"format": "date-time",
"x-go-name": "Updated"
@@ -30100,9 +30219,11 @@
"x-go-name": "Name"
},
"organization": {
"description": "The organization that the team belongs to",
"$ref": "#/definitions/Organization"
},
"permission": {
"description": "none AccessLevelNameNone\nread AccessLevelNameRead\nwrite AccessLevelNameWrite\nadmin AccessLevelNameAdmin\nowner AccessLevelNameOwner",
"type": "string",
"enum": [
"none",
@@ -30115,10 +30236,12 @@
"x-go-name": "Permission"
},
"units": {
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"type": "array",
"items": {
"type": "string"
},
"x-deprecated": true,
"x-go-name": "Units",
"example": [
"repo.code",
@@ -30289,6 +30412,7 @@
"x-go-name": "Updated"
},
"user": {
"description": "Poster is the user who created the timeline event",
"$ref": "#/definitions/User"
}
},
@@ -30361,6 +30485,7 @@
"x-go-name": "ID"
},
"issue": {
"description": "Issue contains the associated issue information",
"$ref": "#/definitions/Issue"
},
"issue_id": {
@@ -30460,6 +30585,7 @@
],
"properties": {
"author": {
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
"$ref": "#/definitions/Identity"
},
"branch": {
@@ -30868,9 +30994,11 @@
"type": "object",
"properties": {
"author": {
"description": "The author of the commit",
"$ref": "#/definitions/CommitUser"
},
"commiter": {
"description": "The committer of the commit",
"$ref": "#/definitions/CommitUser"
},
"message": {
@@ -30933,6 +31061,7 @@
"x-go-name": "HTMLURL"
},
"last_commit": {
"description": "The last commit that modified this wiki page",
"$ref": "#/definitions/WikiCommit"
},
"sidebar": {
@@ -30963,6 +31092,7 @@
"x-go-name": "HTMLURL"
},
"last_commit": {
"description": "The last commit that modified this wiki page",
"$ref": "#/definitions/WikiCommit"
},
"sub_url": {

View File

@@ -2713,6 +2713,7 @@
"x-go-name": "DownloadURL"
},
"created_at": {
"description": "Created is the time when the attachment was uploaded",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -2862,9 +2863,8 @@
"x-go-name": "BlockOnRejectedReviews"
},
"branch_name": {
"deprecated": true,
"description": "Deprecated: true",
"type": "string",
"x-deprecated": true,
"x-go-name": "BranchName"
},
"bypass_allowlist_teams": {
@@ -3302,6 +3302,7 @@
"$ref": "#/components/schemas/User"
},
"created": {
"description": "Created is the time when the commit was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -3368,11 +3369,13 @@
"description": "CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE",
"properties": {
"author": {
"description": "Author is the author date for the commit",
"format": "date-time",
"type": "string",
"x-go-name": "Author"
},
"committer": {
"description": "Committer is the committer date for the commit",
"format": "date-time",
"type": "string",
"x-go-name": "Committer"
@@ -3384,6 +3387,7 @@
"CommitMeta": {
"properties": {
"created": {
"description": "Created is the time when the commit was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -3504,6 +3508,7 @@
"x-go-name": "Date"
},
"email": {
"description": "Email is the person's email address",
"format": "email",
"type": "string",
"x-go-name": "Email"
@@ -3754,9 +3759,8 @@
"x-go-name": "BlockOnRejectedReviews"
},
"branch_name": {
"deprecated": true,
"description": "Deprecated: true",
"type": "string",
"x-deprecated": true,
"x-go-name": "BranchName"
},
"bypass_allowlist_teams": {
@@ -3910,10 +3914,10 @@
"x-go-name": "BranchName"
},
"old_branch_name": {
"deprecated": true,
"description": "Deprecated: true\nName of the old branch to create from",
"description": "Name of the old branch to create from",
"type": "string",
"uniqueItems": true,
"x-deprecated": true,
"x-go-name": "OldBranchName"
},
"old_ref_name": {
@@ -4036,6 +4040,7 @@
"properties": {
"active": {
"default": false,
"description": "Whether the webhook should be active upon creation",
"type": "boolean",
"x-go-name": "Active"
},
@@ -4066,6 +4071,7 @@
"x-go-name": "Name"
},
"type": {
"description": "The type of the webhook to create",
"enum": [
"dingtalk",
"discord",
@@ -4101,6 +4107,7 @@
"description": "CreateIssueCommentOption options for creating a comment on an issue",
"properties": {
"body": {
"description": "Body is the comment text content",
"type": "string",
"x-go-name": "Body"
}
@@ -4231,6 +4238,7 @@
"x-go-name": "IsArchived"
},
"name": {
"description": "Name is the display name for the new label",
"type": "string",
"x-go-name": "Name"
}
@@ -4251,12 +4259,18 @@
"x-go-name": "Description"
},
"due_on": {
"description": "Deadline is the due date for the milestone",
"format": "date-time",
"type": "string",
"x-go-name": "Deadline"
},
"state": {
"$ref": "#/components/schemas/StateType"
"allOf": [
{
"$ref": "#/components/schemas/StateType"
}
],
"description": "State indicates the initial state of the milestone"
},
"title": {
"description": "Title is the title of the new milestone",
@@ -4509,7 +4523,12 @@
"x-go-name": "CommitID"
},
"event": {
"$ref": "#/components/schemas/ReviewStateType"
"allOf": [
{
"$ref": "#/components/schemas/ReviewStateType"
}
],
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
}
},
"type": "object",
@@ -4711,6 +4730,7 @@
"x-go-name": "Message"
},
"tag_name": {
"description": "The name of the tag to create",
"type": "string",
"x-go-name": "TagName"
},
@@ -4777,9 +4797,16 @@
"x-go-name": "Name"
},
"permission": {
"$ref": "#/components/schemas/RepoWritePermission"
"allOf": [
{
"$ref": "#/components/schemas/RepoWritePermission"
}
],
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin"
},
"units": {
"deprecated": true,
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"example": [
"repo.actions",
"repo.code",
@@ -4796,13 +4823,23 @@
"type": "string"
},
"type": "array",
"x-deprecated": true,
"x-go-name": "Units"
},
"units_map": {
"additionalProperties": {
"type": "string"
},
"example": "{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}",
"example": {
"repo.code": "read",
"repo.ext_issues": "none",
"repo.ext_wiki": "none",
"repo.issues": "write",
"repo.projects": "none",
"repo.pulls": "owner",
"repo.releases": "none",
"repo.wiki": "admin"
},
"type": "object",
"x-go-name": "UnitsMap"
},
@@ -4887,8 +4924,7 @@
}
},
"required": [
"username",
"email"
"username"
],
"type": "object",
"x-go-package": "gitea.dev/modules/structs"
@@ -5079,6 +5115,7 @@
"description": "DeployKey a deploy key",
"properties": {
"created_at": {
"description": "Created is the time when the deploy key was added",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -5348,9 +5385,6 @@
"x-go-name": "Deadline"
}
},
"required": [
"due_date"
],
"type": "object",
"x-go-package": "gitea.dev/modules/structs"
},
@@ -5413,6 +5447,7 @@
"description": "EditIssueCommentOption options for editing a comment",
"properties": {
"body": {
"description": "Body is the updated comment text content",
"type": "string",
"x-go-name": "Body"
}
@@ -5964,9 +5999,16 @@
"x-go-name": "Name"
},
"permission": {
"$ref": "#/components/schemas/RepoWritePermission"
"allOf": [
{
"$ref": "#/components/schemas/RepoWritePermission"
}
],
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin"
},
"units": {
"deprecated": true,
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"example": [
"repo.code",
"repo.issues",
@@ -5981,6 +6023,7 @@
"type": "string"
},
"type": "array",
"x-deprecated": true,
"x-go-name": "Units"
},
"units_map": {
@@ -6049,6 +6092,7 @@
"x-go-name": "Description"
},
"email": {
"description": "The email address of the user",
"format": "email",
"type": "string",
"x-go-name": "Email"
@@ -6096,6 +6140,7 @@
"x-go-name": "Restricted"
},
"source_id": {
"description": "The authentication source ID to associate with the user",
"format": "int64",
"type": "integer",
"x-go-name": "SourceID"
@@ -6125,6 +6170,7 @@
"description": "Email an email address belonging to a user",
"properties": {
"email": {
"description": "The email address",
"format": "email",
"type": "string",
"x-go-name": "Email"
@@ -6204,6 +6250,7 @@
"$ref": "#/components/schemas/CommitUser"
},
"created": {
"description": "Created is the time when the commit was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -6346,6 +6393,7 @@
"x-go-name": "CanSign"
},
"created_at": {
"description": "The date and time when the GPG key was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -6359,6 +6407,7 @@
"x-go-name": "Emails"
},
"expires_at": {
"description": "The date and time when the GPG key expires",
"format": "date-time",
"type": "string",
"x-go-name": "Expires"
@@ -6851,6 +6900,7 @@
"x-go-name": "Config"
},
"created_at": {
"description": "The date and time when the webhook was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -6880,6 +6930,7 @@
"x-go-name": "Type"
},
"updated_at": {
"description": "The date and time when the webhook was last updated",
"format": "date-time",
"type": "string",
"x-go-name": "Updated"
@@ -6892,6 +6943,7 @@
"description": "Identity for a person's identity like an author or committer",
"properties": {
"email": {
"description": "Email is the person's email address",
"format": "email",
"type": "string",
"x-go-name": "Email"
@@ -7038,7 +7090,12 @@
"$ref": "#/components/schemas/RepositoryMeta"
},
"state": {
"$ref": "#/components/schemas/StateType"
"allOf": [
{
"$ref": "#/components/schemas/StateType"
}
],
"description": "open StateOpen pr is opened\nclosed StateClosed pr is closed"
},
"time_estimate": {
"format": "int64",
@@ -7155,6 +7212,7 @@
"x-go-name": "ID"
},
"type": {
"description": "markdown IssueFormFieldTypeMarkdown\ntextarea IssueFormFieldTypeTextarea\ninput IssueFormFieldTypeInput\ndropdown IssueFormFieldTypeDropdown\ncheckboxes IssueFormFieldTypeCheckboxes",
"enum": [
"markdown",
"textarea",
@@ -7426,9 +7484,9 @@
"type": "string"
},
"Wiki": {
"deprecated": true,
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
"type": "boolean"
"description": "Is it a wiki page? (use mode=wiki instead)",
"type": "boolean",
"x-deprecated": true
}
},
"type": "object",
@@ -7454,9 +7512,9 @@
"type": "string"
},
"Wiki": {
"deprecated": true,
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
"type": "boolean"
"description": "Is it a wiki page? (use mode=wiki instead)",
"type": "boolean",
"x-deprecated": true
}
},
"type": "object",
@@ -8187,6 +8245,7 @@
"description": "Package represents a package",
"properties": {
"created_at": {
"description": "The date and time when the package was created",
"format": "date-time",
"type": "string",
"x-go-name": "CreatedAt"
@@ -8319,6 +8378,7 @@
"x-go-name": "Removed"
},
"timestamp": {
"description": "The timestamp when the commit was made",
"format": "date-time",
"type": "string",
"x-go-name": "Timestamp"
@@ -8472,6 +8532,7 @@
"description": "PublicKey publickey is a user key to push code to repository",
"properties": {
"created_at": {
"description": "Created is the time when the key was added",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -8877,7 +8938,12 @@
"x-go-name": "Stale"
},
"state": {
"$ref": "#/components/schemas/ReviewStateType"
"allOf": [
{
"$ref": "#/components/schemas/ReviewStateType"
}
],
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
},
"submitted_at": {
"format": "date-time",
@@ -9049,6 +9115,7 @@
"x-go-name": "Reaction"
},
"created_at": {
"description": "The date and time when the reaction was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -9751,6 +9818,7 @@
"description": "StopWatch represent a running stopwatch",
"properties": {
"created": {
"description": "Created is the time when the stopwatch was started",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -9799,7 +9867,12 @@
"x-go-name": "Body"
},
"event": {
"$ref": "#/components/schemas/ReviewStateType"
"allOf": [
{
"$ref": "#/components/schemas/ReviewStateType"
}
],
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
}
},
"type": "object",
@@ -9846,6 +9919,7 @@
"description": "TagProtection represents a tag protection",
"properties": {
"created_at": {
"description": "The date and time when the tag protection was created",
"format": "date-time",
"type": "string",
"x-go-name": "Created"
@@ -9862,6 +9936,7 @@
"x-go-name": "NamePattern"
},
"updated_at": {
"description": "The date and time when the tag protection was last updated",
"format": "date-time",
"type": "string",
"x-go-name": "Updated"
@@ -9919,9 +9994,16 @@
"$ref": "#/components/schemas/Organization"
},
"permission": {
"$ref": "#/components/schemas/AccessLevelName"
"allOf": [
{
"$ref": "#/components/schemas/AccessLevelName"
}
],
"description": "none AccessLevelNameNone\nread AccessLevelNameRead\nwrite AccessLevelNameWrite\nadmin AccessLevelNameAdmin\nowner AccessLevelNameOwner"
},
"units": {
"deprecated": true,
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
"example": [
"repo.code",
"repo.issues",
@@ -9936,6 +10018,7 @@
"type": "string"
},
"type": "array",
"x-deprecated": true,
"x-go-name": "Units"
},
"units_map": {