File tree Expand file tree Collapse file tree 1 file changed +56
-1
lines changed Expand file tree Collapse file tree 1 file changed +56
-1
lines changed Original file line number Diff line number Diff line change 15941594 ],
15951595 "responses": {
15961596 "200": {
1597- "$ref": "#/responses/RefList"
1597+ "$ref": "#/responses/ReferenceList"
1598+ },
1599+ "404": {
1600+ "$ref": "#/responses/notFound"
15981601 }
15991602 }
16001603 }
69766979 },
69776980 "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
69786981 },
6982+ "GitObject": {
6983+ "type": "object",
6984+ "title": "GitObject represents a Git object.",
6985+ "properties": {
6986+ "sha": {
6987+ "type": "string",
6988+ "x-go-name": "SHA"
6989+ },
6990+ "type": {
6991+ "type": "string",
6992+ "x-go-name": "Type"
6993+ },
6994+ "url": {
6995+ "type": "string",
6996+ "x-go-name": "URL"
6997+ }
6998+ },
6999+ "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
7000+ },
69797001 "Issue": {
69807002 "description": "Issue represents an issue in a repository",
69817003 "type": "object",
75657587 },
75667588 "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
75677589 },
7590+ "Reference": {
7591+ "type": "object",
7592+ "title": "Reference represents a Git reference.",
7593+ "properties": {
7594+ "object": {
7595+ "$ref": "#/definitions/GitObject"
7596+ },
7597+ "ref": {
7598+ "type": "string",
7599+ "x-go-name": "Ref"
7600+ },
7601+ "url": {
7602+ "type": "string",
7603+ "x-go-name": "URL"
7604+ }
7605+ },
7606+ "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
7607+ },
75687608 "Release": {
75697609 "description": "Release represents a repository release",
75707610 "type": "object",
82168256 }
82178257 }
82188258 },
8259+ "Reference": {
8260+ "description": "Reference",
8261+ "schema": {
8262+ "$ref": "#/definitions/Reference"
8263+ }
8264+ },
8265+ "ReferenceList": {
8266+ "description": "ReferenceList",
8267+ "schema": {
8268+ "type": "array",
8269+ "items": {
8270+ "$ref": "#/definitions/Reference"
8271+ }
8272+ }
8273+ },
82198274 "Release": {
82208275 "description": "Release",
82218276 "schema": {
You can’t perform that action at this time.
0 commit comments