...

Text file src/github.com/go-openapi/validate/fixtures/bugs/1614/gitea-expanded.json

Documentation: github.com/go-openapi/validate/fixtures/bugs/1614

     1{
     2  "consumes": [
     3    "application/json",
     4    "text/plain"
     5  ],
     6  "produces": [
     7    "application/json",
     8    "text/html"
     9  ],
    10  "schemes": [
    11    "http",
    12    "https"
    13  ],
    14  "swagger": "2.0",
    15  "info": {
    16    "description": "This documentation describes the Gitea API.",
    17    "title": "Gitea API.",
    18    "license": {
    19      "name": "MIT",
    20      "url": "http://opensource.org/licenses/MIT"
    21    },
    22    "version": "1.1.1"
    23  },
    24  "basePath": "/api/v1",
    25  "paths": {
    26    "/admin/users": {
    27      "post": {
    28        "consumes": [
    29          "application/json"
    30        ],
    31        "produces": [
    32          "application/json"
    33        ],
    34        "tags": [
    35          "admin"
    36        ],
    37        "summary": "Create a user",
    38        "operationId": "adminCreateUser",
    39        "parameters": [
    40          {
    41            "name": "body",
    42            "in": "body",
    43            "schema": {
    44              "description": "CreateUserOption create user options",
    45              "type": "object",
    46              "required": [
    47                "username",
    48                "email",
    49                "password"
    50              ],
    51              "properties": {
    52                "email": {
    53                  "type": "string",
    54                  "format": "email",
    55                  "x-go-name": "Email"
    56                },
    57                "full_name": {
    58                  "type": "string",
    59                  "x-go-name": "FullName"
    60                },
    61                "login_name": {
    62                  "type": "string",
    63                  "x-go-name": "LoginName"
    64                },
    65                "password": {
    66                  "type": "string",
    67                  "x-go-name": "Password"
    68                },
    69                "send_notify": {
    70                  "type": "boolean",
    71                  "x-go-name": "SendNotify"
    72                },
    73                "source_id": {
    74                  "type": "integer",
    75                  "format": "int64",
    76                  "x-go-name": "SourceID"
    77                },
    78                "username": {
    79                  "type": "string",
    80                  "x-go-name": "Username"
    81                }
    82              },
    83              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
    84            }
    85          }
    86        ],
    87        "responses": {
    88          "201": {
    89            "description": "User",
    90            "schema": {
    91              "description": "User represents a user",
    92              "type": "object",
    93              "properties": {
    94                "avatar_url": {
    95                  "description": "URL to the user's avatar",
    96                  "type": "string",
    97                  "x-go-name": "AvatarURL"
    98                },
    99                "email": {
   100                  "type": "string",
   101                  "format": "email",
   102                  "x-go-name": "Email"
   103                },
   104                "full_name": {
   105                  "description": "the user's full name",
   106                  "type": "string",
   107                  "x-go-name": "FullName"
   108                },
   109                "id": {
   110                  "description": "the user's id",
   111                  "type": "integer",
   112                  "format": "int64",
   113                  "x-go-name": "ID"
   114                },
   115                "language": {
   116                  "description": "User locale",
   117                  "type": "string",
   118                  "x-go-name": "Language"
   119                },
   120                "login": {
   121                  "description": "the user's username",
   122                  "type": "string",
   123                  "x-go-name": "UserName"
   124                }
   125              },
   126              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   127            }
   128          },
   129          "403": {
   130            "description": "APIForbiddenError is a forbidden error response",
   131            "headers": {
   132              "message": {
   133                "type": "string"
   134              },
   135              "url": {
   136                "type": "string"
   137              }
   138            }
   139          },
   140          "422": {
   141            "description": "APIValidationError is error format response related to input validation",
   142            "headers": {
   143              "message": {
   144                "type": "string"
   145              },
   146              "url": {
   147                "type": "string"
   148              }
   149            }
   150          }
   151        }
   152      }
   153    },
   154    "/admin/users/{username}": {
   155      "delete": {
   156        "produces": [
   157          "application/json"
   158        ],
   159        "tags": [
   160          "admin"
   161        ],
   162        "summary": "Delete a user",
   163        "operationId": "adminDeleteUser",
   164        "parameters": [
   165          {
   166            "type": "string",
   167            "description": "username of user to delete",
   168            "name": "username",
   169            "in": "path",
   170            "required": true
   171          }
   172        ],
   173        "responses": {
   174          "204": {
   175            "description": "APIEmpty is an empty response"
   176          },
   177          "403": {
   178            "description": "APIForbiddenError is a forbidden error response",
   179            "headers": {
   180              "message": {
   181                "type": "string"
   182              },
   183              "url": {
   184                "type": "string"
   185              }
   186            }
   187          },
   188          "422": {
   189            "description": "APIValidationError is error format response related to input validation",
   190            "headers": {
   191              "message": {
   192                "type": "string"
   193              },
   194              "url": {
   195                "type": "string"
   196              }
   197            }
   198          }
   199        }
   200      },
   201      "patch": {
   202        "consumes": [
   203          "application/json"
   204        ],
   205        "produces": [
   206          "application/json"
   207        ],
   208        "tags": [
   209          "admin"
   210        ],
   211        "summary": "Edit an existing user",
   212        "operationId": "adminEditUser",
   213        "parameters": [
   214          {
   215            "type": "string",
   216            "description": "username of user to edit",
   217            "name": "username",
   218            "in": "path",
   219            "required": true
   220          },
   221          {
   222            "name": "body",
   223            "in": "body",
   224            "schema": {
   225              "description": "EditUserOption edit user options",
   226              "type": "object",
   227              "required": [
   228                "email"
   229              ],
   230              "properties": {
   231                "active": {
   232                  "type": "boolean",
   233                  "x-go-name": "Active"
   234                },
   235                "admin": {
   236                  "type": "boolean",
   237                  "x-go-name": "Admin"
   238                },
   239                "allow_git_hook": {
   240                  "type": "boolean",
   241                  "x-go-name": "AllowGitHook"
   242                },
   243                "allow_import_local": {
   244                  "type": "boolean",
   245                  "x-go-name": "AllowImportLocal"
   246                },
   247                "email": {
   248                  "type": "string",
   249                  "format": "email",
   250                  "x-go-name": "Email"
   251                },
   252                "full_name": {
   253                  "type": "string",
   254                  "x-go-name": "FullName"
   255                },
   256                "location": {
   257                  "type": "string",
   258                  "x-go-name": "Location"
   259                },
   260                "login_name": {
   261                  "type": "string",
   262                  "x-go-name": "LoginName"
   263                },
   264                "max_repo_creation": {
   265                  "type": "integer",
   266                  "format": "int64",
   267                  "x-go-name": "MaxRepoCreation"
   268                },
   269                "password": {
   270                  "type": "string",
   271                  "x-go-name": "Password"
   272                },
   273                "source_id": {
   274                  "type": "integer",
   275                  "format": "int64",
   276                  "x-go-name": "SourceID"
   277                },
   278                "website": {
   279                  "type": "string",
   280                  "x-go-name": "Website"
   281                }
   282              },
   283              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   284            }
   285          }
   286        ],
   287        "responses": {
   288          "200": {
   289            "description": "User",
   290            "schema": {
   291              "description": "User represents a user",
   292              "type": "object",
   293              "properties": {
   294                "avatar_url": {
   295                  "description": "URL to the user's avatar",
   296                  "type": "string",
   297                  "x-go-name": "AvatarURL"
   298                },
   299                "email": {
   300                  "type": "string",
   301                  "format": "email",
   302                  "x-go-name": "Email"
   303                },
   304                "full_name": {
   305                  "description": "the user's full name",
   306                  "type": "string",
   307                  "x-go-name": "FullName"
   308                },
   309                "id": {
   310                  "description": "the user's id",
   311                  "type": "integer",
   312                  "format": "int64",
   313                  "x-go-name": "ID"
   314                },
   315                "language": {
   316                  "description": "User locale",
   317                  "type": "string",
   318                  "x-go-name": "Language"
   319                },
   320                "login": {
   321                  "description": "the user's username",
   322                  "type": "string",
   323                  "x-go-name": "UserName"
   324                }
   325              },
   326              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   327            }
   328          },
   329          "403": {
   330            "description": "APIForbiddenError is a forbidden error response",
   331            "headers": {
   332              "message": {
   333                "type": "string"
   334              },
   335              "url": {
   336                "type": "string"
   337              }
   338            }
   339          },
   340          "422": {
   341            "description": "APIValidationError is error format response related to input validation",
   342            "headers": {
   343              "message": {
   344                "type": "string"
   345              },
   346              "url": {
   347                "type": "string"
   348              }
   349            }
   350          }
   351        }
   352      }
   353    },
   354    "/admin/users/{username}/keys": {
   355      "post": {
   356        "consumes": [
   357          "application/json"
   358        ],
   359        "produces": [
   360          "application/json"
   361        ],
   362        "tags": [
   363          "admin"
   364        ],
   365        "summary": "Add a public key on behalf of a user",
   366        "operationId": "adminCreatePublicKey",
   367        "parameters": [
   368          {
   369            "type": "string",
   370            "description": "username of the user",
   371            "name": "username",
   372            "in": "path",
   373            "required": true
   374          }
   375        ],
   376        "responses": {
   377          "201": {
   378            "description": "PublicKey",
   379            "schema": {
   380              "description": "PublicKey publickey is a user key to push code to repository",
   381              "type": "object",
   382              "properties": {
   383                "created_at": {
   384                  "type": "string",
   385                  "format": "date-time",
   386                  "x-go-name": "Created"
   387                },
   388                "fingerprint": {
   389                  "type": "string",
   390                  "x-go-name": "Fingerprint"
   391                },
   392                "id": {
   393                  "type": "integer",
   394                  "format": "int64",
   395                  "x-go-name": "ID"
   396                },
   397                "key": {
   398                  "type": "string",
   399                  "x-go-name": "Key"
   400                },
   401                "title": {
   402                  "type": "string",
   403                  "x-go-name": "Title"
   404                },
   405                "url": {
   406                  "type": "string",
   407                  "x-go-name": "URL"
   408                }
   409              },
   410              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   411            }
   412          },
   413          "403": {
   414            "description": "APIForbiddenError is a forbidden error response",
   415            "headers": {
   416              "message": {
   417                "type": "string"
   418              },
   419              "url": {
   420                "type": "string"
   421              }
   422            }
   423          },
   424          "422": {
   425            "description": "APIValidationError is error format response related to input validation",
   426            "headers": {
   427              "message": {
   428                "type": "string"
   429              },
   430              "url": {
   431                "type": "string"
   432              }
   433            }
   434          }
   435        }
   436      }
   437    },
   438    "/admin/users/{username}/keys/{id}": {
   439      "delete": {
   440        "produces": [
   441          "application/json"
   442        ],
   443        "tags": [
   444          "admin"
   445        ],
   446        "summary": "Delete a user's public key",
   447        "operationId": "adminDeleteUserPublicKey",
   448        "parameters": [
   449          {
   450            "type": "string",
   451            "description": "username of user",
   452            "name": "username",
   453            "in": "path",
   454            "required": true
   455          },
   456          {
   457            "type": "integer",
   458            "description": "id of the key to delete",
   459            "name": "id",
   460            "in": "path",
   461            "required": true
   462          }
   463        ],
   464        "responses": {
   465          "204": {
   466            "description": "APIEmpty is an empty response"
   467          },
   468          "403": {
   469            "description": "APIForbiddenError is a forbidden error response",
   470            "headers": {
   471              "message": {
   472                "type": "string"
   473              },
   474              "url": {
   475                "type": "string"
   476              }
   477            }
   478          },
   479          "404": {
   480            "description": "APINotFound is a not found empty response"
   481          }
   482        }
   483      }
   484    },
   485    "/admin/users/{username}/orgs": {
   486      "post": {
   487        "consumes": [
   488          "application/json"
   489        ],
   490        "produces": [
   491          "application/json"
   492        ],
   493        "tags": [
   494          "admin"
   495        ],
   496        "summary": "Create an organization",
   497        "operationId": "adminCreateOrg",
   498        "parameters": [
   499          {
   500            "type": "string",
   501            "description": "username of the user that will own the created organization",
   502            "name": "username",
   503            "in": "path",
   504            "required": true
   505          }
   506        ],
   507        "responses": {
   508          "201": {
   509            "description": "Organization",
   510            "schema": {
   511              "description": "Organization represents an organization",
   512              "type": "object",
   513              "properties": {
   514                "avatar_url": {
   515                  "type": "string",
   516                  "x-go-name": "AvatarURL"
   517                },
   518                "description": {
   519                  "type": "string",
   520                  "x-go-name": "Description"
   521                },
   522                "full_name": {
   523                  "type": "string",
   524                  "x-go-name": "FullName"
   525                },
   526                "id": {
   527                  "type": "integer",
   528                  "format": "int64",
   529                  "x-go-name": "ID"
   530                },
   531                "location": {
   532                  "type": "string",
   533                  "x-go-name": "Location"
   534                },
   535                "username": {
   536                  "type": "string",
   537                  "x-go-name": "UserName"
   538                },
   539                "website": {
   540                  "type": "string",
   541                  "x-go-name": "Website"
   542                }
   543              },
   544              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   545            }
   546          },
   547          "403": {
   548            "description": "APIForbiddenError is a forbidden error response",
   549            "headers": {
   550              "message": {
   551                "type": "string"
   552              },
   553              "url": {
   554                "type": "string"
   555              }
   556            }
   557          },
   558          "422": {
   559            "description": "APIValidationError is error format response related to input validation",
   560            "headers": {
   561              "message": {
   562                "type": "string"
   563              },
   564              "url": {
   565                "type": "string"
   566              }
   567            }
   568          }
   569        }
   570      }
   571    },
   572    "/admin/users/{username}/repos": {
   573      "post": {
   574        "consumes": [
   575          "application/json"
   576        ],
   577        "produces": [
   578          "application/json"
   579        ],
   580        "tags": [
   581          "admin"
   582        ],
   583        "summary": "Create a repository on behalf a user",
   584        "operationId": "adminCreateRepo",
   585        "parameters": [
   586          {
   587            "type": "string",
   588            "description": "username of the user. This user will own the created repository",
   589            "name": "username",
   590            "in": "path",
   591            "required": true
   592          }
   593        ],
   594        "responses": {
   595          "201": {
   596            "description": "Repository",
   597            "schema": {
   598              "$ref": "#/definitions/Repository"
   599            }
   600          },
   601          "403": {
   602            "description": "APIForbiddenError is a forbidden error response",
   603            "headers": {
   604              "message": {
   605                "type": "string"
   606              },
   607              "url": {
   608                "type": "string"
   609              }
   610            }
   611          },
   612          "422": {
   613            "description": "APIValidationError is error format response related to input validation",
   614            "headers": {
   615              "message": {
   616                "type": "string"
   617              },
   618              "url": {
   619                "type": "string"
   620              }
   621            }
   622          }
   623        }
   624      }
   625    },
   626    "/markdown": {
   627      "post": {
   628        "consumes": [
   629          "application/json"
   630        ],
   631        "produces": [
   632          "text/html"
   633        ],
   634        "tags": [
   635          "miscellaneous"
   636        ],
   637        "summary": "Render a markdown document as HTML",
   638        "operationId": "renderMarkdown",
   639        "parameters": [
   640          {
   641            "name": "body",
   642            "in": "body",
   643            "schema": {
   644              "description": "MarkdownOption markdown options",
   645              "type": "object",
   646              "properties": {
   647                "Context": {
   648                  "description": "Context to render\n\nin: body",
   649                  "type": "string"
   650                },
   651                "Mode": {
   652                  "description": "Mode to render\n\nin: body",
   653                  "type": "string"
   654                },
   655                "Text": {
   656                  "description": "Text markdown to render\n\nin: body",
   657                  "type": "string"
   658                },
   659                "Wiki": {
   660                  "description": "Is it a wiki page ?\n\nin: body",
   661                  "type": "boolean"
   662                }
   663              },
   664              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   665            }
   666          }
   667        ],
   668        "responses": {
   669          "200": {
   670            "description": "MarkdownRender is a rendered markdown document"
   671          },
   672          "422": {
   673            "description": "APIValidationError is error format response related to input validation",
   674            "headers": {
   675              "message": {
   676                "type": "string"
   677              },
   678              "url": {
   679                "type": "string"
   680              }
   681            }
   682          }
   683        }
   684      }
   685    },
   686    "/markdown/raw": {
   687      "post": {
   688        "consumes": [
   689          "text/plain"
   690        ],
   691        "produces": [
   692          "text/html"
   693        ],
   694        "tags": [
   695          "miscellaneous"
   696        ],
   697        "summary": "Render raw markdown as HTML",
   698        "operationId": "renderMarkdownRaw",
   699        "parameters": [
   700          {
   701            "description": "Request body to render",
   702            "name": "body",
   703            "in": "body",
   704            "required": true,
   705            "schema": {
   706              "type": "string"
   707            }
   708          }
   709        ],
   710        "responses": {
   711          "200": {
   712            "description": "MarkdownRender is a rendered markdown document"
   713          },
   714          "422": {
   715            "description": "APIValidationError is error format response related to input validation",
   716            "headers": {
   717              "message": {
   718                "type": "string"
   719              },
   720              "url": {
   721                "type": "string"
   722              }
   723            }
   724          }
   725        }
   726      }
   727    },
   728    "/org/{org}/repos": {
   729      "post": {
   730        "consumes": [
   731          "application/json"
   732        ],
   733        "produces": [
   734          "application/json"
   735        ],
   736        "tags": [
   737          "organization"
   738        ],
   739        "summary": "Create a repository in an organization",
   740        "operationId": "createOrgRepo",
   741        "parameters": [
   742          {
   743            "type": "string",
   744            "description": "name of organization",
   745            "name": "org",
   746            "in": "path",
   747            "required": true
   748          },
   749          {
   750            "name": "body",
   751            "in": "body",
   752            "schema": {
   753              "description": "CreateRepoOption options when creating repository",
   754              "type": "object",
   755              "required": [
   756                "name"
   757              ],
   758              "properties": {
   759                "auto_init": {
   760                  "description": "Whether the repository should be auto-intialized?",
   761                  "type": "boolean",
   762                  "x-go-name": "AutoInit"
   763                },
   764                "description": {
   765                  "description": "Description of the repository to create",
   766                  "type": "string",
   767                  "x-go-name": "Description"
   768                },
   769                "gitignores": {
   770                  "description": "Gitignores to use",
   771                  "type": "string",
   772                  "x-go-name": "Gitignores"
   773                },
   774                "license": {
   775                  "description": "License to use",
   776                  "type": "string",
   777                  "x-go-name": "License"
   778                },
   779                "name": {
   780                  "description": "Name of the repository to create",
   781                  "type": "string",
   782                  "uniqueItems": true,
   783                  "x-go-name": "Name"
   784                },
   785                "private": {
   786                  "description": "Whether the repository is private",
   787                  "type": "boolean",
   788                  "x-go-name": "Private"
   789                },
   790                "readme": {
   791                  "description": "Readme of the repository to create",
   792                  "type": "string",
   793                  "x-go-name": "Readme"
   794                }
   795              },
   796              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   797            }
   798          }
   799        ],
   800        "responses": {
   801          "201": {
   802            "description": "Repository",
   803            "schema": {
   804              "$ref": "#/definitions/Repository"
   805            }
   806          },
   807          "403": {
   808            "description": "APIForbiddenError is a forbidden error response",
   809            "headers": {
   810              "message": {
   811                "type": "string"
   812              },
   813              "url": {
   814                "type": "string"
   815              }
   816            }
   817          },
   818          "422": {
   819            "description": "APIValidationError is error format response related to input validation",
   820            "headers": {
   821              "message": {
   822                "type": "string"
   823              },
   824              "url": {
   825                "type": "string"
   826              }
   827            }
   828          }
   829        }
   830      }
   831    },
   832    "/orgs/{org}": {
   833      "get": {
   834        "produces": [
   835          "application/json"
   836        ],
   837        "tags": [
   838          "organization"
   839        ],
   840        "summary": "Get an organization",
   841        "operationId": "orgGet",
   842        "parameters": [
   843          {
   844            "type": "string",
   845            "description": "name of the organization to get",
   846            "name": "org",
   847            "in": "path",
   848            "required": true
   849          }
   850        ],
   851        "responses": {
   852          "200": {
   853            "description": "Organization",
   854            "schema": {
   855              "description": "Organization represents an organization",
   856              "type": "object",
   857              "properties": {
   858                "avatar_url": {
   859                  "type": "string",
   860                  "x-go-name": "AvatarURL"
   861                },
   862                "description": {
   863                  "type": "string",
   864                  "x-go-name": "Description"
   865                },
   866                "full_name": {
   867                  "type": "string",
   868                  "x-go-name": "FullName"
   869                },
   870                "id": {
   871                  "type": "integer",
   872                  "format": "int64",
   873                  "x-go-name": "ID"
   874                },
   875                "location": {
   876                  "type": "string",
   877                  "x-go-name": "Location"
   878                },
   879                "username": {
   880                  "type": "string",
   881                  "x-go-name": "UserName"
   882                },
   883                "website": {
   884                  "type": "string",
   885                  "x-go-name": "Website"
   886                }
   887              },
   888              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   889            }
   890          }
   891        }
   892      },
   893      "patch": {
   894        "consumes": [
   895          "application/json"
   896        ],
   897        "produces": [
   898          "application/json"
   899        ],
   900        "tags": [
   901          "organization"
   902        ],
   903        "summary": "Edit an organization",
   904        "operationId": "orgEdit",
   905        "parameters": [
   906          {
   907            "type": "string",
   908            "description": "name of the organization to edit",
   909            "name": "org",
   910            "in": "path",
   911            "required": true
   912          },
   913          {
   914            "name": "body",
   915            "in": "body",
   916            "schema": {
   917              "description": "EditOrgOption options for editing an organization",
   918              "type": "object",
   919              "properties": {
   920                "description": {
   921                  "type": "string",
   922                  "x-go-name": "Description"
   923                },
   924                "full_name": {
   925                  "type": "string",
   926                  "x-go-name": "FullName"
   927                },
   928                "location": {
   929                  "type": "string",
   930                  "x-go-name": "Location"
   931                },
   932                "website": {
   933                  "type": "string",
   934                  "x-go-name": "Website"
   935                }
   936              },
   937              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   938            }
   939          }
   940        ],
   941        "responses": {
   942          "200": {
   943            "description": "Organization",
   944            "schema": {
   945              "description": "Organization represents an organization",
   946              "type": "object",
   947              "properties": {
   948                "avatar_url": {
   949                  "type": "string",
   950                  "x-go-name": "AvatarURL"
   951                },
   952                "description": {
   953                  "type": "string",
   954                  "x-go-name": "Description"
   955                },
   956                "full_name": {
   957                  "type": "string",
   958                  "x-go-name": "FullName"
   959                },
   960                "id": {
   961                  "type": "integer",
   962                  "format": "int64",
   963                  "x-go-name": "ID"
   964                },
   965                "location": {
   966                  "type": "string",
   967                  "x-go-name": "Location"
   968                },
   969                "username": {
   970                  "type": "string",
   971                  "x-go-name": "UserName"
   972                },
   973                "website": {
   974                  "type": "string",
   975                  "x-go-name": "Website"
   976                }
   977              },
   978              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
   979            }
   980          }
   981        }
   982      }
   983    },
   984    "/orgs/{org}/hooks": {
   985      "get": {
   986        "produces": [
   987          "application/json"
   988        ],
   989        "tags": [
   990          "organization"
   991        ],
   992        "summary": "List an organization's webhooks",
   993        "operationId": "orgListHooks",
   994        "parameters": [
   995          {
   996            "type": "string",
   997            "description": "name of the organization",
   998            "name": "org",
   999            "in": "path",
  1000            "required": true
  1001          }
  1002        ],
  1003        "responses": {
  1004          "200": {
  1005            "description": "HookList",
  1006            "schema": {
  1007              "type": "array",
  1008              "items": {
  1009                "description": "Branch represents a repository branch",
  1010                "type": "object",
  1011                "properties": {
  1012                  "commit": {
  1013                    "description": "PayloadCommit represents a commit",
  1014                    "type": "object",
  1015                    "properties": {
  1016                      "author": {
  1017                        "description": "PayloadUser represents the author or committer of a commit",
  1018                        "type": "object",
  1019                        "properties": {
  1020                          "email": {
  1021                            "type": "string",
  1022                            "format": "email",
  1023                            "x-go-name": "Email"
  1024                          },
  1025                          "name": {
  1026                            "description": "Full name of the commit author",
  1027                            "type": "string",
  1028                            "x-go-name": "Name"
  1029                          },
  1030                          "username": {
  1031                            "type": "string",
  1032                            "x-go-name": "UserName"
  1033                          }
  1034                        },
  1035                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1036                      },
  1037                      "committer": {
  1038                        "description": "PayloadUser represents the author or committer of a commit",
  1039                        "type": "object",
  1040                        "properties": {
  1041                          "email": {
  1042                            "type": "string",
  1043                            "format": "email",
  1044                            "x-go-name": "Email"
  1045                          },
  1046                          "name": {
  1047                            "description": "Full name of the commit author",
  1048                            "type": "string",
  1049                            "x-go-name": "Name"
  1050                          },
  1051                          "username": {
  1052                            "type": "string",
  1053                            "x-go-name": "UserName"
  1054                          }
  1055                        },
  1056                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1057                      },
  1058                      "id": {
  1059                        "description": "sha1 hash of the commit",
  1060                        "type": "string",
  1061                        "x-go-name": "ID"
  1062                      },
  1063                      "message": {
  1064                        "type": "string",
  1065                        "x-go-name": "Message"
  1066                      },
  1067                      "timestamp": {
  1068                        "type": "string",
  1069                        "format": "date-time",
  1070                        "x-go-name": "Timestamp"
  1071                      },
  1072                      "url": {
  1073                        "type": "string",
  1074                        "x-go-name": "URL"
  1075                      },
  1076                      "verification": {
  1077                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  1078                        "type": "object",
  1079                        "properties": {
  1080                          "payload": {
  1081                            "type": "string",
  1082                            "x-go-name": "Payload"
  1083                          },
  1084                          "reason": {
  1085                            "type": "string",
  1086                            "x-go-name": "Reason"
  1087                          },
  1088                          "signature": {
  1089                            "type": "string",
  1090                            "x-go-name": "Signature"
  1091                          },
  1092                          "verified": {
  1093                            "type": "boolean",
  1094                            "x-go-name": "Verified"
  1095                          }
  1096                        },
  1097                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1098                      }
  1099                    },
  1100                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1101                  },
  1102                  "name": {
  1103                    "type": "string",
  1104                    "x-go-name": "Name"
  1105                  }
  1106                },
  1107                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1108              }
  1109            }
  1110          }
  1111        }
  1112      }
  1113    },
  1114    "/orgs/{org}/hooks/": {
  1115      "post": {
  1116        "consumes": [
  1117          "application/json"
  1118        ],
  1119        "produces": [
  1120          "application/json"
  1121        ],
  1122        "tags": [
  1123          "organization"
  1124        ],
  1125        "summary": "Create a hook",
  1126        "operationId": "orgCreateHook",
  1127        "parameters": [
  1128          {
  1129            "type": "string",
  1130            "description": "name of the organization",
  1131            "name": "org",
  1132            "in": "path",
  1133            "required": true
  1134          }
  1135        ],
  1136        "responses": {
  1137          "201": {
  1138            "description": "Hook",
  1139            "schema": {
  1140              "type": "array",
  1141              "items": {
  1142                "description": "Branch represents a repository branch",
  1143                "type": "object",
  1144                "properties": {
  1145                  "commit": {
  1146                    "description": "PayloadCommit represents a commit",
  1147                    "type": "object",
  1148                    "properties": {
  1149                      "author": {
  1150                        "description": "PayloadUser represents the author or committer of a commit",
  1151                        "type": "object",
  1152                        "properties": {
  1153                          "email": {
  1154                            "type": "string",
  1155                            "format": "email",
  1156                            "x-go-name": "Email"
  1157                          },
  1158                          "name": {
  1159                            "description": "Full name of the commit author",
  1160                            "type": "string",
  1161                            "x-go-name": "Name"
  1162                          },
  1163                          "username": {
  1164                            "type": "string",
  1165                            "x-go-name": "UserName"
  1166                          }
  1167                        },
  1168                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1169                      },
  1170                      "committer": {
  1171                        "description": "PayloadUser represents the author or committer of a commit",
  1172                        "type": "object",
  1173                        "properties": {
  1174                          "email": {
  1175                            "type": "string",
  1176                            "format": "email",
  1177                            "x-go-name": "Email"
  1178                          },
  1179                          "name": {
  1180                            "description": "Full name of the commit author",
  1181                            "type": "string",
  1182                            "x-go-name": "Name"
  1183                          },
  1184                          "username": {
  1185                            "type": "string",
  1186                            "x-go-name": "UserName"
  1187                          }
  1188                        },
  1189                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1190                      },
  1191                      "id": {
  1192                        "description": "sha1 hash of the commit",
  1193                        "type": "string",
  1194                        "x-go-name": "ID"
  1195                      },
  1196                      "message": {
  1197                        "type": "string",
  1198                        "x-go-name": "Message"
  1199                      },
  1200                      "timestamp": {
  1201                        "type": "string",
  1202                        "format": "date-time",
  1203                        "x-go-name": "Timestamp"
  1204                      },
  1205                      "url": {
  1206                        "type": "string",
  1207                        "x-go-name": "URL"
  1208                      },
  1209                      "verification": {
  1210                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  1211                        "type": "object",
  1212                        "properties": {
  1213                          "payload": {
  1214                            "type": "string",
  1215                            "x-go-name": "Payload"
  1216                          },
  1217                          "reason": {
  1218                            "type": "string",
  1219                            "x-go-name": "Reason"
  1220                          },
  1221                          "signature": {
  1222                            "type": "string",
  1223                            "x-go-name": "Signature"
  1224                          },
  1225                          "verified": {
  1226                            "type": "boolean",
  1227                            "x-go-name": "Verified"
  1228                          }
  1229                        },
  1230                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1231                      }
  1232                    },
  1233                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1234                  },
  1235                  "name": {
  1236                    "type": "string",
  1237                    "x-go-name": "Name"
  1238                  }
  1239                },
  1240                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1241              }
  1242            }
  1243          }
  1244        }
  1245      }
  1246    },
  1247    "/orgs/{org}/hooks/{id}": {
  1248      "get": {
  1249        "produces": [
  1250          "application/json"
  1251        ],
  1252        "tags": [
  1253          "organization"
  1254        ],
  1255        "summary": "Get a hook",
  1256        "operationId": "orgGetHook",
  1257        "parameters": [
  1258          {
  1259            "type": "string",
  1260            "description": "name of the organization",
  1261            "name": "org",
  1262            "in": "path",
  1263            "required": true
  1264          },
  1265          {
  1266            "type": "integer",
  1267            "description": "id of the hook to get",
  1268            "name": "id",
  1269            "in": "path",
  1270            "required": true
  1271          }
  1272        ],
  1273        "responses": {
  1274          "200": {
  1275            "description": "Hook",
  1276            "schema": {
  1277              "type": "array",
  1278              "items": {
  1279                "description": "Branch represents a repository branch",
  1280                "type": "object",
  1281                "properties": {
  1282                  "commit": {
  1283                    "description": "PayloadCommit represents a commit",
  1284                    "type": "object",
  1285                    "properties": {
  1286                      "author": {
  1287                        "description": "PayloadUser represents the author or committer of a commit",
  1288                        "type": "object",
  1289                        "properties": {
  1290                          "email": {
  1291                            "type": "string",
  1292                            "format": "email",
  1293                            "x-go-name": "Email"
  1294                          },
  1295                          "name": {
  1296                            "description": "Full name of the commit author",
  1297                            "type": "string",
  1298                            "x-go-name": "Name"
  1299                          },
  1300                          "username": {
  1301                            "type": "string",
  1302                            "x-go-name": "UserName"
  1303                          }
  1304                        },
  1305                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1306                      },
  1307                      "committer": {
  1308                        "description": "PayloadUser represents the author or committer of a commit",
  1309                        "type": "object",
  1310                        "properties": {
  1311                          "email": {
  1312                            "type": "string",
  1313                            "format": "email",
  1314                            "x-go-name": "Email"
  1315                          },
  1316                          "name": {
  1317                            "description": "Full name of the commit author",
  1318                            "type": "string",
  1319                            "x-go-name": "Name"
  1320                          },
  1321                          "username": {
  1322                            "type": "string",
  1323                            "x-go-name": "UserName"
  1324                          }
  1325                        },
  1326                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1327                      },
  1328                      "id": {
  1329                        "description": "sha1 hash of the commit",
  1330                        "type": "string",
  1331                        "x-go-name": "ID"
  1332                      },
  1333                      "message": {
  1334                        "type": "string",
  1335                        "x-go-name": "Message"
  1336                      },
  1337                      "timestamp": {
  1338                        "type": "string",
  1339                        "format": "date-time",
  1340                        "x-go-name": "Timestamp"
  1341                      },
  1342                      "url": {
  1343                        "type": "string",
  1344                        "x-go-name": "URL"
  1345                      },
  1346                      "verification": {
  1347                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  1348                        "type": "object",
  1349                        "properties": {
  1350                          "payload": {
  1351                            "type": "string",
  1352                            "x-go-name": "Payload"
  1353                          },
  1354                          "reason": {
  1355                            "type": "string",
  1356                            "x-go-name": "Reason"
  1357                          },
  1358                          "signature": {
  1359                            "type": "string",
  1360                            "x-go-name": "Signature"
  1361                          },
  1362                          "verified": {
  1363                            "type": "boolean",
  1364                            "x-go-name": "Verified"
  1365                          }
  1366                        },
  1367                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1368                      }
  1369                    },
  1370                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1371                  },
  1372                  "name": {
  1373                    "type": "string",
  1374                    "x-go-name": "Name"
  1375                  }
  1376                },
  1377                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1378              }
  1379            }
  1380          }
  1381        }
  1382      },
  1383      "delete": {
  1384        "produces": [
  1385          "application/json"
  1386        ],
  1387        "tags": [
  1388          "organization"
  1389        ],
  1390        "summary": "Delete a hook",
  1391        "operationId": "orgDeleteHook",
  1392        "parameters": [
  1393          {
  1394            "type": "string",
  1395            "description": "name of the organization",
  1396            "name": "org",
  1397            "in": "path",
  1398            "required": true
  1399          },
  1400          {
  1401            "type": "integer",
  1402            "description": "id of the hook to delete",
  1403            "name": "id",
  1404            "in": "path",
  1405            "required": true
  1406          }
  1407        ],
  1408        "responses": {
  1409          "204": {
  1410            "description": "APIEmpty is an empty response"
  1411          }
  1412        }
  1413      },
  1414      "patch": {
  1415        "consumes": [
  1416          "application/json"
  1417        ],
  1418        "produces": [
  1419          "application/json"
  1420        ],
  1421        "tags": [
  1422          "organization"
  1423        ],
  1424        "summary": "Update a hook",
  1425        "operationId": "orgEditHook",
  1426        "parameters": [
  1427          {
  1428            "type": "string",
  1429            "description": "name of the organization",
  1430            "name": "org",
  1431            "in": "path",
  1432            "required": true
  1433          },
  1434          {
  1435            "type": "integer",
  1436            "description": "id of the hook to update",
  1437            "name": "id",
  1438            "in": "path",
  1439            "required": true
  1440          }
  1441        ],
  1442        "responses": {
  1443          "200": {
  1444            "description": "Hook",
  1445            "schema": {
  1446              "type": "array",
  1447              "items": {
  1448                "description": "Branch represents a repository branch",
  1449                "type": "object",
  1450                "properties": {
  1451                  "commit": {
  1452                    "description": "PayloadCommit represents a commit",
  1453                    "type": "object",
  1454                    "properties": {
  1455                      "author": {
  1456                        "description": "PayloadUser represents the author or committer of a commit",
  1457                        "type": "object",
  1458                        "properties": {
  1459                          "email": {
  1460                            "type": "string",
  1461                            "format": "email",
  1462                            "x-go-name": "Email"
  1463                          },
  1464                          "name": {
  1465                            "description": "Full name of the commit author",
  1466                            "type": "string",
  1467                            "x-go-name": "Name"
  1468                          },
  1469                          "username": {
  1470                            "type": "string",
  1471                            "x-go-name": "UserName"
  1472                          }
  1473                        },
  1474                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1475                      },
  1476                      "committer": {
  1477                        "description": "PayloadUser represents the author or committer of a commit",
  1478                        "type": "object",
  1479                        "properties": {
  1480                          "email": {
  1481                            "type": "string",
  1482                            "format": "email",
  1483                            "x-go-name": "Email"
  1484                          },
  1485                          "name": {
  1486                            "description": "Full name of the commit author",
  1487                            "type": "string",
  1488                            "x-go-name": "Name"
  1489                          },
  1490                          "username": {
  1491                            "type": "string",
  1492                            "x-go-name": "UserName"
  1493                          }
  1494                        },
  1495                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1496                      },
  1497                      "id": {
  1498                        "description": "sha1 hash of the commit",
  1499                        "type": "string",
  1500                        "x-go-name": "ID"
  1501                      },
  1502                      "message": {
  1503                        "type": "string",
  1504                        "x-go-name": "Message"
  1505                      },
  1506                      "timestamp": {
  1507                        "type": "string",
  1508                        "format": "date-time",
  1509                        "x-go-name": "Timestamp"
  1510                      },
  1511                      "url": {
  1512                        "type": "string",
  1513                        "x-go-name": "URL"
  1514                      },
  1515                      "verification": {
  1516                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  1517                        "type": "object",
  1518                        "properties": {
  1519                          "payload": {
  1520                            "type": "string",
  1521                            "x-go-name": "Payload"
  1522                          },
  1523                          "reason": {
  1524                            "type": "string",
  1525                            "x-go-name": "Reason"
  1526                          },
  1527                          "signature": {
  1528                            "type": "string",
  1529                            "x-go-name": "Signature"
  1530                          },
  1531                          "verified": {
  1532                            "type": "boolean",
  1533                            "x-go-name": "Verified"
  1534                          }
  1535                        },
  1536                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1537                      }
  1538                    },
  1539                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1540                  },
  1541                  "name": {
  1542                    "type": "string",
  1543                    "x-go-name": "Name"
  1544                  }
  1545                },
  1546                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1547              }
  1548            }
  1549          }
  1550        }
  1551      }
  1552    },
  1553    "/orgs/{org}/members": {
  1554      "get": {
  1555        "produces": [
  1556          "application/json"
  1557        ],
  1558        "tags": [
  1559          "organization"
  1560        ],
  1561        "summary": "List an organization's members",
  1562        "operationId": "orgListMembers",
  1563        "parameters": [
  1564          {
  1565            "type": "string",
  1566            "description": "name of the organization",
  1567            "name": "org",
  1568            "in": "path",
  1569            "required": true
  1570          }
  1571        ],
  1572        "responses": {
  1573          "200": {
  1574            "description": "UserList",
  1575            "schema": {
  1576              "type": "array",
  1577              "items": {
  1578                "description": "User represents a user",
  1579                "type": "object",
  1580                "properties": {
  1581                  "avatar_url": {
  1582                    "description": "URL to the user's avatar",
  1583                    "type": "string",
  1584                    "x-go-name": "AvatarURL"
  1585                  },
  1586                  "email": {
  1587                    "type": "string",
  1588                    "format": "email",
  1589                    "x-go-name": "Email"
  1590                  },
  1591                  "full_name": {
  1592                    "description": "the user's full name",
  1593                    "type": "string",
  1594                    "x-go-name": "FullName"
  1595                  },
  1596                  "id": {
  1597                    "description": "the user's id",
  1598                    "type": "integer",
  1599                    "format": "int64",
  1600                    "x-go-name": "ID"
  1601                  },
  1602                  "language": {
  1603                    "description": "User locale",
  1604                    "type": "string",
  1605                    "x-go-name": "Language"
  1606                  },
  1607                  "login": {
  1608                    "description": "the user's username",
  1609                    "type": "string",
  1610                    "x-go-name": "UserName"
  1611                  }
  1612                },
  1613                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1614              }
  1615            }
  1616          }
  1617        }
  1618      }
  1619    },
  1620    "/orgs/{org}/members/{username}": {
  1621      "get": {
  1622        "tags": [
  1623          "organization"
  1624        ],
  1625        "summary": "Check if a user is a member of an organization",
  1626        "operationId": "orgIsMember",
  1627        "parameters": [
  1628          {
  1629            "type": "string",
  1630            "description": "name of the organization",
  1631            "name": "org",
  1632            "in": "path",
  1633            "required": true
  1634          },
  1635          {
  1636            "type": "string",
  1637            "description": "username of the user",
  1638            "name": "username",
  1639            "in": "path",
  1640            "required": true
  1641          }
  1642        ],
  1643        "responses": {
  1644          "204": {
  1645            "description": "user is a member",
  1646            "schema": {
  1647              "description": "APIEmpty is an empty response"
  1648            }
  1649          },
  1650          "404": {
  1651            "description": "user is not a member",
  1652            "schema": {
  1653              "description": "APIEmpty is an empty response"
  1654            }
  1655          }
  1656        }
  1657      },
  1658      "delete": {
  1659        "produces": [
  1660          "application/json"
  1661        ],
  1662        "tags": [
  1663          "organization"
  1664        ],
  1665        "summary": "Remove a member from an organization",
  1666        "operationId": "orgDeleteMember",
  1667        "parameters": [
  1668          {
  1669            "type": "string",
  1670            "description": "name of the organization",
  1671            "name": "org",
  1672            "in": "path",
  1673            "required": true
  1674          },
  1675          {
  1676            "type": "string",
  1677            "description": "username of the user",
  1678            "name": "username",
  1679            "in": "path",
  1680            "required": true
  1681          }
  1682        ],
  1683        "responses": {
  1684          "204": {
  1685            "description": "member removed",
  1686            "schema": {
  1687              "description": "APIEmpty is an empty response"
  1688            }
  1689          }
  1690        }
  1691      }
  1692    },
  1693    "/orgs/{org}/public_members": {
  1694      "get": {
  1695        "produces": [
  1696          "application/json"
  1697        ],
  1698        "tags": [
  1699          "organization"
  1700        ],
  1701        "summary": "List an organization's public members",
  1702        "operationId": "orgListPublicMembers",
  1703        "parameters": [
  1704          {
  1705            "type": "string",
  1706            "description": "name of the organization",
  1707            "name": "org",
  1708            "in": "path",
  1709            "required": true
  1710          }
  1711        ],
  1712        "responses": {
  1713          "200": {
  1714            "description": "UserList",
  1715            "schema": {
  1716              "type": "array",
  1717              "items": {
  1718                "description": "User represents a user",
  1719                "type": "object",
  1720                "properties": {
  1721                  "avatar_url": {
  1722                    "description": "URL to the user's avatar",
  1723                    "type": "string",
  1724                    "x-go-name": "AvatarURL"
  1725                  },
  1726                  "email": {
  1727                    "type": "string",
  1728                    "format": "email",
  1729                    "x-go-name": "Email"
  1730                  },
  1731                  "full_name": {
  1732                    "description": "the user's full name",
  1733                    "type": "string",
  1734                    "x-go-name": "FullName"
  1735                  },
  1736                  "id": {
  1737                    "description": "the user's id",
  1738                    "type": "integer",
  1739                    "format": "int64",
  1740                    "x-go-name": "ID"
  1741                  },
  1742                  "language": {
  1743                    "description": "User locale",
  1744                    "type": "string",
  1745                    "x-go-name": "Language"
  1746                  },
  1747                  "login": {
  1748                    "description": "the user's username",
  1749                    "type": "string",
  1750                    "x-go-name": "UserName"
  1751                  }
  1752                },
  1753                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1754              }
  1755            }
  1756          }
  1757        }
  1758      }
  1759    },
  1760    "/orgs/{org}/public_members/{username}": {
  1761      "get": {
  1762        "tags": [
  1763          "organization"
  1764        ],
  1765        "summary": "Check if a user is a public member of an organization",
  1766        "operationId": "orgIsPublicMember",
  1767        "parameters": [
  1768          {
  1769            "type": "string",
  1770            "description": "name of the organization",
  1771            "name": "org",
  1772            "in": "path",
  1773            "required": true
  1774          },
  1775          {
  1776            "type": "string",
  1777            "description": "username of the user",
  1778            "name": "username",
  1779            "in": "path",
  1780            "required": true
  1781          }
  1782        ],
  1783        "responses": {
  1784          "204": {
  1785            "description": "user is a public member",
  1786            "schema": {
  1787              "description": "APIEmpty is an empty response"
  1788            }
  1789          },
  1790          "404": {
  1791            "description": "user is not a public member",
  1792            "schema": {
  1793              "description": "APIEmpty is an empty response"
  1794            }
  1795          }
  1796        }
  1797      },
  1798      "put": {
  1799        "produces": [
  1800          "application/json"
  1801        ],
  1802        "tags": [
  1803          "organization"
  1804        ],
  1805        "summary": "Publicize a user's membership",
  1806        "operationId": "orgPublicizeMember",
  1807        "parameters": [
  1808          {
  1809            "type": "string",
  1810            "description": "name of the organization",
  1811            "name": "org",
  1812            "in": "path",
  1813            "required": true
  1814          },
  1815          {
  1816            "type": "string",
  1817            "description": "username of the user",
  1818            "name": "username",
  1819            "in": "path",
  1820            "required": true
  1821          }
  1822        ],
  1823        "responses": {
  1824          "204": {
  1825            "description": "membership publicized",
  1826            "schema": {
  1827              "description": "APIEmpty is an empty response"
  1828            }
  1829          }
  1830        }
  1831      },
  1832      "delete": {
  1833        "produces": [
  1834          "application/json"
  1835        ],
  1836        "tags": [
  1837          "organization"
  1838        ],
  1839        "summary": "Conceal a user's membership",
  1840        "operationId": "orgConcealMember",
  1841        "parameters": [
  1842          {
  1843            "type": "string",
  1844            "description": "name of the organization",
  1845            "name": "org",
  1846            "in": "path",
  1847            "required": true
  1848          },
  1849          {
  1850            "type": "string",
  1851            "description": "username of the user",
  1852            "name": "username",
  1853            "in": "path",
  1854            "required": true
  1855          }
  1856        ],
  1857        "responses": {
  1858          "204": {
  1859            "description": "APIEmpty is an empty response"
  1860          }
  1861        }
  1862      }
  1863    },
  1864    "/orgs/{org}/repos": {
  1865      "get": {
  1866        "produces": [
  1867          "application/json"
  1868        ],
  1869        "tags": [
  1870          "organization"
  1871        ],
  1872        "summary": "List an organization's repos",
  1873        "operationId": "orgListRepos",
  1874        "parameters": [
  1875          {
  1876            "type": "string",
  1877            "description": "name of the organization",
  1878            "name": "org",
  1879            "in": "path",
  1880            "required": true
  1881          }
  1882        ],
  1883        "responses": {
  1884          "200": {
  1885            "description": "RepositoryList",
  1886            "schema": {
  1887              "type": "array",
  1888              "items": {
  1889                "$ref": "#/definitions/Repository"
  1890              }
  1891            }
  1892          }
  1893        }
  1894      }
  1895    },
  1896    "/orgs/{org}/teams": {
  1897      "get": {
  1898        "produces": [
  1899          "application/json"
  1900        ],
  1901        "tags": [
  1902          "organization"
  1903        ],
  1904        "summary": "List an organization's teams",
  1905        "operationId": "orgListTeams",
  1906        "parameters": [
  1907          {
  1908            "type": "string",
  1909            "description": "name of the organization",
  1910            "name": "org",
  1911            "in": "path",
  1912            "required": true
  1913          }
  1914        ],
  1915        "responses": {
  1916          "200": {
  1917            "description": "TeamList",
  1918            "schema": {
  1919              "type": "array",
  1920              "items": {
  1921                "description": "Team represents a team in an organization",
  1922                "type": "object",
  1923                "properties": {
  1924                  "description": {
  1925                    "type": "string",
  1926                    "x-go-name": "Description"
  1927                  },
  1928                  "id": {
  1929                    "type": "integer",
  1930                    "format": "int64",
  1931                    "x-go-name": "ID"
  1932                  },
  1933                  "name": {
  1934                    "type": "string",
  1935                    "x-go-name": "Name"
  1936                  },
  1937                  "permission": {
  1938                    "type": "string",
  1939                    "enum": [
  1940                      "none",
  1941                      "read",
  1942                      "write",
  1943                      "admin",
  1944                      "owner"
  1945                    ],
  1946                    "x-go-name": "Permission"
  1947                  }
  1948                },
  1949                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  1950              }
  1951            }
  1952          }
  1953        }
  1954      },
  1955      "post": {
  1956        "consumes": [
  1957          "application/json"
  1958        ],
  1959        "produces": [
  1960          "application/json"
  1961        ],
  1962        "tags": [
  1963          "organization"
  1964        ],
  1965        "summary": "Create a team",
  1966        "operationId": "orgCreateTeam",
  1967        "parameters": [
  1968          {
  1969            "type": "string",
  1970            "description": "name of the organization",
  1971            "name": "org",
  1972            "in": "path",
  1973            "required": true
  1974          },
  1975          {
  1976            "name": "body",
  1977            "in": "body",
  1978            "schema": {
  1979              "description": "CreateTeamOption options for creating a team",
  1980              "type": "object",
  1981              "required": [
  1982                "name"
  1983              ],
  1984              "properties": {
  1985                "description": {
  1986                  "type": "string",
  1987                  "x-go-name": "Description"
  1988                },
  1989                "name": {
  1990                  "type": "string",
  1991                  "x-go-name": "Name"
  1992                },
  1993                "permission": {
  1994                  "type": "string",
  1995                  "enum": [
  1996                    "read",
  1997                    "write",
  1998                    "admin"
  1999                  ],
  2000                  "x-go-name": "Permission"
  2001                }
  2002              },
  2003              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2004            }
  2005          }
  2006        ],
  2007        "responses": {
  2008          "201": {
  2009            "description": "Team",
  2010            "schema": {
  2011              "description": "Team represents a team in an organization",
  2012              "type": "object",
  2013              "properties": {
  2014                "description": {
  2015                  "type": "string",
  2016                  "x-go-name": "Description"
  2017                },
  2018                "id": {
  2019                  "type": "integer",
  2020                  "format": "int64",
  2021                  "x-go-name": "ID"
  2022                },
  2023                "name": {
  2024                  "type": "string",
  2025                  "x-go-name": "Name"
  2026                },
  2027                "permission": {
  2028                  "type": "string",
  2029                  "enum": [
  2030                    "none",
  2031                    "read",
  2032                    "write",
  2033                    "admin",
  2034                    "owner"
  2035                  ],
  2036                  "x-go-name": "Permission"
  2037                }
  2038              },
  2039              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2040            }
  2041          }
  2042        }
  2043      }
  2044    },
  2045    "/repos/migrate": {
  2046      "post": {
  2047        "consumes": [
  2048          "application/json"
  2049        ],
  2050        "produces": [
  2051          "application/json"
  2052        ],
  2053        "tags": [
  2054          "repository"
  2055        ],
  2056        "summary": "Migrate a remote git repository",
  2057        "operationId": "repoMigrate",
  2058        "parameters": [
  2059          {
  2060            "name": "body",
  2061            "in": "body",
  2062            "schema": {
  2063              "description": "MigrateRepoForm form for migrating repository",
  2064              "type": "object",
  2065              "required": [
  2066                "clone_addr",
  2067                "uid",
  2068                "repo_name"
  2069              ],
  2070              "properties": {
  2071                "auth_password": {
  2072                  "type": "string",
  2073                  "x-go-name": "AuthPassword"
  2074                },
  2075                "auth_username": {
  2076                  "type": "string",
  2077                  "x-go-name": "AuthUsername"
  2078                },
  2079                "clone_addr": {
  2080                  "type": "string",
  2081                  "x-go-name": "CloneAddr"
  2082                },
  2083                "description": {
  2084                  "type": "string",
  2085                  "x-go-name": "Description"
  2086                },
  2087                "mirror": {
  2088                  "type": "boolean",
  2089                  "x-go-name": "Mirror"
  2090                },
  2091                "private": {
  2092                  "type": "boolean",
  2093                  "x-go-name": "Private"
  2094                },
  2095                "repo_name": {
  2096                  "type": "string",
  2097                  "x-go-name": "RepoName"
  2098                },
  2099                "uid": {
  2100                  "type": "integer",
  2101                  "format": "int64",
  2102                  "x-go-name": "UID"
  2103                }
  2104              },
  2105              "x-go-package": "code.gitea.io/gitea/modules/auth"
  2106            }
  2107          }
  2108        ],
  2109        "responses": {
  2110          "201": {
  2111            "description": "Repository",
  2112            "schema": {
  2113              "$ref": "#/definitions/Repository"
  2114            }
  2115          }
  2116        }
  2117      }
  2118    },
  2119    "/repos/search": {
  2120      "get": {
  2121        "produces": [
  2122          "application/json"
  2123        ],
  2124        "tags": [
  2125          "repository"
  2126        ],
  2127        "summary": "Search for repositories",
  2128        "operationId": "repoSearch",
  2129        "parameters": [
  2130          {
  2131            "type": "string",
  2132            "description": "keyword",
  2133            "name": "q",
  2134            "in": "query"
  2135          },
  2136          {
  2137            "type": "integer",
  2138            "description": "search only for repos that the user with the given id owns or contributes to",
  2139            "name": "uid",
  2140            "in": "query"
  2141          },
  2142          {
  2143            "type": "integer",
  2144            "description": "page number of results to return (1-based)",
  2145            "name": "page",
  2146            "in": "query"
  2147          },
  2148          {
  2149            "type": "integer",
  2150            "description": "page size of results, maximum page size is 50",
  2151            "name": "limit",
  2152            "in": "query"
  2153          },
  2154          {
  2155            "type": "string",
  2156            "description": "type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\"",
  2157            "name": "mode",
  2158            "in": "query"
  2159          },
  2160          {
  2161            "type": "boolean",
  2162            "description": "if `uid` is given, search only for repos that the user owns",
  2163            "name": "exclusive",
  2164            "in": "query"
  2165          }
  2166        ],
  2167        "responses": {
  2168          "200": {
  2169            "description": "SearchResults",
  2170            "schema": {
  2171              "description": "SearchResults results of a successful search",
  2172              "type": "object",
  2173              "properties": {
  2174                "data": {
  2175                  "type": "array",
  2176                  "items": {
  2177                    "description": "Repository represents a repository",
  2178                    "type": "object",
  2179                    "properties": {
  2180                      "clone_url": {
  2181                        "type": "string",
  2182                        "x-go-name": "CloneURL"
  2183                      },
  2184                      "created_at": {
  2185                        "type": "string",
  2186                        "format": "date-time",
  2187                        "x-go-name": "Created"
  2188                      },
  2189                      "default_branch": {
  2190                        "type": "string",
  2191                        "x-go-name": "DefaultBranch"
  2192                      },
  2193                      "description": {
  2194                        "type": "string",
  2195                        "x-go-name": "Description"
  2196                      },
  2197                      "empty": {
  2198                        "type": "boolean",
  2199                        "x-go-name": "Empty"
  2200                      },
  2201                      "fork": {
  2202                        "type": "boolean",
  2203                        "x-go-name": "Fork"
  2204                      },
  2205                      "forks_count": {
  2206                        "type": "integer",
  2207                        "format": "int64",
  2208                        "x-go-name": "Forks"
  2209                      },
  2210                      "full_name": {
  2211                        "type": "string",
  2212                        "x-go-name": "FullName"
  2213                      },
  2214                      "html_url": {
  2215                        "type": "string",
  2216                        "x-go-name": "HTMLURL"
  2217                      },
  2218                      "id": {
  2219                        "type": "integer",
  2220                        "format": "int64",
  2221                        "x-go-name": "ID"
  2222                      },
  2223                      "mirror": {
  2224                        "type": "boolean",
  2225                        "x-go-name": "Mirror"
  2226                      },
  2227                      "name": {
  2228                        "type": "string",
  2229                        "x-go-name": "Name"
  2230                      },
  2231                      "open_issues_count": {
  2232                        "type": "integer",
  2233                        "format": "int64",
  2234                        "x-go-name": "OpenIssues"
  2235                      },
  2236                      "owner": {
  2237                        "description": "User represents a user",
  2238                        "type": "object",
  2239                        "properties": {
  2240                          "avatar_url": {
  2241                            "description": "URL to the user's avatar",
  2242                            "type": "string",
  2243                            "x-go-name": "AvatarURL"
  2244                          },
  2245                          "email": {
  2246                            "type": "string",
  2247                            "format": "email",
  2248                            "x-go-name": "Email"
  2249                          },
  2250                          "full_name": {
  2251                            "description": "the user's full name",
  2252                            "type": "string",
  2253                            "x-go-name": "FullName"
  2254                          },
  2255                          "id": {
  2256                            "description": "the user's id",
  2257                            "type": "integer",
  2258                            "format": "int64",
  2259                            "x-go-name": "ID"
  2260                          },
  2261                          "language": {
  2262                            "description": "User locale",
  2263                            "type": "string",
  2264                            "x-go-name": "Language"
  2265                          },
  2266                          "login": {
  2267                            "description": "the user's username",
  2268                            "type": "string",
  2269                            "x-go-name": "UserName"
  2270                          }
  2271                        },
  2272                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2273                      },
  2274                      "parent": {
  2275                        "$ref": "#/definitions/Repository"
  2276                      },
  2277                      "permissions": {
  2278                        "description": "Permission represents a set of permissions",
  2279                        "type": "object",
  2280                        "properties": {
  2281                          "admin": {
  2282                            "type": "boolean",
  2283                            "x-go-name": "Admin"
  2284                          },
  2285                          "pull": {
  2286                            "type": "boolean",
  2287                            "x-go-name": "Pull"
  2288                          },
  2289                          "push": {
  2290                            "type": "boolean",
  2291                            "x-go-name": "Push"
  2292                          }
  2293                        },
  2294                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2295                      },
  2296                      "private": {
  2297                        "type": "boolean",
  2298                        "x-go-name": "Private"
  2299                      },
  2300                      "size": {
  2301                        "type": "integer",
  2302                        "format": "int64",
  2303                        "x-go-name": "Size"
  2304                      },
  2305                      "ssh_url": {
  2306                        "type": "string",
  2307                        "x-go-name": "SSHURL"
  2308                      },
  2309                      "stars_count": {
  2310                        "type": "integer",
  2311                        "format": "int64",
  2312                        "x-go-name": "Stars"
  2313                      },
  2314                      "updated_at": {
  2315                        "type": "string",
  2316                        "format": "date-time",
  2317                        "x-go-name": "Updated"
  2318                      },
  2319                      "watchers_count": {
  2320                        "type": "integer",
  2321                        "format": "int64",
  2322                        "x-go-name": "Watchers"
  2323                      },
  2324                      "website": {
  2325                        "type": "string",
  2326                        "x-go-name": "Website"
  2327                      }
  2328                    },
  2329                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2330                  },
  2331                  "x-go-name": "Data"
  2332                },
  2333                "ok": {
  2334                  "type": "boolean",
  2335                  "x-go-name": "OK"
  2336                }
  2337              },
  2338              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2339            }
  2340          },
  2341          "422": {
  2342            "description": "APIValidationError is error format response related to input validation",
  2343            "headers": {
  2344              "message": {
  2345                "type": "string"
  2346              },
  2347              "url": {
  2348                "type": "string"
  2349              }
  2350            }
  2351          }
  2352        }
  2353      }
  2354    },
  2355    "/repos/{owner}/{repo}": {
  2356      "get": {
  2357        "produces": [
  2358          "application/json"
  2359        ],
  2360        "tags": [
  2361          "repository"
  2362        ],
  2363        "summary": "Get a repository",
  2364        "operationId": "repoGet",
  2365        "parameters": [
  2366          {
  2367            "type": "string",
  2368            "description": "owner of the repo",
  2369            "name": "owner",
  2370            "in": "path",
  2371            "required": true
  2372          },
  2373          {
  2374            "type": "string",
  2375            "description": "name of the repo",
  2376            "name": "repo",
  2377            "in": "path",
  2378            "required": true
  2379          }
  2380        ],
  2381        "responses": {
  2382          "200": {
  2383            "description": "Repository",
  2384            "schema": {
  2385              "$ref": "#/definitions/Repository"
  2386            }
  2387          }
  2388        }
  2389      },
  2390      "delete": {
  2391        "produces": [
  2392          "application/json"
  2393        ],
  2394        "tags": [
  2395          "repository"
  2396        ],
  2397        "summary": "Delete a repository",
  2398        "operationId": "repoDelete",
  2399        "parameters": [
  2400          {
  2401            "type": "string",
  2402            "description": "owner of the repo to delete",
  2403            "name": "owner",
  2404            "in": "path",
  2405            "required": true
  2406          },
  2407          {
  2408            "type": "string",
  2409            "description": "name of the repo to delete",
  2410            "name": "repo",
  2411            "in": "path",
  2412            "required": true
  2413          }
  2414        ],
  2415        "responses": {
  2416          "204": {
  2417            "description": "APIEmpty is an empty response"
  2418          },
  2419          "403": {
  2420            "description": "APIForbiddenError is a forbidden error response",
  2421            "headers": {
  2422              "message": {
  2423                "type": "string"
  2424              },
  2425              "url": {
  2426                "type": "string"
  2427              }
  2428            }
  2429          }
  2430        }
  2431      }
  2432    },
  2433    "/repos/{owner}/{repo}/archive/{archive}": {
  2434      "get": {
  2435        "produces": [
  2436          "application/json"
  2437        ],
  2438        "tags": [
  2439          "repository"
  2440        ],
  2441        "summary": "Get an archive of a repository",
  2442        "operationId": "repoGetArchive",
  2443        "parameters": [
  2444          {
  2445            "type": "string",
  2446            "description": "owner of the repo",
  2447            "name": "owner",
  2448            "in": "path",
  2449            "required": true
  2450          },
  2451          {
  2452            "type": "string",
  2453            "description": "name of the repo",
  2454            "name": "repo",
  2455            "in": "path",
  2456            "required": true
  2457          },
  2458          {
  2459            "type": "string",
  2460            "description": "archive to download, consisting of a git reference and archive",
  2461            "name": "archive",
  2462            "in": "path",
  2463            "required": true
  2464          }
  2465        ],
  2466        "responses": {
  2467          "200": {
  2468            "description": "success"
  2469          }
  2470        }
  2471      }
  2472    },
  2473    "/repos/{owner}/{repo}/branches": {
  2474      "get": {
  2475        "produces": [
  2476          "application/json"
  2477        ],
  2478        "tags": [
  2479          "repository"
  2480        ],
  2481        "summary": "List a repository's branches",
  2482        "operationId": "repoListBranches",
  2483        "parameters": [
  2484          {
  2485            "type": "string",
  2486            "description": "owner of the repo",
  2487            "name": "owner",
  2488            "in": "path",
  2489            "required": true
  2490          },
  2491          {
  2492            "type": "string",
  2493            "description": "name of the repo",
  2494            "name": "repo",
  2495            "in": "path",
  2496            "required": true
  2497          }
  2498        ],
  2499        "responses": {
  2500          "200": {
  2501            "description": "BranchList",
  2502            "schema": {
  2503              "type": "array",
  2504              "items": {
  2505                "description": "Branch represents a repository branch",
  2506                "type": "object",
  2507                "properties": {
  2508                  "commit": {
  2509                    "description": "PayloadCommit represents a commit",
  2510                    "type": "object",
  2511                    "properties": {
  2512                      "author": {
  2513                        "description": "PayloadUser represents the author or committer of a commit",
  2514                        "type": "object",
  2515                        "properties": {
  2516                          "email": {
  2517                            "type": "string",
  2518                            "format": "email",
  2519                            "x-go-name": "Email"
  2520                          },
  2521                          "name": {
  2522                            "description": "Full name of the commit author",
  2523                            "type": "string",
  2524                            "x-go-name": "Name"
  2525                          },
  2526                          "username": {
  2527                            "type": "string",
  2528                            "x-go-name": "UserName"
  2529                          }
  2530                        },
  2531                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2532                      },
  2533                      "committer": {
  2534                        "description": "PayloadUser represents the author or committer of a commit",
  2535                        "type": "object",
  2536                        "properties": {
  2537                          "email": {
  2538                            "type": "string",
  2539                            "format": "email",
  2540                            "x-go-name": "Email"
  2541                          },
  2542                          "name": {
  2543                            "description": "Full name of the commit author",
  2544                            "type": "string",
  2545                            "x-go-name": "Name"
  2546                          },
  2547                          "username": {
  2548                            "type": "string",
  2549                            "x-go-name": "UserName"
  2550                          }
  2551                        },
  2552                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2553                      },
  2554                      "id": {
  2555                        "description": "sha1 hash of the commit",
  2556                        "type": "string",
  2557                        "x-go-name": "ID"
  2558                      },
  2559                      "message": {
  2560                        "type": "string",
  2561                        "x-go-name": "Message"
  2562                      },
  2563                      "timestamp": {
  2564                        "type": "string",
  2565                        "format": "date-time",
  2566                        "x-go-name": "Timestamp"
  2567                      },
  2568                      "url": {
  2569                        "type": "string",
  2570                        "x-go-name": "URL"
  2571                      },
  2572                      "verification": {
  2573                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  2574                        "type": "object",
  2575                        "properties": {
  2576                          "payload": {
  2577                            "type": "string",
  2578                            "x-go-name": "Payload"
  2579                          },
  2580                          "reason": {
  2581                            "type": "string",
  2582                            "x-go-name": "Reason"
  2583                          },
  2584                          "signature": {
  2585                            "type": "string",
  2586                            "x-go-name": "Signature"
  2587                          },
  2588                          "verified": {
  2589                            "type": "boolean",
  2590                            "x-go-name": "Verified"
  2591                          }
  2592                        },
  2593                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2594                      }
  2595                    },
  2596                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2597                  },
  2598                  "name": {
  2599                    "type": "string",
  2600                    "x-go-name": "Name"
  2601                  }
  2602                },
  2603                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2604              }
  2605            }
  2606          }
  2607        }
  2608      }
  2609    },
  2610    "/repos/{owner}/{repo}/branches/{branch}": {
  2611      "get": {
  2612        "produces": [
  2613          "application/json"
  2614        ],
  2615        "tags": [
  2616          "repository"
  2617        ],
  2618        "summary": "List a repository's branches",
  2619        "operationId": "repoGetBranch",
  2620        "parameters": [
  2621          {
  2622            "type": "string",
  2623            "description": "owner of the repo",
  2624            "name": "owner",
  2625            "in": "path",
  2626            "required": true
  2627          },
  2628          {
  2629            "type": "string",
  2630            "description": "name of the repo",
  2631            "name": "repo",
  2632            "in": "path",
  2633            "required": true
  2634          },
  2635          {
  2636            "type": "string",
  2637            "description": "branch to get",
  2638            "name": "branch",
  2639            "in": "path",
  2640            "required": true
  2641          }
  2642        ],
  2643        "responses": {
  2644          "200": {
  2645            "description": "Branch",
  2646            "schema": {
  2647              "description": "Branch represents a repository branch",
  2648              "type": "object",
  2649              "properties": {
  2650                "commit": {
  2651                  "description": "PayloadCommit represents a commit",
  2652                  "type": "object",
  2653                  "properties": {
  2654                    "author": {
  2655                      "description": "PayloadUser represents the author or committer of a commit",
  2656                      "type": "object",
  2657                      "properties": {
  2658                        "email": {
  2659                          "type": "string",
  2660                          "format": "email",
  2661                          "x-go-name": "Email"
  2662                        },
  2663                        "name": {
  2664                          "description": "Full name of the commit author",
  2665                          "type": "string",
  2666                          "x-go-name": "Name"
  2667                        },
  2668                        "username": {
  2669                          "type": "string",
  2670                          "x-go-name": "UserName"
  2671                        }
  2672                      },
  2673                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2674                    },
  2675                    "committer": {
  2676                      "description": "PayloadUser represents the author or committer of a commit",
  2677                      "type": "object",
  2678                      "properties": {
  2679                        "email": {
  2680                          "type": "string",
  2681                          "format": "email",
  2682                          "x-go-name": "Email"
  2683                        },
  2684                        "name": {
  2685                          "description": "Full name of the commit author",
  2686                          "type": "string",
  2687                          "x-go-name": "Name"
  2688                        },
  2689                        "username": {
  2690                          "type": "string",
  2691                          "x-go-name": "UserName"
  2692                        }
  2693                      },
  2694                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2695                    },
  2696                    "id": {
  2697                      "description": "sha1 hash of the commit",
  2698                      "type": "string",
  2699                      "x-go-name": "ID"
  2700                    },
  2701                    "message": {
  2702                      "type": "string",
  2703                      "x-go-name": "Message"
  2704                    },
  2705                    "timestamp": {
  2706                      "type": "string",
  2707                      "format": "date-time",
  2708                      "x-go-name": "Timestamp"
  2709                    },
  2710                    "url": {
  2711                      "type": "string",
  2712                      "x-go-name": "URL"
  2713                    },
  2714                    "verification": {
  2715                      "description": "PayloadCommitVerification represents the GPG verification of a commit",
  2716                      "type": "object",
  2717                      "properties": {
  2718                        "payload": {
  2719                          "type": "string",
  2720                          "x-go-name": "Payload"
  2721                        },
  2722                        "reason": {
  2723                          "type": "string",
  2724                          "x-go-name": "Reason"
  2725                        },
  2726                        "signature": {
  2727                          "type": "string",
  2728                          "x-go-name": "Signature"
  2729                        },
  2730                        "verified": {
  2731                          "type": "boolean",
  2732                          "x-go-name": "Verified"
  2733                        }
  2734                      },
  2735                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2736                    }
  2737                  },
  2738                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2739                },
  2740                "name": {
  2741                  "type": "string",
  2742                  "x-go-name": "Name"
  2743                }
  2744              },
  2745              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2746            }
  2747          }
  2748        }
  2749      }
  2750    },
  2751    "/repos/{owner}/{repo}/collaborators": {
  2752      "get": {
  2753        "produces": [
  2754          "application/json"
  2755        ],
  2756        "tags": [
  2757          "repository"
  2758        ],
  2759        "summary": "List a repository's collaborators",
  2760        "operationId": "repoListCollaborators",
  2761        "parameters": [
  2762          {
  2763            "type": "string",
  2764            "description": "owner of the repo",
  2765            "name": "owner",
  2766            "in": "path",
  2767            "required": true
  2768          },
  2769          {
  2770            "type": "string",
  2771            "description": "name of the repo",
  2772            "name": "repo",
  2773            "in": "path",
  2774            "required": true
  2775          }
  2776        ],
  2777        "responses": {
  2778          "200": {
  2779            "description": "UserList",
  2780            "schema": {
  2781              "type": "array",
  2782              "items": {
  2783                "description": "User represents a user",
  2784                "type": "object",
  2785                "properties": {
  2786                  "avatar_url": {
  2787                    "description": "URL to the user's avatar",
  2788                    "type": "string",
  2789                    "x-go-name": "AvatarURL"
  2790                  },
  2791                  "email": {
  2792                    "type": "string",
  2793                    "format": "email",
  2794                    "x-go-name": "Email"
  2795                  },
  2796                  "full_name": {
  2797                    "description": "the user's full name",
  2798                    "type": "string",
  2799                    "x-go-name": "FullName"
  2800                  },
  2801                  "id": {
  2802                    "description": "the user's id",
  2803                    "type": "integer",
  2804                    "format": "int64",
  2805                    "x-go-name": "ID"
  2806                  },
  2807                  "language": {
  2808                    "description": "User locale",
  2809                    "type": "string",
  2810                    "x-go-name": "Language"
  2811                  },
  2812                  "login": {
  2813                    "description": "the user's username",
  2814                    "type": "string",
  2815                    "x-go-name": "UserName"
  2816                  }
  2817                },
  2818                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2819              }
  2820            }
  2821          }
  2822        }
  2823      }
  2824    },
  2825    "/repos/{owner}/{repo}/collaborators/{collaborator}": {
  2826      "get": {
  2827        "produces": [
  2828          "application/json"
  2829        ],
  2830        "tags": [
  2831          "repository"
  2832        ],
  2833        "summary": "Check if a user is a collaborator of a repository",
  2834        "operationId": "repoCheckCollaborator",
  2835        "parameters": [
  2836          {
  2837            "type": "string",
  2838            "description": "owner of the repo",
  2839            "name": "owner",
  2840            "in": "path",
  2841            "required": true
  2842          },
  2843          {
  2844            "type": "string",
  2845            "description": "name of the repo",
  2846            "name": "repo",
  2847            "in": "path",
  2848            "required": true
  2849          },
  2850          {
  2851            "type": "string",
  2852            "description": "username of the collaborator",
  2853            "name": "collaborator",
  2854            "in": "path",
  2855            "required": true
  2856          }
  2857        ],
  2858        "responses": {
  2859          "204": {
  2860            "description": "APIEmpty is an empty response"
  2861          },
  2862          "404": {
  2863            "description": "APIEmpty is an empty response"
  2864          }
  2865        }
  2866      },
  2867      "put": {
  2868        "produces": [
  2869          "application/json"
  2870        ],
  2871        "tags": [
  2872          "repository"
  2873        ],
  2874        "summary": "Add a collaborator to a repository",
  2875        "operationId": "repoAddCollaborator",
  2876        "parameters": [
  2877          {
  2878            "type": "string",
  2879            "description": "owner of the repo",
  2880            "name": "owner",
  2881            "in": "path",
  2882            "required": true
  2883          },
  2884          {
  2885            "type": "string",
  2886            "description": "name of the repo",
  2887            "name": "repo",
  2888            "in": "path",
  2889            "required": true
  2890          },
  2891          {
  2892            "type": "string",
  2893            "description": "username of the collaborator to add",
  2894            "name": "collaborator",
  2895            "in": "path",
  2896            "required": true
  2897          },
  2898          {
  2899            "name": "body",
  2900            "in": "body",
  2901            "schema": {
  2902              "description": "AddCollaboratorOption options when adding a user as a collaborator of a repository",
  2903              "type": "object",
  2904              "properties": {
  2905                "permission": {
  2906                  "type": "string",
  2907                  "x-go-name": "Permission"
  2908                }
  2909              },
  2910              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  2911            }
  2912          }
  2913        ],
  2914        "responses": {
  2915          "204": {
  2916            "description": "APIEmpty is an empty response"
  2917          }
  2918        }
  2919      },
  2920      "delete": {
  2921        "produces": [
  2922          "application/json"
  2923        ],
  2924        "tags": [
  2925          "repository"
  2926        ],
  2927        "summary": "Delete a collaborator from a repository",
  2928        "operationId": "repoDeleteCollaborator",
  2929        "parameters": [
  2930          {
  2931            "type": "string",
  2932            "description": "owner of the repo",
  2933            "name": "owner",
  2934            "in": "path",
  2935            "required": true
  2936          },
  2937          {
  2938            "type": "string",
  2939            "description": "name of the repo",
  2940            "name": "repo",
  2941            "in": "path",
  2942            "required": true
  2943          },
  2944          {
  2945            "type": "string",
  2946            "description": "username of the collaborator to delete",
  2947            "name": "collaborator",
  2948            "in": "path",
  2949            "required": true
  2950          }
  2951        ],
  2952        "responses": {
  2953          "204": {
  2954            "description": "APIEmpty is an empty response"
  2955          }
  2956        }
  2957      }
  2958    },
  2959    "/repos/{owner}/{repo}/commits/{ref}/statuses": {
  2960      "get": {
  2961        "produces": [
  2962          "application/json"
  2963        ],
  2964        "tags": [
  2965          "repository"
  2966        ],
  2967        "summary": "Get a commit's combined status, by branch/tag/commit reference",
  2968        "operationId": "repoGetCombinedStatusByRef",
  2969        "parameters": [
  2970          {
  2971            "type": "string",
  2972            "description": "owner of the repo",
  2973            "name": "owner",
  2974            "in": "path",
  2975            "required": true
  2976          },
  2977          {
  2978            "type": "string",
  2979            "description": "name of the repo",
  2980            "name": "repo",
  2981            "in": "path",
  2982            "required": true
  2983          },
  2984          {
  2985            "type": "string",
  2986            "description": "name of branch/tag/commit",
  2987            "name": "ref",
  2988            "in": "path",
  2989            "required": true
  2990          }
  2991        ],
  2992        "responses": {
  2993          "200": {
  2994            "description": "Status",
  2995            "schema": {
  2996              "description": "Status holds a single Status of a single Commit",
  2997              "type": "object",
  2998              "properties": {
  2999                "context": {
  3000                  "type": "string",
  3001                  "x-go-name": "Context"
  3002                },
  3003                "created_at": {
  3004                  "type": "string",
  3005                  "format": "date-time",
  3006                  "x-go-name": "Created"
  3007                },
  3008                "creator": {
  3009                  "description": "User represents a user",
  3010                  "type": "object",
  3011                  "properties": {
  3012                    "avatar_url": {
  3013                      "description": "URL to the user's avatar",
  3014                      "type": "string",
  3015                      "x-go-name": "AvatarURL"
  3016                    },
  3017                    "email": {
  3018                      "type": "string",
  3019                      "format": "email",
  3020                      "x-go-name": "Email"
  3021                    },
  3022                    "full_name": {
  3023                      "description": "the user's full name",
  3024                      "type": "string",
  3025                      "x-go-name": "FullName"
  3026                    },
  3027                    "id": {
  3028                      "description": "the user's id",
  3029                      "type": "integer",
  3030                      "format": "int64",
  3031                      "x-go-name": "ID"
  3032                    },
  3033                    "language": {
  3034                      "description": "User locale",
  3035                      "type": "string",
  3036                      "x-go-name": "Language"
  3037                    },
  3038                    "login": {
  3039                      "description": "the user's username",
  3040                      "type": "string",
  3041                      "x-go-name": "UserName"
  3042                    }
  3043                  },
  3044                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3045                },
  3046                "description": {
  3047                  "type": "string",
  3048                  "x-go-name": "Description"
  3049                },
  3050                "id": {
  3051                  "type": "integer",
  3052                  "format": "int64",
  3053                  "x-go-name": "ID"
  3054                },
  3055                "status": {
  3056                  "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
  3057                  "type": "string",
  3058                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3059                },
  3060                "target_url": {
  3061                  "type": "string",
  3062                  "x-go-name": "TargetURL"
  3063                },
  3064                "updated_at": {
  3065                  "type": "string",
  3066                  "format": "date-time",
  3067                  "x-go-name": "Updated"
  3068                },
  3069                "url": {
  3070                  "type": "string",
  3071                  "x-go-name": "URL"
  3072                }
  3073              },
  3074              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3075            }
  3076          }
  3077        }
  3078      }
  3079    },
  3080    "/repos/{owner}/{repo}/editorconfig/{filepath}": {
  3081      "get": {
  3082        "produces": [
  3083          "application/json"
  3084        ],
  3085        "tags": [
  3086          "repository"
  3087        ],
  3088        "summary": "Get the EditorConfig definitions of a file in a repository",
  3089        "operationId": "repoGetEditorConfig",
  3090        "parameters": [
  3091          {
  3092            "type": "string",
  3093            "description": "owner of the repo",
  3094            "name": "owner",
  3095            "in": "path",
  3096            "required": true
  3097          },
  3098          {
  3099            "type": "string",
  3100            "description": "name of the repo",
  3101            "name": "repo",
  3102            "in": "path",
  3103            "required": true
  3104          },
  3105          {
  3106            "type": "string",
  3107            "description": "filepath of file to get",
  3108            "name": "filepath",
  3109            "in": "path",
  3110            "required": true
  3111          }
  3112        ],
  3113        "responses": {
  3114          "200": {
  3115            "description": "success"
  3116          }
  3117        }
  3118      }
  3119    },
  3120    "/repos/{owner}/{repo}/forks": {
  3121      "get": {
  3122        "produces": [
  3123          "application/json"
  3124        ],
  3125        "tags": [
  3126          "repository"
  3127        ],
  3128        "summary": "List a repository's forks",
  3129        "operationId": "listForks",
  3130        "parameters": [
  3131          {
  3132            "type": "string",
  3133            "description": "owner of the repo",
  3134            "name": "owner",
  3135            "in": "path",
  3136            "required": true
  3137          },
  3138          {
  3139            "type": "string",
  3140            "description": "name of the repo",
  3141            "name": "repo",
  3142            "in": "path",
  3143            "required": true
  3144          }
  3145        ],
  3146        "responses": {
  3147          "200": {
  3148            "description": "RepositoryList",
  3149            "schema": {
  3150              "type": "array",
  3151              "items": {
  3152                "$ref": "#/definitions/Repository"
  3153              }
  3154            }
  3155          }
  3156        }
  3157      },
  3158      "post": {
  3159        "produces": [
  3160          "application/json"
  3161        ],
  3162        "tags": [
  3163          "repository"
  3164        ],
  3165        "summary": "Fork a repository",
  3166        "operationId": "createFork",
  3167        "parameters": [
  3168          {
  3169            "type": "string",
  3170            "description": "owner of the repo to fork",
  3171            "name": "owner",
  3172            "in": "path",
  3173            "required": true
  3174          },
  3175          {
  3176            "type": "string",
  3177            "description": "name of the repo to fork",
  3178            "name": "repo",
  3179            "in": "path",
  3180            "required": true
  3181          },
  3182          {
  3183            "name": "body",
  3184            "in": "body",
  3185            "schema": {
  3186              "description": "CreateForkOption options for creating a fork",
  3187              "type": "object",
  3188              "properties": {
  3189                "organization": {
  3190                  "description": "organization name, if forking into an organization",
  3191                  "type": "string",
  3192                  "x-go-name": "Organization"
  3193                }
  3194              },
  3195              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3196            }
  3197          }
  3198        ],
  3199        "responses": {
  3200          "202": {
  3201            "description": "Repository",
  3202            "schema": {
  3203              "$ref": "#/definitions/Repository"
  3204            }
  3205          }
  3206        }
  3207      }
  3208    },
  3209    "/repos/{owner}/{repo}/hooks": {
  3210      "get": {
  3211        "produces": [
  3212          "application/json"
  3213        ],
  3214        "tags": [
  3215          "repository"
  3216        ],
  3217        "summary": "List the hooks in a repository",
  3218        "operationId": "repoListHooks",
  3219        "parameters": [
  3220          {
  3221            "type": "string",
  3222            "description": "owner of the repo",
  3223            "name": "owner",
  3224            "in": "path",
  3225            "required": true
  3226          },
  3227          {
  3228            "type": "string",
  3229            "description": "name of the repo",
  3230            "name": "repo",
  3231            "in": "path",
  3232            "required": true
  3233          }
  3234        ],
  3235        "responses": {
  3236          "200": {
  3237            "description": "HookList",
  3238            "schema": {
  3239              "type": "array",
  3240              "items": {
  3241                "description": "Branch represents a repository branch",
  3242                "type": "object",
  3243                "properties": {
  3244                  "commit": {
  3245                    "description": "PayloadCommit represents a commit",
  3246                    "type": "object",
  3247                    "properties": {
  3248                      "author": {
  3249                        "description": "PayloadUser represents the author or committer of a commit",
  3250                        "type": "object",
  3251                        "properties": {
  3252                          "email": {
  3253                            "type": "string",
  3254                            "format": "email",
  3255                            "x-go-name": "Email"
  3256                          },
  3257                          "name": {
  3258                            "description": "Full name of the commit author",
  3259                            "type": "string",
  3260                            "x-go-name": "Name"
  3261                          },
  3262                          "username": {
  3263                            "type": "string",
  3264                            "x-go-name": "UserName"
  3265                          }
  3266                        },
  3267                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3268                      },
  3269                      "committer": {
  3270                        "description": "PayloadUser represents the author or committer of a commit",
  3271                        "type": "object",
  3272                        "properties": {
  3273                          "email": {
  3274                            "type": "string",
  3275                            "format": "email",
  3276                            "x-go-name": "Email"
  3277                          },
  3278                          "name": {
  3279                            "description": "Full name of the commit author",
  3280                            "type": "string",
  3281                            "x-go-name": "Name"
  3282                          },
  3283                          "username": {
  3284                            "type": "string",
  3285                            "x-go-name": "UserName"
  3286                          }
  3287                        },
  3288                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3289                      },
  3290                      "id": {
  3291                        "description": "sha1 hash of the commit",
  3292                        "type": "string",
  3293                        "x-go-name": "ID"
  3294                      },
  3295                      "message": {
  3296                        "type": "string",
  3297                        "x-go-name": "Message"
  3298                      },
  3299                      "timestamp": {
  3300                        "type": "string",
  3301                        "format": "date-time",
  3302                        "x-go-name": "Timestamp"
  3303                      },
  3304                      "url": {
  3305                        "type": "string",
  3306                        "x-go-name": "URL"
  3307                      },
  3308                      "verification": {
  3309                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  3310                        "type": "object",
  3311                        "properties": {
  3312                          "payload": {
  3313                            "type": "string",
  3314                            "x-go-name": "Payload"
  3315                          },
  3316                          "reason": {
  3317                            "type": "string",
  3318                            "x-go-name": "Reason"
  3319                          },
  3320                          "signature": {
  3321                            "type": "string",
  3322                            "x-go-name": "Signature"
  3323                          },
  3324                          "verified": {
  3325                            "type": "boolean",
  3326                            "x-go-name": "Verified"
  3327                          }
  3328                        },
  3329                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3330                      }
  3331                    },
  3332                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3333                  },
  3334                  "name": {
  3335                    "type": "string",
  3336                    "x-go-name": "Name"
  3337                  }
  3338                },
  3339                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3340              }
  3341            }
  3342          }
  3343        }
  3344      },
  3345      "post": {
  3346        "consumes": [
  3347          "application/json"
  3348        ],
  3349        "produces": [
  3350          "application/json"
  3351        ],
  3352        "tags": [
  3353          "repository"
  3354        ],
  3355        "summary": "Create a hook",
  3356        "operationId": "repoCreateHook",
  3357        "parameters": [
  3358          {
  3359            "type": "string",
  3360            "description": "owner of the repo",
  3361            "name": "owner",
  3362            "in": "path",
  3363            "required": true
  3364          },
  3365          {
  3366            "type": "string",
  3367            "description": "name of the repo",
  3368            "name": "repo",
  3369            "in": "path",
  3370            "required": true
  3371          },
  3372          {
  3373            "name": "body",
  3374            "in": "body",
  3375            "schema": {
  3376              "description": "CreateHookOption options when create a hook",
  3377              "type": "object",
  3378              "required": [
  3379                "type",
  3380                "config"
  3381              ],
  3382              "properties": {
  3383                "active": {
  3384                  "type": "boolean",
  3385                  "default": false,
  3386                  "x-go-name": "Active"
  3387                },
  3388                "config": {
  3389                  "type": "object",
  3390                  "additionalProperties": {
  3391                    "type": "string"
  3392                  },
  3393                  "x-go-name": "Config"
  3394                },
  3395                "events": {
  3396                  "type": "array",
  3397                  "items": {
  3398                    "type": "string"
  3399                  },
  3400                  "x-go-name": "Events"
  3401                },
  3402                "type": {
  3403                  "type": "string",
  3404                  "enum": [
  3405                    "gitea",
  3406                    "gogs",
  3407                    "slack",
  3408                    "discord"
  3409                  ],
  3410                  "x-go-name": "Type"
  3411                }
  3412              },
  3413              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3414            }
  3415          }
  3416        ],
  3417        "responses": {
  3418          "201": {
  3419            "description": "Hook",
  3420            "schema": {
  3421              "type": "array",
  3422              "items": {
  3423                "description": "Branch represents a repository branch",
  3424                "type": "object",
  3425                "properties": {
  3426                  "commit": {
  3427                    "description": "PayloadCommit represents a commit",
  3428                    "type": "object",
  3429                    "properties": {
  3430                      "author": {
  3431                        "description": "PayloadUser represents the author or committer of a commit",
  3432                        "type": "object",
  3433                        "properties": {
  3434                          "email": {
  3435                            "type": "string",
  3436                            "format": "email",
  3437                            "x-go-name": "Email"
  3438                          },
  3439                          "name": {
  3440                            "description": "Full name of the commit author",
  3441                            "type": "string",
  3442                            "x-go-name": "Name"
  3443                          },
  3444                          "username": {
  3445                            "type": "string",
  3446                            "x-go-name": "UserName"
  3447                          }
  3448                        },
  3449                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3450                      },
  3451                      "committer": {
  3452                        "description": "PayloadUser represents the author or committer of a commit",
  3453                        "type": "object",
  3454                        "properties": {
  3455                          "email": {
  3456                            "type": "string",
  3457                            "format": "email",
  3458                            "x-go-name": "Email"
  3459                          },
  3460                          "name": {
  3461                            "description": "Full name of the commit author",
  3462                            "type": "string",
  3463                            "x-go-name": "Name"
  3464                          },
  3465                          "username": {
  3466                            "type": "string",
  3467                            "x-go-name": "UserName"
  3468                          }
  3469                        },
  3470                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3471                      },
  3472                      "id": {
  3473                        "description": "sha1 hash of the commit",
  3474                        "type": "string",
  3475                        "x-go-name": "ID"
  3476                      },
  3477                      "message": {
  3478                        "type": "string",
  3479                        "x-go-name": "Message"
  3480                      },
  3481                      "timestamp": {
  3482                        "type": "string",
  3483                        "format": "date-time",
  3484                        "x-go-name": "Timestamp"
  3485                      },
  3486                      "url": {
  3487                        "type": "string",
  3488                        "x-go-name": "URL"
  3489                      },
  3490                      "verification": {
  3491                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  3492                        "type": "object",
  3493                        "properties": {
  3494                          "payload": {
  3495                            "type": "string",
  3496                            "x-go-name": "Payload"
  3497                          },
  3498                          "reason": {
  3499                            "type": "string",
  3500                            "x-go-name": "Reason"
  3501                          },
  3502                          "signature": {
  3503                            "type": "string",
  3504                            "x-go-name": "Signature"
  3505                          },
  3506                          "verified": {
  3507                            "type": "boolean",
  3508                            "x-go-name": "Verified"
  3509                          }
  3510                        },
  3511                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3512                      }
  3513                    },
  3514                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3515                  },
  3516                  "name": {
  3517                    "type": "string",
  3518                    "x-go-name": "Name"
  3519                  }
  3520                },
  3521                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3522              }
  3523            }
  3524          }
  3525        }
  3526      }
  3527    },
  3528    "/repos/{owner}/{repo}/hooks/{id}": {
  3529      "get": {
  3530        "produces": [
  3531          "application/json"
  3532        ],
  3533        "tags": [
  3534          "repository"
  3535        ],
  3536        "summary": "Get a hook",
  3537        "operationId": "repoGetHook",
  3538        "parameters": [
  3539          {
  3540            "type": "string",
  3541            "description": "owner of the repo",
  3542            "name": "owner",
  3543            "in": "path",
  3544            "required": true
  3545          },
  3546          {
  3547            "type": "string",
  3548            "description": "name of the repo",
  3549            "name": "repo",
  3550            "in": "path",
  3551            "required": true
  3552          },
  3553          {
  3554            "type": "integer",
  3555            "description": "id of the hook to get",
  3556            "name": "id",
  3557            "in": "path",
  3558            "required": true
  3559          }
  3560        ],
  3561        "responses": {
  3562          "200": {
  3563            "description": "Hook",
  3564            "schema": {
  3565              "type": "array",
  3566              "items": {
  3567                "description": "Branch represents a repository branch",
  3568                "type": "object",
  3569                "properties": {
  3570                  "commit": {
  3571                    "description": "PayloadCommit represents a commit",
  3572                    "type": "object",
  3573                    "properties": {
  3574                      "author": {
  3575                        "description": "PayloadUser represents the author or committer of a commit",
  3576                        "type": "object",
  3577                        "properties": {
  3578                          "email": {
  3579                            "type": "string",
  3580                            "format": "email",
  3581                            "x-go-name": "Email"
  3582                          },
  3583                          "name": {
  3584                            "description": "Full name of the commit author",
  3585                            "type": "string",
  3586                            "x-go-name": "Name"
  3587                          },
  3588                          "username": {
  3589                            "type": "string",
  3590                            "x-go-name": "UserName"
  3591                          }
  3592                        },
  3593                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3594                      },
  3595                      "committer": {
  3596                        "description": "PayloadUser represents the author or committer of a commit",
  3597                        "type": "object",
  3598                        "properties": {
  3599                          "email": {
  3600                            "type": "string",
  3601                            "format": "email",
  3602                            "x-go-name": "Email"
  3603                          },
  3604                          "name": {
  3605                            "description": "Full name of the commit author",
  3606                            "type": "string",
  3607                            "x-go-name": "Name"
  3608                          },
  3609                          "username": {
  3610                            "type": "string",
  3611                            "x-go-name": "UserName"
  3612                          }
  3613                        },
  3614                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3615                      },
  3616                      "id": {
  3617                        "description": "sha1 hash of the commit",
  3618                        "type": "string",
  3619                        "x-go-name": "ID"
  3620                      },
  3621                      "message": {
  3622                        "type": "string",
  3623                        "x-go-name": "Message"
  3624                      },
  3625                      "timestamp": {
  3626                        "type": "string",
  3627                        "format": "date-time",
  3628                        "x-go-name": "Timestamp"
  3629                      },
  3630                      "url": {
  3631                        "type": "string",
  3632                        "x-go-name": "URL"
  3633                      },
  3634                      "verification": {
  3635                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  3636                        "type": "object",
  3637                        "properties": {
  3638                          "payload": {
  3639                            "type": "string",
  3640                            "x-go-name": "Payload"
  3641                          },
  3642                          "reason": {
  3643                            "type": "string",
  3644                            "x-go-name": "Reason"
  3645                          },
  3646                          "signature": {
  3647                            "type": "string",
  3648                            "x-go-name": "Signature"
  3649                          },
  3650                          "verified": {
  3651                            "type": "boolean",
  3652                            "x-go-name": "Verified"
  3653                          }
  3654                        },
  3655                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3656                      }
  3657                    },
  3658                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3659                  },
  3660                  "name": {
  3661                    "type": "string",
  3662                    "x-go-name": "Name"
  3663                  }
  3664                },
  3665                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3666              }
  3667            }
  3668          }
  3669        }
  3670      },
  3671      "delete": {
  3672        "produces": [
  3673          "application/json"
  3674        ],
  3675        "tags": [
  3676          "repository"
  3677        ],
  3678        "summary": "Delete a hook in a repository",
  3679        "operationId": "repoDeleteHook",
  3680        "parameters": [
  3681          {
  3682            "type": "string",
  3683            "description": "owner of the repo",
  3684            "name": "owner",
  3685            "in": "path",
  3686            "required": true
  3687          },
  3688          {
  3689            "type": "string",
  3690            "description": "name of the repo",
  3691            "name": "repo",
  3692            "in": "path",
  3693            "required": true
  3694          },
  3695          {
  3696            "type": "integer",
  3697            "description": "id of the hook to delete",
  3698            "name": "id",
  3699            "in": "path",
  3700            "required": true
  3701          }
  3702        ],
  3703        "responses": {
  3704          "204": {
  3705            "description": "APIEmpty is an empty response"
  3706          },
  3707          "404": {
  3708            "description": "APINotFound is a not found empty response"
  3709          }
  3710        }
  3711      },
  3712      "patch": {
  3713        "produces": [
  3714          "application/json"
  3715        ],
  3716        "tags": [
  3717          "repository"
  3718        ],
  3719        "summary": "Edit a hook in a repository",
  3720        "operationId": "repoEditHook",
  3721        "parameters": [
  3722          {
  3723            "type": "string",
  3724            "description": "owner of the repo",
  3725            "name": "owner",
  3726            "in": "path",
  3727            "required": true
  3728          },
  3729          {
  3730            "type": "string",
  3731            "description": "name of the repo",
  3732            "name": "repo",
  3733            "in": "path",
  3734            "required": true
  3735          },
  3736          {
  3737            "type": "integer",
  3738            "description": "index of the hook",
  3739            "name": "id",
  3740            "in": "path",
  3741            "required": true
  3742          },
  3743          {
  3744            "name": "body",
  3745            "in": "body",
  3746            "schema": {
  3747              "description": "EditHookOption options when modify one hook",
  3748              "type": "object",
  3749              "properties": {
  3750                "active": {
  3751                  "type": "boolean",
  3752                  "x-go-name": "Active"
  3753                },
  3754                "config": {
  3755                  "type": "object",
  3756                  "additionalProperties": {
  3757                    "type": "string"
  3758                  },
  3759                  "x-go-name": "Config"
  3760                },
  3761                "events": {
  3762                  "type": "array",
  3763                  "items": {
  3764                    "type": "string"
  3765                  },
  3766                  "x-go-name": "Events"
  3767                }
  3768              },
  3769              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3770            }
  3771          }
  3772        ],
  3773        "responses": {
  3774          "200": {
  3775            "description": "Hook",
  3776            "schema": {
  3777              "type": "array",
  3778              "items": {
  3779                "description": "Branch represents a repository branch",
  3780                "type": "object",
  3781                "properties": {
  3782                  "commit": {
  3783                    "description": "PayloadCommit represents a commit",
  3784                    "type": "object",
  3785                    "properties": {
  3786                      "author": {
  3787                        "description": "PayloadUser represents the author or committer of a commit",
  3788                        "type": "object",
  3789                        "properties": {
  3790                          "email": {
  3791                            "type": "string",
  3792                            "format": "email",
  3793                            "x-go-name": "Email"
  3794                          },
  3795                          "name": {
  3796                            "description": "Full name of the commit author",
  3797                            "type": "string",
  3798                            "x-go-name": "Name"
  3799                          },
  3800                          "username": {
  3801                            "type": "string",
  3802                            "x-go-name": "UserName"
  3803                          }
  3804                        },
  3805                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3806                      },
  3807                      "committer": {
  3808                        "description": "PayloadUser represents the author or committer of a commit",
  3809                        "type": "object",
  3810                        "properties": {
  3811                          "email": {
  3812                            "type": "string",
  3813                            "format": "email",
  3814                            "x-go-name": "Email"
  3815                          },
  3816                          "name": {
  3817                            "description": "Full name of the commit author",
  3818                            "type": "string",
  3819                            "x-go-name": "Name"
  3820                          },
  3821                          "username": {
  3822                            "type": "string",
  3823                            "x-go-name": "UserName"
  3824                          }
  3825                        },
  3826                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3827                      },
  3828                      "id": {
  3829                        "description": "sha1 hash of the commit",
  3830                        "type": "string",
  3831                        "x-go-name": "ID"
  3832                      },
  3833                      "message": {
  3834                        "type": "string",
  3835                        "x-go-name": "Message"
  3836                      },
  3837                      "timestamp": {
  3838                        "type": "string",
  3839                        "format": "date-time",
  3840                        "x-go-name": "Timestamp"
  3841                      },
  3842                      "url": {
  3843                        "type": "string",
  3844                        "x-go-name": "URL"
  3845                      },
  3846                      "verification": {
  3847                        "description": "PayloadCommitVerification represents the GPG verification of a commit",
  3848                        "type": "object",
  3849                        "properties": {
  3850                          "payload": {
  3851                            "type": "string",
  3852                            "x-go-name": "Payload"
  3853                          },
  3854                          "reason": {
  3855                            "type": "string",
  3856                            "x-go-name": "Reason"
  3857                          },
  3858                          "signature": {
  3859                            "type": "string",
  3860                            "x-go-name": "Signature"
  3861                          },
  3862                          "verified": {
  3863                            "type": "boolean",
  3864                            "x-go-name": "Verified"
  3865                          }
  3866                        },
  3867                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3868                      }
  3869                    },
  3870                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3871                  },
  3872                  "name": {
  3873                    "type": "string",
  3874                    "x-go-name": "Name"
  3875                  }
  3876                },
  3877                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  3878              }
  3879            }
  3880          }
  3881        }
  3882      }
  3883    },
  3884    "/repos/{owner}/{repo}/hooks/{id}/tests": {
  3885      "post": {
  3886        "produces": [
  3887          "application/json"
  3888        ],
  3889        "tags": [
  3890          "repository"
  3891        ],
  3892        "summary": "Test a push webhook",
  3893        "operationId": "repoTestHook",
  3894        "parameters": [
  3895          {
  3896            "type": "string",
  3897            "description": "owner of the repo",
  3898            "name": "owner",
  3899            "in": "path",
  3900            "required": true
  3901          },
  3902          {
  3903            "type": "string",
  3904            "description": "name of the repo",
  3905            "name": "repo",
  3906            "in": "path",
  3907            "required": true
  3908          },
  3909          {
  3910            "type": "integer",
  3911            "description": "id of the hook to test",
  3912            "name": "id",
  3913            "in": "path",
  3914            "required": true
  3915          }
  3916        ],
  3917        "responses": {
  3918          "204": {
  3919            "description": "APIEmpty is an empty response"
  3920          }
  3921        }
  3922      }
  3923    },
  3924    "/repos/{owner}/{repo}/issues": {
  3925      "get": {
  3926        "produces": [
  3927          "application/json"
  3928        ],
  3929        "tags": [
  3930          "issue"
  3931        ],
  3932        "summary": "List a repository's issues",
  3933        "operationId": "issueListIssues",
  3934        "parameters": [
  3935          {
  3936            "type": "string",
  3937            "description": "owner of the repo",
  3938            "name": "owner",
  3939            "in": "path",
  3940            "required": true
  3941          },
  3942          {
  3943            "type": "string",
  3944            "description": "name of the repo",
  3945            "name": "repo",
  3946            "in": "path",
  3947            "required": true
  3948          },
  3949          {
  3950            "type": "string",
  3951            "description": "whether issue is open or closed",
  3952            "name": "state",
  3953            "in": "query"
  3954          },
  3955          {
  3956            "type": "integer",
  3957            "description": "page number of requested issues",
  3958            "name": "page",
  3959            "in": "query"
  3960          },
  3961          {
  3962            "type": "string",
  3963            "description": "search string",
  3964            "name": "q",
  3965            "in": "query"
  3966          }
  3967        ],
  3968        "responses": {
  3969          "200": {
  3970            "description": "IssueList",
  3971            "schema": {
  3972              "type": "array",
  3973              "items": {
  3974                "description": "Issue represents an issue in a repository",
  3975                "type": "object",
  3976                "properties": {
  3977                  "assignee": {
  3978                    "description": "User represents a user",
  3979                    "type": "object",
  3980                    "properties": {
  3981                      "avatar_url": {
  3982                        "description": "URL to the user's avatar",
  3983                        "type": "string",
  3984                        "x-go-name": "AvatarURL"
  3985                      },
  3986                      "email": {
  3987                        "type": "string",
  3988                        "format": "email",
  3989                        "x-go-name": "Email"
  3990                      },
  3991                      "full_name": {
  3992                        "description": "the user's full name",
  3993                        "type": "string",
  3994                        "x-go-name": "FullName"
  3995                      },
  3996                      "id": {
  3997                        "description": "the user's id",
  3998                        "type": "integer",
  3999                        "format": "int64",
  4000                        "x-go-name": "ID"
  4001                      },
  4002                      "language": {
  4003                        "description": "User locale",
  4004                        "type": "string",
  4005                        "x-go-name": "Language"
  4006                      },
  4007                      "login": {
  4008                        "description": "the user's username",
  4009                        "type": "string",
  4010                        "x-go-name": "UserName"
  4011                      }
  4012                    },
  4013                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4014                  },
  4015                  "assignees": {
  4016                    "type": "array",
  4017                    "items": {
  4018                      "description": "User represents a user",
  4019                      "type": "object",
  4020                      "properties": {
  4021                        "avatar_url": {
  4022                          "description": "URL to the user's avatar",
  4023                          "type": "string",
  4024                          "x-go-name": "AvatarURL"
  4025                        },
  4026                        "email": {
  4027                          "type": "string",
  4028                          "format": "email",
  4029                          "x-go-name": "Email"
  4030                        },
  4031                        "full_name": {
  4032                          "description": "the user's full name",
  4033                          "type": "string",
  4034                          "x-go-name": "FullName"
  4035                        },
  4036                        "id": {
  4037                          "description": "the user's id",
  4038                          "type": "integer",
  4039                          "format": "int64",
  4040                          "x-go-name": "ID"
  4041                        },
  4042                        "language": {
  4043                          "description": "User locale",
  4044                          "type": "string",
  4045                          "x-go-name": "Language"
  4046                        },
  4047                        "login": {
  4048                          "description": "the user's username",
  4049                          "type": "string",
  4050                          "x-go-name": "UserName"
  4051                        }
  4052                      },
  4053                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4054                    },
  4055                    "x-go-name": "Assignees"
  4056                  },
  4057                  "body": {
  4058                    "type": "string",
  4059                    "x-go-name": "Body"
  4060                  },
  4061                  "closed_at": {
  4062                    "type": "string",
  4063                    "format": "date-time",
  4064                    "x-go-name": "Closed"
  4065                  },
  4066                  "comments": {
  4067                    "type": "integer",
  4068                    "format": "int64",
  4069                    "x-go-name": "Comments"
  4070                  },
  4071                  "created_at": {
  4072                    "type": "string",
  4073                    "format": "date-time",
  4074                    "x-go-name": "Created"
  4075                  },
  4076                  "due_date": {
  4077                    "type": "string",
  4078                    "format": "date-time",
  4079                    "x-go-name": "Deadline"
  4080                  },
  4081                  "id": {
  4082                    "type": "integer",
  4083                    "format": "int64",
  4084                    "x-go-name": "ID"
  4085                  },
  4086                  "labels": {
  4087                    "type": "array",
  4088                    "items": {
  4089                      "description": "Label a label to an issue or a pr",
  4090                      "type": "object",
  4091                      "properties": {
  4092                        "color": {
  4093                          "type": "string",
  4094                          "x-go-name": "Color",
  4095                          "example": "00aabb"
  4096                        },
  4097                        "id": {
  4098                          "type": "integer",
  4099                          "format": "int64",
  4100                          "x-go-name": "ID"
  4101                        },
  4102                        "name": {
  4103                          "type": "string",
  4104                          "x-go-name": "Name"
  4105                        },
  4106                        "url": {
  4107                          "type": "string",
  4108                          "x-go-name": "URL"
  4109                        }
  4110                      },
  4111                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4112                    },
  4113                    "x-go-name": "Labels"
  4114                  },
  4115                  "milestone": {
  4116                    "description": "Milestone milestone is a collection of issues on one repository",
  4117                    "type": "object",
  4118                    "properties": {
  4119                      "closed_at": {
  4120                        "type": "string",
  4121                        "format": "date-time",
  4122                        "x-go-name": "Closed"
  4123                      },
  4124                      "closed_issues": {
  4125                        "type": "integer",
  4126                        "format": "int64",
  4127                        "x-go-name": "ClosedIssues"
  4128                      },
  4129                      "description": {
  4130                        "type": "string",
  4131                        "x-go-name": "Description"
  4132                      },
  4133                      "due_on": {
  4134                        "type": "string",
  4135                        "format": "date-time",
  4136                        "x-go-name": "Deadline"
  4137                      },
  4138                      "id": {
  4139                        "type": "integer",
  4140                        "format": "int64",
  4141                        "x-go-name": "ID"
  4142                      },
  4143                      "open_issues": {
  4144                        "type": "integer",
  4145                        "format": "int64",
  4146                        "x-go-name": "OpenIssues"
  4147                      },
  4148                      "state": {
  4149                        "description": "StateType issue state type",
  4150                        "type": "string",
  4151                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4152                      },
  4153                      "title": {
  4154                        "type": "string",
  4155                        "x-go-name": "Title"
  4156                      }
  4157                    },
  4158                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4159                  },
  4160                  "number": {
  4161                    "type": "integer",
  4162                    "format": "int64",
  4163                    "x-go-name": "Index"
  4164                  },
  4165                  "pull_request": {
  4166                    "description": "PullRequestMeta PR info if an issue is a PR",
  4167                    "type": "object",
  4168                    "properties": {
  4169                      "merged": {
  4170                        "type": "boolean",
  4171                        "x-go-name": "HasMerged"
  4172                      },
  4173                      "merged_at": {
  4174                        "type": "string",
  4175                        "format": "date-time",
  4176                        "x-go-name": "Merged"
  4177                      }
  4178                    },
  4179                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4180                  },
  4181                  "state": {
  4182                    "description": "StateType issue state type",
  4183                    "type": "string",
  4184                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4185                  },
  4186                  "title": {
  4187                    "type": "string",
  4188                    "x-go-name": "Title"
  4189                  },
  4190                  "updated_at": {
  4191                    "type": "string",
  4192                    "format": "date-time",
  4193                    "x-go-name": "Updated"
  4194                  },
  4195                  "url": {
  4196                    "type": "string",
  4197                    "x-go-name": "URL"
  4198                  },
  4199                  "user": {
  4200                    "description": "User represents a user",
  4201                    "type": "object",
  4202                    "properties": {
  4203                      "avatar_url": {
  4204                        "description": "URL to the user's avatar",
  4205                        "type": "string",
  4206                        "x-go-name": "AvatarURL"
  4207                      },
  4208                      "email": {
  4209                        "type": "string",
  4210                        "format": "email",
  4211                        "x-go-name": "Email"
  4212                      },
  4213                      "full_name": {
  4214                        "description": "the user's full name",
  4215                        "type": "string",
  4216                        "x-go-name": "FullName"
  4217                      },
  4218                      "id": {
  4219                        "description": "the user's id",
  4220                        "type": "integer",
  4221                        "format": "int64",
  4222                        "x-go-name": "ID"
  4223                      },
  4224                      "language": {
  4225                        "description": "User locale",
  4226                        "type": "string",
  4227                        "x-go-name": "Language"
  4228                      },
  4229                      "login": {
  4230                        "description": "the user's username",
  4231                        "type": "string",
  4232                        "x-go-name": "UserName"
  4233                      }
  4234                    },
  4235                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4236                  }
  4237                },
  4238                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4239              }
  4240            }
  4241          }
  4242        }
  4243      },
  4244      "post": {
  4245        "consumes": [
  4246          "application/json"
  4247        ],
  4248        "produces": [
  4249          "application/json"
  4250        ],
  4251        "tags": [
  4252          "issue"
  4253        ],
  4254        "summary": "Create an issue",
  4255        "operationId": "issueCreateIssue",
  4256        "parameters": [
  4257          {
  4258            "type": "string",
  4259            "description": "owner of the repo",
  4260            "name": "owner",
  4261            "in": "path",
  4262            "required": true
  4263          },
  4264          {
  4265            "type": "string",
  4266            "description": "name of the repo",
  4267            "name": "repo",
  4268            "in": "path",
  4269            "required": true
  4270          },
  4271          {
  4272            "name": "body",
  4273            "in": "body",
  4274            "schema": {
  4275              "description": "CreateIssueOption options to create one issue",
  4276              "type": "object",
  4277              "required": [
  4278                "title"
  4279              ],
  4280              "properties": {
  4281                "assignee": {
  4282                  "description": "username of assignee",
  4283                  "type": "string",
  4284                  "x-go-name": "Assignee"
  4285                },
  4286                "assignees": {
  4287                  "type": "array",
  4288                  "items": {
  4289                    "type": "string"
  4290                  },
  4291                  "x-go-name": "Assignees"
  4292                },
  4293                "body": {
  4294                  "type": "string",
  4295                  "x-go-name": "Body"
  4296                },
  4297                "closed": {
  4298                  "type": "boolean",
  4299                  "x-go-name": "Closed"
  4300                },
  4301                "due_date": {
  4302                  "type": "string",
  4303                  "format": "date-time",
  4304                  "x-go-name": "Deadline"
  4305                },
  4306                "labels": {
  4307                  "description": "list of label ids",
  4308                  "type": "array",
  4309                  "items": {
  4310                    "type": "integer",
  4311                    "format": "int64"
  4312                  },
  4313                  "x-go-name": "Labels"
  4314                },
  4315                "milestone": {
  4316                  "description": "milestone id",
  4317                  "type": "integer",
  4318                  "format": "int64",
  4319                  "x-go-name": "Milestone"
  4320                },
  4321                "title": {
  4322                  "type": "string",
  4323                  "x-go-name": "Title"
  4324                }
  4325              },
  4326              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4327            }
  4328          }
  4329        ],
  4330        "responses": {
  4331          "201": {
  4332            "description": "Issue",
  4333            "schema": {
  4334              "description": "Issue represents an issue in a repository",
  4335              "type": "object",
  4336              "properties": {
  4337                "assignee": {
  4338                  "description": "User represents a user",
  4339                  "type": "object",
  4340                  "properties": {
  4341                    "avatar_url": {
  4342                      "description": "URL to the user's avatar",
  4343                      "type": "string",
  4344                      "x-go-name": "AvatarURL"
  4345                    },
  4346                    "email": {
  4347                      "type": "string",
  4348                      "format": "email",
  4349                      "x-go-name": "Email"
  4350                    },
  4351                    "full_name": {
  4352                      "description": "the user's full name",
  4353                      "type": "string",
  4354                      "x-go-name": "FullName"
  4355                    },
  4356                    "id": {
  4357                      "description": "the user's id",
  4358                      "type": "integer",
  4359                      "format": "int64",
  4360                      "x-go-name": "ID"
  4361                    },
  4362                    "language": {
  4363                      "description": "User locale",
  4364                      "type": "string",
  4365                      "x-go-name": "Language"
  4366                    },
  4367                    "login": {
  4368                      "description": "the user's username",
  4369                      "type": "string",
  4370                      "x-go-name": "UserName"
  4371                    }
  4372                  },
  4373                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4374                },
  4375                "assignees": {
  4376                  "type": "array",
  4377                  "items": {
  4378                    "description": "User represents a user",
  4379                    "type": "object",
  4380                    "properties": {
  4381                      "avatar_url": {
  4382                        "description": "URL to the user's avatar",
  4383                        "type": "string",
  4384                        "x-go-name": "AvatarURL"
  4385                      },
  4386                      "email": {
  4387                        "type": "string",
  4388                        "format": "email",
  4389                        "x-go-name": "Email"
  4390                      },
  4391                      "full_name": {
  4392                        "description": "the user's full name",
  4393                        "type": "string",
  4394                        "x-go-name": "FullName"
  4395                      },
  4396                      "id": {
  4397                        "description": "the user's id",
  4398                        "type": "integer",
  4399                        "format": "int64",
  4400                        "x-go-name": "ID"
  4401                      },
  4402                      "language": {
  4403                        "description": "User locale",
  4404                        "type": "string",
  4405                        "x-go-name": "Language"
  4406                      },
  4407                      "login": {
  4408                        "description": "the user's username",
  4409                        "type": "string",
  4410                        "x-go-name": "UserName"
  4411                      }
  4412                    },
  4413                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4414                  },
  4415                  "x-go-name": "Assignees"
  4416                },
  4417                "body": {
  4418                  "type": "string",
  4419                  "x-go-name": "Body"
  4420                },
  4421                "closed_at": {
  4422                  "type": "string",
  4423                  "format": "date-time",
  4424                  "x-go-name": "Closed"
  4425                },
  4426                "comments": {
  4427                  "type": "integer",
  4428                  "format": "int64",
  4429                  "x-go-name": "Comments"
  4430                },
  4431                "created_at": {
  4432                  "type": "string",
  4433                  "format": "date-time",
  4434                  "x-go-name": "Created"
  4435                },
  4436                "due_date": {
  4437                  "type": "string",
  4438                  "format": "date-time",
  4439                  "x-go-name": "Deadline"
  4440                },
  4441                "id": {
  4442                  "type": "integer",
  4443                  "format": "int64",
  4444                  "x-go-name": "ID"
  4445                },
  4446                "labels": {
  4447                  "type": "array",
  4448                  "items": {
  4449                    "description": "Label a label to an issue or a pr",
  4450                    "type": "object",
  4451                    "properties": {
  4452                      "color": {
  4453                        "type": "string",
  4454                        "x-go-name": "Color",
  4455                        "example": "00aabb"
  4456                      },
  4457                      "id": {
  4458                        "type": "integer",
  4459                        "format": "int64",
  4460                        "x-go-name": "ID"
  4461                      },
  4462                      "name": {
  4463                        "type": "string",
  4464                        "x-go-name": "Name"
  4465                      },
  4466                      "url": {
  4467                        "type": "string",
  4468                        "x-go-name": "URL"
  4469                      }
  4470                    },
  4471                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4472                  },
  4473                  "x-go-name": "Labels"
  4474                },
  4475                "milestone": {
  4476                  "description": "Milestone milestone is a collection of issues on one repository",
  4477                  "type": "object",
  4478                  "properties": {
  4479                    "closed_at": {
  4480                      "type": "string",
  4481                      "format": "date-time",
  4482                      "x-go-name": "Closed"
  4483                    },
  4484                    "closed_issues": {
  4485                      "type": "integer",
  4486                      "format": "int64",
  4487                      "x-go-name": "ClosedIssues"
  4488                    },
  4489                    "description": {
  4490                      "type": "string",
  4491                      "x-go-name": "Description"
  4492                    },
  4493                    "due_on": {
  4494                      "type": "string",
  4495                      "format": "date-time",
  4496                      "x-go-name": "Deadline"
  4497                    },
  4498                    "id": {
  4499                      "type": "integer",
  4500                      "format": "int64",
  4501                      "x-go-name": "ID"
  4502                    },
  4503                    "open_issues": {
  4504                      "type": "integer",
  4505                      "format": "int64",
  4506                      "x-go-name": "OpenIssues"
  4507                    },
  4508                    "state": {
  4509                      "description": "StateType issue state type",
  4510                      "type": "string",
  4511                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4512                    },
  4513                    "title": {
  4514                      "type": "string",
  4515                      "x-go-name": "Title"
  4516                    }
  4517                  },
  4518                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4519                },
  4520                "number": {
  4521                  "type": "integer",
  4522                  "format": "int64",
  4523                  "x-go-name": "Index"
  4524                },
  4525                "pull_request": {
  4526                  "description": "PullRequestMeta PR info if an issue is a PR",
  4527                  "type": "object",
  4528                  "properties": {
  4529                    "merged": {
  4530                      "type": "boolean",
  4531                      "x-go-name": "HasMerged"
  4532                    },
  4533                    "merged_at": {
  4534                      "type": "string",
  4535                      "format": "date-time",
  4536                      "x-go-name": "Merged"
  4537                    }
  4538                  },
  4539                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4540                },
  4541                "state": {
  4542                  "description": "StateType issue state type",
  4543                  "type": "string",
  4544                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4545                },
  4546                "title": {
  4547                  "type": "string",
  4548                  "x-go-name": "Title"
  4549                },
  4550                "updated_at": {
  4551                  "type": "string",
  4552                  "format": "date-time",
  4553                  "x-go-name": "Updated"
  4554                },
  4555                "url": {
  4556                  "type": "string",
  4557                  "x-go-name": "URL"
  4558                },
  4559                "user": {
  4560                  "description": "User represents a user",
  4561                  "type": "object",
  4562                  "properties": {
  4563                    "avatar_url": {
  4564                      "description": "URL to the user's avatar",
  4565                      "type": "string",
  4566                      "x-go-name": "AvatarURL"
  4567                    },
  4568                    "email": {
  4569                      "type": "string",
  4570                      "format": "email",
  4571                      "x-go-name": "Email"
  4572                    },
  4573                    "full_name": {
  4574                      "description": "the user's full name",
  4575                      "type": "string",
  4576                      "x-go-name": "FullName"
  4577                    },
  4578                    "id": {
  4579                      "description": "the user's id",
  4580                      "type": "integer",
  4581                      "format": "int64",
  4582                      "x-go-name": "ID"
  4583                    },
  4584                    "language": {
  4585                      "description": "User locale",
  4586                      "type": "string",
  4587                      "x-go-name": "Language"
  4588                    },
  4589                    "login": {
  4590                      "description": "the user's username",
  4591                      "type": "string",
  4592                      "x-go-name": "UserName"
  4593                    }
  4594                  },
  4595                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4596                }
  4597              },
  4598              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4599            }
  4600          }
  4601        }
  4602      }
  4603    },
  4604    "/repos/{owner}/{repo}/issues/comments": {
  4605      "get": {
  4606        "produces": [
  4607          "application/json"
  4608        ],
  4609        "tags": [
  4610          "issue"
  4611        ],
  4612        "summary": "List all comments in a repository",
  4613        "operationId": "issueGetRepoComments",
  4614        "parameters": [
  4615          {
  4616            "type": "string",
  4617            "description": "owner of the repo",
  4618            "name": "owner",
  4619            "in": "path",
  4620            "required": true
  4621          },
  4622          {
  4623            "type": "string",
  4624            "description": "name of the repo",
  4625            "name": "repo",
  4626            "in": "path",
  4627            "required": true
  4628          },
  4629          {
  4630            "type": "string",
  4631            "description": "if provided, only comments updated since the provided time are returned.",
  4632            "name": "string",
  4633            "in": "query"
  4634          }
  4635        ],
  4636        "responses": {
  4637          "200": {
  4638            "description": "CommentList",
  4639            "schema": {
  4640              "type": "array",
  4641              "items": {
  4642                "description": "Comment represents a comment on a commit or issue",
  4643                "type": "object",
  4644                "properties": {
  4645                  "body": {
  4646                    "type": "string",
  4647                    "x-go-name": "Body"
  4648                  },
  4649                  "created_at": {
  4650                    "type": "string",
  4651                    "format": "date-time",
  4652                    "x-go-name": "Created"
  4653                  },
  4654                  "html_url": {
  4655                    "type": "string",
  4656                    "x-go-name": "HTMLURL"
  4657                  },
  4658                  "id": {
  4659                    "type": "integer",
  4660                    "format": "int64",
  4661                    "x-go-name": "ID"
  4662                  },
  4663                  "issue_url": {
  4664                    "type": "string",
  4665                    "x-go-name": "IssueURL"
  4666                  },
  4667                  "pull_request_url": {
  4668                    "type": "string",
  4669                    "x-go-name": "PRURL"
  4670                  },
  4671                  "updated_at": {
  4672                    "type": "string",
  4673                    "format": "date-time",
  4674                    "x-go-name": "Updated"
  4675                  },
  4676                  "user": {
  4677                    "description": "User represents a user",
  4678                    "type": "object",
  4679                    "properties": {
  4680                      "avatar_url": {
  4681                        "description": "URL to the user's avatar",
  4682                        "type": "string",
  4683                        "x-go-name": "AvatarURL"
  4684                      },
  4685                      "email": {
  4686                        "type": "string",
  4687                        "format": "email",
  4688                        "x-go-name": "Email"
  4689                      },
  4690                      "full_name": {
  4691                        "description": "the user's full name",
  4692                        "type": "string",
  4693                        "x-go-name": "FullName"
  4694                      },
  4695                      "id": {
  4696                        "description": "the user's id",
  4697                        "type": "integer",
  4698                        "format": "int64",
  4699                        "x-go-name": "ID"
  4700                      },
  4701                      "language": {
  4702                        "description": "User locale",
  4703                        "type": "string",
  4704                        "x-go-name": "Language"
  4705                      },
  4706                      "login": {
  4707                        "description": "the user's username",
  4708                        "type": "string",
  4709                        "x-go-name": "UserName"
  4710                      }
  4711                    },
  4712                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4713                  }
  4714                },
  4715                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4716              }
  4717            }
  4718          }
  4719        }
  4720      }
  4721    },
  4722    "/repos/{owner}/{repo}/issues/comments/{id}": {
  4723      "delete": {
  4724        "tags": [
  4725          "issue"
  4726        ],
  4727        "summary": "Delete a comment",
  4728        "operationId": "issueDeleteComment",
  4729        "parameters": [
  4730          {
  4731            "type": "string",
  4732            "description": "owner of the repo",
  4733            "name": "owner",
  4734            "in": "path",
  4735            "required": true
  4736          },
  4737          {
  4738            "type": "string",
  4739            "description": "name of the repo",
  4740            "name": "repo",
  4741            "in": "path",
  4742            "required": true
  4743          },
  4744          {
  4745            "type": "integer",
  4746            "description": "id of comment to delete",
  4747            "name": "id",
  4748            "in": "path",
  4749            "required": true
  4750          }
  4751        ],
  4752        "responses": {
  4753          "204": {
  4754            "description": "APIEmpty is an empty response"
  4755          }
  4756        }
  4757      },
  4758      "patch": {
  4759        "consumes": [
  4760          "application/json"
  4761        ],
  4762        "produces": [
  4763          "application/json"
  4764        ],
  4765        "tags": [
  4766          "issue"
  4767        ],
  4768        "summary": "Edit a comment",
  4769        "operationId": "issueEditComment",
  4770        "parameters": [
  4771          {
  4772            "type": "string",
  4773            "description": "owner of the repo",
  4774            "name": "owner",
  4775            "in": "path",
  4776            "required": true
  4777          },
  4778          {
  4779            "type": "string",
  4780            "description": "name of the repo",
  4781            "name": "repo",
  4782            "in": "path",
  4783            "required": true
  4784          },
  4785          {
  4786            "type": "integer",
  4787            "description": "id of the comment to edit",
  4788            "name": "id",
  4789            "in": "path",
  4790            "required": true
  4791          },
  4792          {
  4793            "name": "body",
  4794            "in": "body",
  4795            "schema": {
  4796              "description": "EditIssueCommentOption options for editing a comment",
  4797              "type": "object",
  4798              "required": [
  4799                "body"
  4800              ],
  4801              "properties": {
  4802                "body": {
  4803                  "type": "string",
  4804                  "x-go-name": "Body"
  4805                }
  4806              },
  4807              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4808            }
  4809          }
  4810        ],
  4811        "responses": {
  4812          "200": {
  4813            "description": "Comment",
  4814            "schema": {
  4815              "description": "Comment represents a comment on a commit or issue",
  4816              "type": "object",
  4817              "properties": {
  4818                "body": {
  4819                  "type": "string",
  4820                  "x-go-name": "Body"
  4821                },
  4822                "created_at": {
  4823                  "type": "string",
  4824                  "format": "date-time",
  4825                  "x-go-name": "Created"
  4826                },
  4827                "html_url": {
  4828                  "type": "string",
  4829                  "x-go-name": "HTMLURL"
  4830                },
  4831                "id": {
  4832                  "type": "integer",
  4833                  "format": "int64",
  4834                  "x-go-name": "ID"
  4835                },
  4836                "issue_url": {
  4837                  "type": "string",
  4838                  "x-go-name": "IssueURL"
  4839                },
  4840                "pull_request_url": {
  4841                  "type": "string",
  4842                  "x-go-name": "PRURL"
  4843                },
  4844                "updated_at": {
  4845                  "type": "string",
  4846                  "format": "date-time",
  4847                  "x-go-name": "Updated"
  4848                },
  4849                "user": {
  4850                  "description": "User represents a user",
  4851                  "type": "object",
  4852                  "properties": {
  4853                    "avatar_url": {
  4854                      "description": "URL to the user's avatar",
  4855                      "type": "string",
  4856                      "x-go-name": "AvatarURL"
  4857                    },
  4858                    "email": {
  4859                      "type": "string",
  4860                      "format": "email",
  4861                      "x-go-name": "Email"
  4862                    },
  4863                    "full_name": {
  4864                      "description": "the user's full name",
  4865                      "type": "string",
  4866                      "x-go-name": "FullName"
  4867                    },
  4868                    "id": {
  4869                      "description": "the user's id",
  4870                      "type": "integer",
  4871                      "format": "int64",
  4872                      "x-go-name": "ID"
  4873                    },
  4874                    "language": {
  4875                      "description": "User locale",
  4876                      "type": "string",
  4877                      "x-go-name": "Language"
  4878                    },
  4879                    "login": {
  4880                      "description": "the user's username",
  4881                      "type": "string",
  4882                      "x-go-name": "UserName"
  4883                    }
  4884                  },
  4885                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4886                }
  4887              },
  4888              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4889            }
  4890          }
  4891        }
  4892      }
  4893    },
  4894    "/repos/{owner}/{repo}/issues/{id}/times": {
  4895      "get": {
  4896        "produces": [
  4897          "application/json"
  4898        ],
  4899        "tags": [
  4900          "issue"
  4901        ],
  4902        "summary": "List an issue's tracked times",
  4903        "operationId": "issueTrackedTimes",
  4904        "parameters": [
  4905          {
  4906            "type": "string",
  4907            "description": "owner of the repo",
  4908            "name": "owner",
  4909            "in": "path",
  4910            "required": true
  4911          },
  4912          {
  4913            "type": "string",
  4914            "description": "name of the repo",
  4915            "name": "repo",
  4916            "in": "path",
  4917            "required": true
  4918          },
  4919          {
  4920            "type": "integer",
  4921            "description": "index of the issue",
  4922            "name": "id",
  4923            "in": "path",
  4924            "required": true
  4925          }
  4926        ],
  4927        "responses": {
  4928          "200": {
  4929            "description": "TrackedTimeList",
  4930            "schema": {
  4931              "type": "array",
  4932              "items": {
  4933                "description": "TrackedTime worked time for an issue / pr",
  4934                "type": "object",
  4935                "properties": {
  4936                  "created": {
  4937                    "type": "string",
  4938                    "format": "date-time",
  4939                    "x-go-name": "Created"
  4940                  },
  4941                  "id": {
  4942                    "type": "integer",
  4943                    "format": "int64",
  4944                    "x-go-name": "ID"
  4945                  },
  4946                  "issue_id": {
  4947                    "type": "integer",
  4948                    "format": "int64",
  4949                    "x-go-name": "IssueID"
  4950                  },
  4951                  "time": {
  4952                    "description": "Time in seconds",
  4953                    "type": "integer",
  4954                    "format": "int64",
  4955                    "x-go-name": "Time"
  4956                  },
  4957                  "user_id": {
  4958                    "type": "integer",
  4959                    "format": "int64",
  4960                    "x-go-name": "UserID"
  4961                  }
  4962                },
  4963                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  4964              }
  4965            }
  4966          }
  4967        }
  4968      },
  4969      "post": {
  4970        "consumes": [
  4971          "application/json"
  4972        ],
  4973        "produces": [
  4974          "application/json"
  4975        ],
  4976        "tags": [
  4977          "issue"
  4978        ],
  4979        "summary": "Add a tracked time to a issue",
  4980        "operationId": "issueAddTime",
  4981        "parameters": [
  4982          {
  4983            "type": "string",
  4984            "description": "owner of the repo",
  4985            "name": "owner",
  4986            "in": "path",
  4987            "required": true
  4988          },
  4989          {
  4990            "type": "string",
  4991            "description": "name of the repo",
  4992            "name": "repo",
  4993            "in": "path",
  4994            "required": true
  4995          },
  4996          {
  4997            "type": "integer",
  4998            "description": "index of the issue to add tracked time to",
  4999            "name": "id",
  5000            "in": "path",
  5001            "required": true
  5002          },
  5003          {
  5004            "name": "body",
  5005            "in": "body",
  5006            "schema": {
  5007              "description": "AddTimeOption options for adding time to an issue",
  5008              "type": "object",
  5009              "required": [
  5010                "time"
  5011              ],
  5012              "properties": {
  5013                "time": {
  5014                  "description": "time in seconds",
  5015                  "type": "integer",
  5016                  "format": "int64",
  5017                  "x-go-name": "Time"
  5018                }
  5019              },
  5020              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5021            }
  5022          }
  5023        ],
  5024        "responses": {
  5025          "200": {
  5026            "description": "TrackedTime",
  5027            "schema": {
  5028              "description": "TrackedTime worked time for an issue / pr",
  5029              "type": "object",
  5030              "properties": {
  5031                "created": {
  5032                  "type": "string",
  5033                  "format": "date-time",
  5034                  "x-go-name": "Created"
  5035                },
  5036                "id": {
  5037                  "type": "integer",
  5038                  "format": "int64",
  5039                  "x-go-name": "ID"
  5040                },
  5041                "issue_id": {
  5042                  "type": "integer",
  5043                  "format": "int64",
  5044                  "x-go-name": "IssueID"
  5045                },
  5046                "time": {
  5047                  "description": "Time in seconds",
  5048                  "type": "integer",
  5049                  "format": "int64",
  5050                  "x-go-name": "Time"
  5051                },
  5052                "user_id": {
  5053                  "type": "integer",
  5054                  "format": "int64",
  5055                  "x-go-name": "UserID"
  5056                }
  5057              },
  5058              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5059            }
  5060          },
  5061          "400": {
  5062            "description": "APIError is error format response",
  5063            "headers": {
  5064              "message": {
  5065                "type": "string"
  5066              },
  5067              "url": {
  5068                "type": "string"
  5069              }
  5070            }
  5071          },
  5072          "403": {
  5073            "description": "APIError is error format response",
  5074            "headers": {
  5075              "message": {
  5076                "type": "string"
  5077              },
  5078              "url": {
  5079                "type": "string"
  5080              }
  5081            }
  5082          }
  5083        }
  5084      }
  5085    },
  5086    "/repos/{owner}/{repo}/issues/{index}": {
  5087      "get": {
  5088        "produces": [
  5089          "application/json"
  5090        ],
  5091        "tags": [
  5092          "issue"
  5093        ],
  5094        "summary": "Get an issue",
  5095        "operationId": "issueGetIssue",
  5096        "parameters": [
  5097          {
  5098            "type": "string",
  5099            "description": "owner of the repo",
  5100            "name": "owner",
  5101            "in": "path",
  5102            "required": true
  5103          },
  5104          {
  5105            "type": "string",
  5106            "description": "name of the repo",
  5107            "name": "repo",
  5108            "in": "path",
  5109            "required": true
  5110          },
  5111          {
  5112            "type": "integer",
  5113            "description": "index of the issue to get",
  5114            "name": "index",
  5115            "in": "path",
  5116            "required": true
  5117          }
  5118        ],
  5119        "responses": {
  5120          "200": {
  5121            "description": "Issue",
  5122            "schema": {
  5123              "description": "Issue represents an issue in a repository",
  5124              "type": "object",
  5125              "properties": {
  5126                "assignee": {
  5127                  "description": "User represents a user",
  5128                  "type": "object",
  5129                  "properties": {
  5130                    "avatar_url": {
  5131                      "description": "URL to the user's avatar",
  5132                      "type": "string",
  5133                      "x-go-name": "AvatarURL"
  5134                    },
  5135                    "email": {
  5136                      "type": "string",
  5137                      "format": "email",
  5138                      "x-go-name": "Email"
  5139                    },
  5140                    "full_name": {
  5141                      "description": "the user's full name",
  5142                      "type": "string",
  5143                      "x-go-name": "FullName"
  5144                    },
  5145                    "id": {
  5146                      "description": "the user's id",
  5147                      "type": "integer",
  5148                      "format": "int64",
  5149                      "x-go-name": "ID"
  5150                    },
  5151                    "language": {
  5152                      "description": "User locale",
  5153                      "type": "string",
  5154                      "x-go-name": "Language"
  5155                    },
  5156                    "login": {
  5157                      "description": "the user's username",
  5158                      "type": "string",
  5159                      "x-go-name": "UserName"
  5160                    }
  5161                  },
  5162                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5163                },
  5164                "assignees": {
  5165                  "type": "array",
  5166                  "items": {
  5167                    "description": "User represents a user",
  5168                    "type": "object",
  5169                    "properties": {
  5170                      "avatar_url": {
  5171                        "description": "URL to the user's avatar",
  5172                        "type": "string",
  5173                        "x-go-name": "AvatarURL"
  5174                      },
  5175                      "email": {
  5176                        "type": "string",
  5177                        "format": "email",
  5178                        "x-go-name": "Email"
  5179                      },
  5180                      "full_name": {
  5181                        "description": "the user's full name",
  5182                        "type": "string",
  5183                        "x-go-name": "FullName"
  5184                      },
  5185                      "id": {
  5186                        "description": "the user's id",
  5187                        "type": "integer",
  5188                        "format": "int64",
  5189                        "x-go-name": "ID"
  5190                      },
  5191                      "language": {
  5192                        "description": "User locale",
  5193                        "type": "string",
  5194                        "x-go-name": "Language"
  5195                      },
  5196                      "login": {
  5197                        "description": "the user's username",
  5198                        "type": "string",
  5199                        "x-go-name": "UserName"
  5200                      }
  5201                    },
  5202                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5203                  },
  5204                  "x-go-name": "Assignees"
  5205                },
  5206                "body": {
  5207                  "type": "string",
  5208                  "x-go-name": "Body"
  5209                },
  5210                "closed_at": {
  5211                  "type": "string",
  5212                  "format": "date-time",
  5213                  "x-go-name": "Closed"
  5214                },
  5215                "comments": {
  5216                  "type": "integer",
  5217                  "format": "int64",
  5218                  "x-go-name": "Comments"
  5219                },
  5220                "created_at": {
  5221                  "type": "string",
  5222                  "format": "date-time",
  5223                  "x-go-name": "Created"
  5224                },
  5225                "due_date": {
  5226                  "type": "string",
  5227                  "format": "date-time",
  5228                  "x-go-name": "Deadline"
  5229                },
  5230                "id": {
  5231                  "type": "integer",
  5232                  "format": "int64",
  5233                  "x-go-name": "ID"
  5234                },
  5235                "labels": {
  5236                  "type": "array",
  5237                  "items": {
  5238                    "description": "Label a label to an issue or a pr",
  5239                    "type": "object",
  5240                    "properties": {
  5241                      "color": {
  5242                        "type": "string",
  5243                        "x-go-name": "Color",
  5244                        "example": "00aabb"
  5245                      },
  5246                      "id": {
  5247                        "type": "integer",
  5248                        "format": "int64",
  5249                        "x-go-name": "ID"
  5250                      },
  5251                      "name": {
  5252                        "type": "string",
  5253                        "x-go-name": "Name"
  5254                      },
  5255                      "url": {
  5256                        "type": "string",
  5257                        "x-go-name": "URL"
  5258                      }
  5259                    },
  5260                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5261                  },
  5262                  "x-go-name": "Labels"
  5263                },
  5264                "milestone": {
  5265                  "description": "Milestone milestone is a collection of issues on one repository",
  5266                  "type": "object",
  5267                  "properties": {
  5268                    "closed_at": {
  5269                      "type": "string",
  5270                      "format": "date-time",
  5271                      "x-go-name": "Closed"
  5272                    },
  5273                    "closed_issues": {
  5274                      "type": "integer",
  5275                      "format": "int64",
  5276                      "x-go-name": "ClosedIssues"
  5277                    },
  5278                    "description": {
  5279                      "type": "string",
  5280                      "x-go-name": "Description"
  5281                    },
  5282                    "due_on": {
  5283                      "type": "string",
  5284                      "format": "date-time",
  5285                      "x-go-name": "Deadline"
  5286                    },
  5287                    "id": {
  5288                      "type": "integer",
  5289                      "format": "int64",
  5290                      "x-go-name": "ID"
  5291                    },
  5292                    "open_issues": {
  5293                      "type": "integer",
  5294                      "format": "int64",
  5295                      "x-go-name": "OpenIssues"
  5296                    },
  5297                    "state": {
  5298                      "description": "StateType issue state type",
  5299                      "type": "string",
  5300                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5301                    },
  5302                    "title": {
  5303                      "type": "string",
  5304                      "x-go-name": "Title"
  5305                    }
  5306                  },
  5307                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5308                },
  5309                "number": {
  5310                  "type": "integer",
  5311                  "format": "int64",
  5312                  "x-go-name": "Index"
  5313                },
  5314                "pull_request": {
  5315                  "description": "PullRequestMeta PR info if an issue is a PR",
  5316                  "type": "object",
  5317                  "properties": {
  5318                    "merged": {
  5319                      "type": "boolean",
  5320                      "x-go-name": "HasMerged"
  5321                    },
  5322                    "merged_at": {
  5323                      "type": "string",
  5324                      "format": "date-time",
  5325                      "x-go-name": "Merged"
  5326                    }
  5327                  },
  5328                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5329                },
  5330                "state": {
  5331                  "description": "StateType issue state type",
  5332                  "type": "string",
  5333                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5334                },
  5335                "title": {
  5336                  "type": "string",
  5337                  "x-go-name": "Title"
  5338                },
  5339                "updated_at": {
  5340                  "type": "string",
  5341                  "format": "date-time",
  5342                  "x-go-name": "Updated"
  5343                },
  5344                "url": {
  5345                  "type": "string",
  5346                  "x-go-name": "URL"
  5347                },
  5348                "user": {
  5349                  "description": "User represents a user",
  5350                  "type": "object",
  5351                  "properties": {
  5352                    "avatar_url": {
  5353                      "description": "URL to the user's avatar",
  5354                      "type": "string",
  5355                      "x-go-name": "AvatarURL"
  5356                    },
  5357                    "email": {
  5358                      "type": "string",
  5359                      "format": "email",
  5360                      "x-go-name": "Email"
  5361                    },
  5362                    "full_name": {
  5363                      "description": "the user's full name",
  5364                      "type": "string",
  5365                      "x-go-name": "FullName"
  5366                    },
  5367                    "id": {
  5368                      "description": "the user's id",
  5369                      "type": "integer",
  5370                      "format": "int64",
  5371                      "x-go-name": "ID"
  5372                    },
  5373                    "language": {
  5374                      "description": "User locale",
  5375                      "type": "string",
  5376                      "x-go-name": "Language"
  5377                    },
  5378                    "login": {
  5379                      "description": "the user's username",
  5380                      "type": "string",
  5381                      "x-go-name": "UserName"
  5382                    }
  5383                  },
  5384                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5385                }
  5386              },
  5387              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5388            }
  5389          }
  5390        }
  5391      },
  5392      "patch": {
  5393        "consumes": [
  5394          "application/json"
  5395        ],
  5396        "produces": [
  5397          "application/json"
  5398        ],
  5399        "tags": [
  5400          "issue"
  5401        ],
  5402        "summary": "Edit an issue",
  5403        "operationId": "issueEditIssue",
  5404        "parameters": [
  5405          {
  5406            "type": "string",
  5407            "description": "owner of the repo",
  5408            "name": "owner",
  5409            "in": "path",
  5410            "required": true
  5411          },
  5412          {
  5413            "type": "string",
  5414            "description": "name of the repo",
  5415            "name": "repo",
  5416            "in": "path",
  5417            "required": true
  5418          },
  5419          {
  5420            "type": "integer",
  5421            "description": "index of the issue to edit",
  5422            "name": "index",
  5423            "in": "path",
  5424            "required": true
  5425          },
  5426          {
  5427            "name": "body",
  5428            "in": "body",
  5429            "schema": {
  5430              "description": "EditIssueOption options for editing an issue",
  5431              "type": "object",
  5432              "properties": {
  5433                "assignee": {
  5434                  "type": "string",
  5435                  "x-go-name": "Assignee"
  5436                },
  5437                "assignees": {
  5438                  "type": "array",
  5439                  "items": {
  5440                    "type": "string"
  5441                  },
  5442                  "x-go-name": "Assignees"
  5443                },
  5444                "body": {
  5445                  "type": "string",
  5446                  "x-go-name": "Body"
  5447                },
  5448                "due_date": {
  5449                  "type": "string",
  5450                  "format": "date-time",
  5451                  "x-go-name": "Deadline"
  5452                },
  5453                "milestone": {
  5454                  "type": "integer",
  5455                  "format": "int64",
  5456                  "x-go-name": "Milestone"
  5457                },
  5458                "state": {
  5459                  "type": "string",
  5460                  "x-go-name": "State"
  5461                },
  5462                "title": {
  5463                  "type": "string",
  5464                  "x-go-name": "Title"
  5465                }
  5466              },
  5467              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5468            }
  5469          }
  5470        ],
  5471        "responses": {
  5472          "201": {
  5473            "description": "Issue",
  5474            "schema": {
  5475              "description": "Issue represents an issue in a repository",
  5476              "type": "object",
  5477              "properties": {
  5478                "assignee": {
  5479                  "description": "User represents a user",
  5480                  "type": "object",
  5481                  "properties": {
  5482                    "avatar_url": {
  5483                      "description": "URL to the user's avatar",
  5484                      "type": "string",
  5485                      "x-go-name": "AvatarURL"
  5486                    },
  5487                    "email": {
  5488                      "type": "string",
  5489                      "format": "email",
  5490                      "x-go-name": "Email"
  5491                    },
  5492                    "full_name": {
  5493                      "description": "the user's full name",
  5494                      "type": "string",
  5495                      "x-go-name": "FullName"
  5496                    },
  5497                    "id": {
  5498                      "description": "the user's id",
  5499                      "type": "integer",
  5500                      "format": "int64",
  5501                      "x-go-name": "ID"
  5502                    },
  5503                    "language": {
  5504                      "description": "User locale",
  5505                      "type": "string",
  5506                      "x-go-name": "Language"
  5507                    },
  5508                    "login": {
  5509                      "description": "the user's username",
  5510                      "type": "string",
  5511                      "x-go-name": "UserName"
  5512                    }
  5513                  },
  5514                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5515                },
  5516                "assignees": {
  5517                  "type": "array",
  5518                  "items": {
  5519                    "description": "User represents a user",
  5520                    "type": "object",
  5521                    "properties": {
  5522                      "avatar_url": {
  5523                        "description": "URL to the user's avatar",
  5524                        "type": "string",
  5525                        "x-go-name": "AvatarURL"
  5526                      },
  5527                      "email": {
  5528                        "type": "string",
  5529                        "format": "email",
  5530                        "x-go-name": "Email"
  5531                      },
  5532                      "full_name": {
  5533                        "description": "the user's full name",
  5534                        "type": "string",
  5535                        "x-go-name": "FullName"
  5536                      },
  5537                      "id": {
  5538                        "description": "the user's id",
  5539                        "type": "integer",
  5540                        "format": "int64",
  5541                        "x-go-name": "ID"
  5542                      },
  5543                      "language": {
  5544                        "description": "User locale",
  5545                        "type": "string",
  5546                        "x-go-name": "Language"
  5547                      },
  5548                      "login": {
  5549                        "description": "the user's username",
  5550                        "type": "string",
  5551                        "x-go-name": "UserName"
  5552                      }
  5553                    },
  5554                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5555                  },
  5556                  "x-go-name": "Assignees"
  5557                },
  5558                "body": {
  5559                  "type": "string",
  5560                  "x-go-name": "Body"
  5561                },
  5562                "closed_at": {
  5563                  "type": "string",
  5564                  "format": "date-time",
  5565                  "x-go-name": "Closed"
  5566                },
  5567                "comments": {
  5568                  "type": "integer",
  5569                  "format": "int64",
  5570                  "x-go-name": "Comments"
  5571                },
  5572                "created_at": {
  5573                  "type": "string",
  5574                  "format": "date-time",
  5575                  "x-go-name": "Created"
  5576                },
  5577                "due_date": {
  5578                  "type": "string",
  5579                  "format": "date-time",
  5580                  "x-go-name": "Deadline"
  5581                },
  5582                "id": {
  5583                  "type": "integer",
  5584                  "format": "int64",
  5585                  "x-go-name": "ID"
  5586                },
  5587                "labels": {
  5588                  "type": "array",
  5589                  "items": {
  5590                    "description": "Label a label to an issue or a pr",
  5591                    "type": "object",
  5592                    "properties": {
  5593                      "color": {
  5594                        "type": "string",
  5595                        "x-go-name": "Color",
  5596                        "example": "00aabb"
  5597                      },
  5598                      "id": {
  5599                        "type": "integer",
  5600                        "format": "int64",
  5601                        "x-go-name": "ID"
  5602                      },
  5603                      "name": {
  5604                        "type": "string",
  5605                        "x-go-name": "Name"
  5606                      },
  5607                      "url": {
  5608                        "type": "string",
  5609                        "x-go-name": "URL"
  5610                      }
  5611                    },
  5612                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5613                  },
  5614                  "x-go-name": "Labels"
  5615                },
  5616                "milestone": {
  5617                  "description": "Milestone milestone is a collection of issues on one repository",
  5618                  "type": "object",
  5619                  "properties": {
  5620                    "closed_at": {
  5621                      "type": "string",
  5622                      "format": "date-time",
  5623                      "x-go-name": "Closed"
  5624                    },
  5625                    "closed_issues": {
  5626                      "type": "integer",
  5627                      "format": "int64",
  5628                      "x-go-name": "ClosedIssues"
  5629                    },
  5630                    "description": {
  5631                      "type": "string",
  5632                      "x-go-name": "Description"
  5633                    },
  5634                    "due_on": {
  5635                      "type": "string",
  5636                      "format": "date-time",
  5637                      "x-go-name": "Deadline"
  5638                    },
  5639                    "id": {
  5640                      "type": "integer",
  5641                      "format": "int64",
  5642                      "x-go-name": "ID"
  5643                    },
  5644                    "open_issues": {
  5645                      "type": "integer",
  5646                      "format": "int64",
  5647                      "x-go-name": "OpenIssues"
  5648                    },
  5649                    "state": {
  5650                      "description": "StateType issue state type",
  5651                      "type": "string",
  5652                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5653                    },
  5654                    "title": {
  5655                      "type": "string",
  5656                      "x-go-name": "Title"
  5657                    }
  5658                  },
  5659                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5660                },
  5661                "number": {
  5662                  "type": "integer",
  5663                  "format": "int64",
  5664                  "x-go-name": "Index"
  5665                },
  5666                "pull_request": {
  5667                  "description": "PullRequestMeta PR info if an issue is a PR",
  5668                  "type": "object",
  5669                  "properties": {
  5670                    "merged": {
  5671                      "type": "boolean",
  5672                      "x-go-name": "HasMerged"
  5673                    },
  5674                    "merged_at": {
  5675                      "type": "string",
  5676                      "format": "date-time",
  5677                      "x-go-name": "Merged"
  5678                    }
  5679                  },
  5680                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5681                },
  5682                "state": {
  5683                  "description": "StateType issue state type",
  5684                  "type": "string",
  5685                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5686                },
  5687                "title": {
  5688                  "type": "string",
  5689                  "x-go-name": "Title"
  5690                },
  5691                "updated_at": {
  5692                  "type": "string",
  5693                  "format": "date-time",
  5694                  "x-go-name": "Updated"
  5695                },
  5696                "url": {
  5697                  "type": "string",
  5698                  "x-go-name": "URL"
  5699                },
  5700                "user": {
  5701                  "description": "User represents a user",
  5702                  "type": "object",
  5703                  "properties": {
  5704                    "avatar_url": {
  5705                      "description": "URL to the user's avatar",
  5706                      "type": "string",
  5707                      "x-go-name": "AvatarURL"
  5708                    },
  5709                    "email": {
  5710                      "type": "string",
  5711                      "format": "email",
  5712                      "x-go-name": "Email"
  5713                    },
  5714                    "full_name": {
  5715                      "description": "the user's full name",
  5716                      "type": "string",
  5717                      "x-go-name": "FullName"
  5718                    },
  5719                    "id": {
  5720                      "description": "the user's id",
  5721                      "type": "integer",
  5722                      "format": "int64",
  5723                      "x-go-name": "ID"
  5724                    },
  5725                    "language": {
  5726                      "description": "User locale",
  5727                      "type": "string",
  5728                      "x-go-name": "Language"
  5729                    },
  5730                    "login": {
  5731                      "description": "the user's username",
  5732                      "type": "string",
  5733                      "x-go-name": "UserName"
  5734                    }
  5735                  },
  5736                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5737                }
  5738              },
  5739              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5740            }
  5741          }
  5742        }
  5743      }
  5744    },
  5745    "/repos/{owner}/{repo}/issues/{index}/comments": {
  5746      "get": {
  5747        "produces": [
  5748          "application/json"
  5749        ],
  5750        "tags": [
  5751          "issue"
  5752        ],
  5753        "summary": "List all comments on an issue",
  5754        "operationId": "issueGetComments",
  5755        "parameters": [
  5756          {
  5757            "type": "string",
  5758            "description": "owner of the repo",
  5759            "name": "owner",
  5760            "in": "path",
  5761            "required": true
  5762          },
  5763          {
  5764            "type": "string",
  5765            "description": "name of the repo",
  5766            "name": "repo",
  5767            "in": "path",
  5768            "required": true
  5769          },
  5770          {
  5771            "type": "integer",
  5772            "description": "index of the issue",
  5773            "name": "index",
  5774            "in": "path",
  5775            "required": true
  5776          },
  5777          {
  5778            "type": "string",
  5779            "description": "if provided, only comments updated since the specified time are returned.",
  5780            "name": "string",
  5781            "in": "query"
  5782          }
  5783        ],
  5784        "responses": {
  5785          "200": {
  5786            "description": "CommentList",
  5787            "schema": {
  5788              "type": "array",
  5789              "items": {
  5790                "description": "Comment represents a comment on a commit or issue",
  5791                "type": "object",
  5792                "properties": {
  5793                  "body": {
  5794                    "type": "string",
  5795                    "x-go-name": "Body"
  5796                  },
  5797                  "created_at": {
  5798                    "type": "string",
  5799                    "format": "date-time",
  5800                    "x-go-name": "Created"
  5801                  },
  5802                  "html_url": {
  5803                    "type": "string",
  5804                    "x-go-name": "HTMLURL"
  5805                  },
  5806                  "id": {
  5807                    "type": "integer",
  5808                    "format": "int64",
  5809                    "x-go-name": "ID"
  5810                  },
  5811                  "issue_url": {
  5812                    "type": "string",
  5813                    "x-go-name": "IssueURL"
  5814                  },
  5815                  "pull_request_url": {
  5816                    "type": "string",
  5817                    "x-go-name": "PRURL"
  5818                  },
  5819                  "updated_at": {
  5820                    "type": "string",
  5821                    "format": "date-time",
  5822                    "x-go-name": "Updated"
  5823                  },
  5824                  "user": {
  5825                    "description": "User represents a user",
  5826                    "type": "object",
  5827                    "properties": {
  5828                      "avatar_url": {
  5829                        "description": "URL to the user's avatar",
  5830                        "type": "string",
  5831                        "x-go-name": "AvatarURL"
  5832                      },
  5833                      "email": {
  5834                        "type": "string",
  5835                        "format": "email",
  5836                        "x-go-name": "Email"
  5837                      },
  5838                      "full_name": {
  5839                        "description": "the user's full name",
  5840                        "type": "string",
  5841                        "x-go-name": "FullName"
  5842                      },
  5843                      "id": {
  5844                        "description": "the user's id",
  5845                        "type": "integer",
  5846                        "format": "int64",
  5847                        "x-go-name": "ID"
  5848                      },
  5849                      "language": {
  5850                        "description": "User locale",
  5851                        "type": "string",
  5852                        "x-go-name": "Language"
  5853                      },
  5854                      "login": {
  5855                        "description": "the user's username",
  5856                        "type": "string",
  5857                        "x-go-name": "UserName"
  5858                      }
  5859                    },
  5860                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5861                  }
  5862                },
  5863                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5864              }
  5865            }
  5866          }
  5867        }
  5868      },
  5869      "post": {
  5870        "consumes": [
  5871          "application/json"
  5872        ],
  5873        "produces": [
  5874          "application/json"
  5875        ],
  5876        "tags": [
  5877          "issue"
  5878        ],
  5879        "summary": "Add a comment to an issue",
  5880        "operationId": "issueCreateComment",
  5881        "parameters": [
  5882          {
  5883            "type": "string",
  5884            "description": "owner of the repo",
  5885            "name": "owner",
  5886            "in": "path",
  5887            "required": true
  5888          },
  5889          {
  5890            "type": "string",
  5891            "description": "name of the repo",
  5892            "name": "repo",
  5893            "in": "path",
  5894            "required": true
  5895          },
  5896          {
  5897            "type": "integer",
  5898            "description": "index of the issue",
  5899            "name": "index",
  5900            "in": "path",
  5901            "required": true
  5902          },
  5903          {
  5904            "name": "body",
  5905            "in": "body",
  5906            "schema": {
  5907              "description": "CreateIssueCommentOption options for creating a comment on an issue",
  5908              "type": "object",
  5909              "required": [
  5910                "body"
  5911              ],
  5912              "properties": {
  5913                "body": {
  5914                  "type": "string",
  5915                  "x-go-name": "Body"
  5916                }
  5917              },
  5918              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5919            }
  5920          }
  5921        ],
  5922        "responses": {
  5923          "201": {
  5924            "description": "Comment",
  5925            "schema": {
  5926              "description": "Comment represents a comment on a commit or issue",
  5927              "type": "object",
  5928              "properties": {
  5929                "body": {
  5930                  "type": "string",
  5931                  "x-go-name": "Body"
  5932                },
  5933                "created_at": {
  5934                  "type": "string",
  5935                  "format": "date-time",
  5936                  "x-go-name": "Created"
  5937                },
  5938                "html_url": {
  5939                  "type": "string",
  5940                  "x-go-name": "HTMLURL"
  5941                },
  5942                "id": {
  5943                  "type": "integer",
  5944                  "format": "int64",
  5945                  "x-go-name": "ID"
  5946                },
  5947                "issue_url": {
  5948                  "type": "string",
  5949                  "x-go-name": "IssueURL"
  5950                },
  5951                "pull_request_url": {
  5952                  "type": "string",
  5953                  "x-go-name": "PRURL"
  5954                },
  5955                "updated_at": {
  5956                  "type": "string",
  5957                  "format": "date-time",
  5958                  "x-go-name": "Updated"
  5959                },
  5960                "user": {
  5961                  "description": "User represents a user",
  5962                  "type": "object",
  5963                  "properties": {
  5964                    "avatar_url": {
  5965                      "description": "URL to the user's avatar",
  5966                      "type": "string",
  5967                      "x-go-name": "AvatarURL"
  5968                    },
  5969                    "email": {
  5970                      "type": "string",
  5971                      "format": "email",
  5972                      "x-go-name": "Email"
  5973                    },
  5974                    "full_name": {
  5975                      "description": "the user's full name",
  5976                      "type": "string",
  5977                      "x-go-name": "FullName"
  5978                    },
  5979                    "id": {
  5980                      "description": "the user's id",
  5981                      "type": "integer",
  5982                      "format": "int64",
  5983                      "x-go-name": "ID"
  5984                    },
  5985                    "language": {
  5986                      "description": "User locale",
  5987                      "type": "string",
  5988                      "x-go-name": "Language"
  5989                    },
  5990                    "login": {
  5991                      "description": "the user's username",
  5992                      "type": "string",
  5993                      "x-go-name": "UserName"
  5994                    }
  5995                  },
  5996                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  5997                }
  5998              },
  5999              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6000            }
  6001          }
  6002        }
  6003      }
  6004    },
  6005    "/repos/{owner}/{repo}/issues/{index}/comments/{id}": {
  6006      "delete": {
  6007        "tags": [
  6008          "issue"
  6009        ],
  6010        "summary": "Delete a comment",
  6011        "operationId": "issueDeleteCommentDeprecated",
  6012        "deprecated": true,
  6013        "parameters": [
  6014          {
  6015            "type": "string",
  6016            "description": "owner of the repo",
  6017            "name": "owner",
  6018            "in": "path",
  6019            "required": true
  6020          },
  6021          {
  6022            "type": "string",
  6023            "description": "name of the repo",
  6024            "name": "repo",
  6025            "in": "path",
  6026            "required": true
  6027          },
  6028          {
  6029            "type": "integer",
  6030            "description": "this parameter is ignored",
  6031            "name": "index",
  6032            "in": "path",
  6033            "required": true
  6034          },
  6035          {
  6036            "type": "integer",
  6037            "description": "id of comment to delete",
  6038            "name": "id",
  6039            "in": "path",
  6040            "required": true
  6041          }
  6042        ],
  6043        "responses": {
  6044          "204": {
  6045            "description": "APIEmpty is an empty response"
  6046          }
  6047        }
  6048      },
  6049      "patch": {
  6050        "consumes": [
  6051          "application/json"
  6052        ],
  6053        "produces": [
  6054          "application/json"
  6055        ],
  6056        "tags": [
  6057          "issue"
  6058        ],
  6059        "summary": "Edit a comment",
  6060        "operationId": "issueEditCommentDeprecated",
  6061        "deprecated": true,
  6062        "parameters": [
  6063          {
  6064            "type": "string",
  6065            "description": "owner of the repo",
  6066            "name": "owner",
  6067            "in": "path",
  6068            "required": true
  6069          },
  6070          {
  6071            "type": "string",
  6072            "description": "name of the repo",
  6073            "name": "repo",
  6074            "in": "path",
  6075            "required": true
  6076          },
  6077          {
  6078            "type": "integer",
  6079            "description": "this parameter is ignored",
  6080            "name": "index",
  6081            "in": "path",
  6082            "required": true
  6083          },
  6084          {
  6085            "type": "integer",
  6086            "description": "id of the comment to edit",
  6087            "name": "id",
  6088            "in": "path",
  6089            "required": true
  6090          },
  6091          {
  6092            "name": "body",
  6093            "in": "body",
  6094            "schema": {
  6095              "description": "EditIssueCommentOption options for editing a comment",
  6096              "type": "object",
  6097              "required": [
  6098                "body"
  6099              ],
  6100              "properties": {
  6101                "body": {
  6102                  "type": "string",
  6103                  "x-go-name": "Body"
  6104                }
  6105              },
  6106              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6107            }
  6108          }
  6109        ],
  6110        "responses": {
  6111          "200": {
  6112            "description": "Comment",
  6113            "schema": {
  6114              "description": "Comment represents a comment on a commit or issue",
  6115              "type": "object",
  6116              "properties": {
  6117                "body": {
  6118                  "type": "string",
  6119                  "x-go-name": "Body"
  6120                },
  6121                "created_at": {
  6122                  "type": "string",
  6123                  "format": "date-time",
  6124                  "x-go-name": "Created"
  6125                },
  6126                "html_url": {
  6127                  "type": "string",
  6128                  "x-go-name": "HTMLURL"
  6129                },
  6130                "id": {
  6131                  "type": "integer",
  6132                  "format": "int64",
  6133                  "x-go-name": "ID"
  6134                },
  6135                "issue_url": {
  6136                  "type": "string",
  6137                  "x-go-name": "IssueURL"
  6138                },
  6139                "pull_request_url": {
  6140                  "type": "string",
  6141                  "x-go-name": "PRURL"
  6142                },
  6143                "updated_at": {
  6144                  "type": "string",
  6145                  "format": "date-time",
  6146                  "x-go-name": "Updated"
  6147                },
  6148                "user": {
  6149                  "description": "User represents a user",
  6150                  "type": "object",
  6151                  "properties": {
  6152                    "avatar_url": {
  6153                      "description": "URL to the user's avatar",
  6154                      "type": "string",
  6155                      "x-go-name": "AvatarURL"
  6156                    },
  6157                    "email": {
  6158                      "type": "string",
  6159                      "format": "email",
  6160                      "x-go-name": "Email"
  6161                    },
  6162                    "full_name": {
  6163                      "description": "the user's full name",
  6164                      "type": "string",
  6165                      "x-go-name": "FullName"
  6166                    },
  6167                    "id": {
  6168                      "description": "the user's id",
  6169                      "type": "integer",
  6170                      "format": "int64",
  6171                      "x-go-name": "ID"
  6172                    },
  6173                    "language": {
  6174                      "description": "User locale",
  6175                      "type": "string",
  6176                      "x-go-name": "Language"
  6177                    },
  6178                    "login": {
  6179                      "description": "the user's username",
  6180                      "type": "string",
  6181                      "x-go-name": "UserName"
  6182                    }
  6183                  },
  6184                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6185                }
  6186              },
  6187              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6188            }
  6189          }
  6190        }
  6191      }
  6192    },
  6193    "/repos/{owner}/{repo}/issues/{index}/labels": {
  6194      "get": {
  6195        "produces": [
  6196          "application/json"
  6197        ],
  6198        "tags": [
  6199          "issue"
  6200        ],
  6201        "summary": "Get an issue's labels",
  6202        "operationId": "issueGetLabels",
  6203        "parameters": [
  6204          {
  6205            "type": "string",
  6206            "description": "owner of the repo",
  6207            "name": "owner",
  6208            "in": "path",
  6209            "required": true
  6210          },
  6211          {
  6212            "type": "string",
  6213            "description": "name of the repo",
  6214            "name": "repo",
  6215            "in": "path",
  6216            "required": true
  6217          },
  6218          {
  6219            "type": "integer",
  6220            "description": "index of the issue",
  6221            "name": "index",
  6222            "in": "path",
  6223            "required": true
  6224          }
  6225        ],
  6226        "responses": {
  6227          "200": {
  6228            "description": "LabelList",
  6229            "schema": {
  6230              "type": "array",
  6231              "items": {
  6232                "description": "Label a label to an issue or a pr",
  6233                "type": "object",
  6234                "properties": {
  6235                  "color": {
  6236                    "type": "string",
  6237                    "x-go-name": "Color",
  6238                    "example": "00aabb"
  6239                  },
  6240                  "id": {
  6241                    "type": "integer",
  6242                    "format": "int64",
  6243                    "x-go-name": "ID"
  6244                  },
  6245                  "name": {
  6246                    "type": "string",
  6247                    "x-go-name": "Name"
  6248                  },
  6249                  "url": {
  6250                    "type": "string",
  6251                    "x-go-name": "URL"
  6252                  }
  6253                },
  6254                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6255              }
  6256            }
  6257          },
  6258          "404": {
  6259            "description": "APINotFound is a not found empty response"
  6260          }
  6261        }
  6262      },
  6263      "put": {
  6264        "consumes": [
  6265          "application/json"
  6266        ],
  6267        "produces": [
  6268          "application/json"
  6269        ],
  6270        "tags": [
  6271          "issue"
  6272        ],
  6273        "summary": "Replace an issue's labels",
  6274        "operationId": "issueReplaceLabels",
  6275        "parameters": [
  6276          {
  6277            "type": "string",
  6278            "description": "owner of the repo",
  6279            "name": "owner",
  6280            "in": "path",
  6281            "required": true
  6282          },
  6283          {
  6284            "type": "string",
  6285            "description": "name of the repo",
  6286            "name": "repo",
  6287            "in": "path",
  6288            "required": true
  6289          },
  6290          {
  6291            "type": "integer",
  6292            "description": "index of the issue",
  6293            "name": "index",
  6294            "in": "path",
  6295            "required": true
  6296          },
  6297          {
  6298            "name": "body",
  6299            "in": "body",
  6300            "schema": {
  6301              "description": "IssueLabelsOption a collection of labels",
  6302              "type": "object",
  6303              "properties": {
  6304                "labels": {
  6305                  "description": "list of label IDs",
  6306                  "type": "array",
  6307                  "items": {
  6308                    "type": "integer",
  6309                    "format": "int64"
  6310                  },
  6311                  "x-go-name": "Labels"
  6312                }
  6313              },
  6314              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6315            }
  6316          }
  6317        ],
  6318        "responses": {
  6319          "200": {
  6320            "description": "LabelList",
  6321            "schema": {
  6322              "type": "array",
  6323              "items": {
  6324                "description": "Label a label to an issue or a pr",
  6325                "type": "object",
  6326                "properties": {
  6327                  "color": {
  6328                    "type": "string",
  6329                    "x-go-name": "Color",
  6330                    "example": "00aabb"
  6331                  },
  6332                  "id": {
  6333                    "type": "integer",
  6334                    "format": "int64",
  6335                    "x-go-name": "ID"
  6336                  },
  6337                  "name": {
  6338                    "type": "string",
  6339                    "x-go-name": "Name"
  6340                  },
  6341                  "url": {
  6342                    "type": "string",
  6343                    "x-go-name": "URL"
  6344                  }
  6345                },
  6346                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6347              }
  6348            }
  6349          }
  6350        }
  6351      },
  6352      "post": {
  6353        "consumes": [
  6354          "application/json"
  6355        ],
  6356        "produces": [
  6357          "application/json"
  6358        ],
  6359        "tags": [
  6360          "issue"
  6361        ],
  6362        "summary": "Add a label to an issue",
  6363        "operationId": "issueAddLabel",
  6364        "parameters": [
  6365          {
  6366            "type": "string",
  6367            "description": "owner of the repo",
  6368            "name": "owner",
  6369            "in": "path",
  6370            "required": true
  6371          },
  6372          {
  6373            "type": "string",
  6374            "description": "name of the repo",
  6375            "name": "repo",
  6376            "in": "path",
  6377            "required": true
  6378          },
  6379          {
  6380            "type": "integer",
  6381            "description": "index of the issue",
  6382            "name": "index",
  6383            "in": "path",
  6384            "required": true
  6385          },
  6386          {
  6387            "name": "body",
  6388            "in": "body",
  6389            "schema": {
  6390              "description": "IssueLabelsOption a collection of labels",
  6391              "type": "object",
  6392              "properties": {
  6393                "labels": {
  6394                  "description": "list of label IDs",
  6395                  "type": "array",
  6396                  "items": {
  6397                    "type": "integer",
  6398                    "format": "int64"
  6399                  },
  6400                  "x-go-name": "Labels"
  6401                }
  6402              },
  6403              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6404            }
  6405          }
  6406        ],
  6407        "responses": {
  6408          "200": {
  6409            "description": "LabelList",
  6410            "schema": {
  6411              "type": "array",
  6412              "items": {
  6413                "description": "Label a label to an issue or a pr",
  6414                "type": "object",
  6415                "properties": {
  6416                  "color": {
  6417                    "type": "string",
  6418                    "x-go-name": "Color",
  6419                    "example": "00aabb"
  6420                  },
  6421                  "id": {
  6422                    "type": "integer",
  6423                    "format": "int64",
  6424                    "x-go-name": "ID"
  6425                  },
  6426                  "name": {
  6427                    "type": "string",
  6428                    "x-go-name": "Name"
  6429                  },
  6430                  "url": {
  6431                    "type": "string",
  6432                    "x-go-name": "URL"
  6433                  }
  6434                },
  6435                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6436              }
  6437            }
  6438          }
  6439        }
  6440      },
  6441      "delete": {
  6442        "produces": [
  6443          "application/json"
  6444        ],
  6445        "tags": [
  6446          "issue"
  6447        ],
  6448        "summary": "Remove all labels from an issue",
  6449        "operationId": "issueClearLabels",
  6450        "parameters": [
  6451          {
  6452            "type": "string",
  6453            "description": "owner of the repo",
  6454            "name": "owner",
  6455            "in": "path",
  6456            "required": true
  6457          },
  6458          {
  6459            "type": "string",
  6460            "description": "name of the repo",
  6461            "name": "repo",
  6462            "in": "path",
  6463            "required": true
  6464          },
  6465          {
  6466            "type": "integer",
  6467            "description": "index of the issue",
  6468            "name": "index",
  6469            "in": "path",
  6470            "required": true
  6471          }
  6472        ],
  6473        "responses": {
  6474          "204": {
  6475            "description": "APIEmpty is an empty response"
  6476          }
  6477        }
  6478      }
  6479    },
  6480    "/repos/{owner}/{repo}/issues/{index}/labels/{id}": {
  6481      "delete": {
  6482        "produces": [
  6483          "application/json"
  6484        ],
  6485        "tags": [
  6486          "issue"
  6487        ],
  6488        "summary": "Remove a label from an issue",
  6489        "operationId": "issueRemoveLabel",
  6490        "parameters": [
  6491          {
  6492            "type": "string",
  6493            "description": "owner of the repo",
  6494            "name": "owner",
  6495            "in": "path",
  6496            "required": true
  6497          },
  6498          {
  6499            "type": "string",
  6500            "description": "name of the repo",
  6501            "name": "repo",
  6502            "in": "path",
  6503            "required": true
  6504          },
  6505          {
  6506            "type": "integer",
  6507            "description": "index of the issue",
  6508            "name": "index",
  6509            "in": "path",
  6510            "required": true
  6511          },
  6512          {
  6513            "type": "integer",
  6514            "description": "id of the label to remove",
  6515            "name": "id",
  6516            "in": "path",
  6517            "required": true
  6518          }
  6519        ],
  6520        "responses": {
  6521          "204": {
  6522            "description": "APIEmpty is an empty response"
  6523          }
  6524        }
  6525      }
  6526    },
  6527    "/repos/{owner}/{repo}/keys": {
  6528      "get": {
  6529        "produces": [
  6530          "application/json"
  6531        ],
  6532        "tags": [
  6533          "repository"
  6534        ],
  6535        "summary": "List a repository's keys",
  6536        "operationId": "repoListKeys",
  6537        "parameters": [
  6538          {
  6539            "type": "string",
  6540            "description": "owner of the repo",
  6541            "name": "owner",
  6542            "in": "path",
  6543            "required": true
  6544          },
  6545          {
  6546            "type": "string",
  6547            "description": "name of the repo",
  6548            "name": "repo",
  6549            "in": "path",
  6550            "required": true
  6551          }
  6552        ],
  6553        "responses": {
  6554          "200": {
  6555            "description": "DeployKeyList",
  6556            "schema": {
  6557              "type": "array",
  6558              "items": {
  6559                "description": "DeployKey a deploy key",
  6560                "type": "object",
  6561                "properties": {
  6562                  "created_at": {
  6563                    "type": "string",
  6564                    "format": "date-time",
  6565                    "x-go-name": "Created"
  6566                  },
  6567                  "id": {
  6568                    "type": "integer",
  6569                    "format": "int64",
  6570                    "x-go-name": "ID"
  6571                  },
  6572                  "key": {
  6573                    "type": "string",
  6574                    "x-go-name": "Key"
  6575                  },
  6576                  "read_only": {
  6577                    "type": "boolean",
  6578                    "x-go-name": "ReadOnly"
  6579                  },
  6580                  "title": {
  6581                    "type": "string",
  6582                    "x-go-name": "Title"
  6583                  },
  6584                  "url": {
  6585                    "type": "string",
  6586                    "x-go-name": "URL"
  6587                  }
  6588                },
  6589                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6590              }
  6591            }
  6592          }
  6593        }
  6594      },
  6595      "post": {
  6596        "consumes": [
  6597          "application/json"
  6598        ],
  6599        "produces": [
  6600          "application/json"
  6601        ],
  6602        "tags": [
  6603          "repository"
  6604        ],
  6605        "summary": "Add a key to a repository",
  6606        "operationId": "repoCreateKey",
  6607        "parameters": [
  6608          {
  6609            "type": "string",
  6610            "description": "owner of the repo",
  6611            "name": "owner",
  6612            "in": "path",
  6613            "required": true
  6614          },
  6615          {
  6616            "type": "string",
  6617            "description": "name of the repo",
  6618            "name": "repo",
  6619            "in": "path",
  6620            "required": true
  6621          },
  6622          {
  6623            "name": "body",
  6624            "in": "body",
  6625            "schema": {
  6626              "description": "CreateKeyOption options when creating a key",
  6627              "type": "object",
  6628              "required": [
  6629                "title",
  6630                "key"
  6631              ],
  6632              "properties": {
  6633                "key": {
  6634                  "description": "An armored SSH key to add",
  6635                  "type": "string",
  6636                  "uniqueItems": true,
  6637                  "x-go-name": "Key"
  6638                },
  6639                "read_only": {
  6640                  "description": "Describe if the key has only read access or read/write",
  6641                  "type": "boolean",
  6642                  "x-go-name": "ReadOnly"
  6643                },
  6644                "title": {
  6645                  "description": "Title of the key to add",
  6646                  "type": "string",
  6647                  "uniqueItems": true,
  6648                  "x-go-name": "Title"
  6649                }
  6650              },
  6651              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6652            }
  6653          }
  6654        ],
  6655        "responses": {
  6656          "201": {
  6657            "description": "DeployKey",
  6658            "schema": {
  6659              "description": "DeployKey a deploy key",
  6660              "type": "object",
  6661              "properties": {
  6662                "created_at": {
  6663                  "type": "string",
  6664                  "format": "date-time",
  6665                  "x-go-name": "Created"
  6666                },
  6667                "id": {
  6668                  "type": "integer",
  6669                  "format": "int64",
  6670                  "x-go-name": "ID"
  6671                },
  6672                "key": {
  6673                  "type": "string",
  6674                  "x-go-name": "Key"
  6675                },
  6676                "read_only": {
  6677                  "type": "boolean",
  6678                  "x-go-name": "ReadOnly"
  6679                },
  6680                "title": {
  6681                  "type": "string",
  6682                  "x-go-name": "Title"
  6683                },
  6684                "url": {
  6685                  "type": "string",
  6686                  "x-go-name": "URL"
  6687                }
  6688              },
  6689              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6690            }
  6691          }
  6692        }
  6693      }
  6694    },
  6695    "/repos/{owner}/{repo}/keys/{id}": {
  6696      "get": {
  6697        "produces": [
  6698          "application/json"
  6699        ],
  6700        "tags": [
  6701          "repository"
  6702        ],
  6703        "summary": "Get a repository's key by id",
  6704        "operationId": "repoGetKey",
  6705        "parameters": [
  6706          {
  6707            "type": "string",
  6708            "description": "owner of the repo",
  6709            "name": "owner",
  6710            "in": "path",
  6711            "required": true
  6712          },
  6713          {
  6714            "type": "string",
  6715            "description": "name of the repo",
  6716            "name": "repo",
  6717            "in": "path",
  6718            "required": true
  6719          },
  6720          {
  6721            "type": "integer",
  6722            "description": "id of the key to get",
  6723            "name": "id",
  6724            "in": "path",
  6725            "required": true
  6726          }
  6727        ],
  6728        "responses": {
  6729          "200": {
  6730            "description": "DeployKey",
  6731            "schema": {
  6732              "description": "DeployKey a deploy key",
  6733              "type": "object",
  6734              "properties": {
  6735                "created_at": {
  6736                  "type": "string",
  6737                  "format": "date-time",
  6738                  "x-go-name": "Created"
  6739                },
  6740                "id": {
  6741                  "type": "integer",
  6742                  "format": "int64",
  6743                  "x-go-name": "ID"
  6744                },
  6745                "key": {
  6746                  "type": "string",
  6747                  "x-go-name": "Key"
  6748                },
  6749                "read_only": {
  6750                  "type": "boolean",
  6751                  "x-go-name": "ReadOnly"
  6752                },
  6753                "title": {
  6754                  "type": "string",
  6755                  "x-go-name": "Title"
  6756                },
  6757                "url": {
  6758                  "type": "string",
  6759                  "x-go-name": "URL"
  6760                }
  6761              },
  6762              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6763            }
  6764          }
  6765        }
  6766      },
  6767      "delete": {
  6768        "tags": [
  6769          "repository"
  6770        ],
  6771        "summary": "Delete a key from a repository",
  6772        "operationId": "repoDeleteKey",
  6773        "parameters": [
  6774          {
  6775            "type": "string",
  6776            "description": "owner of the repo",
  6777            "name": "owner",
  6778            "in": "path",
  6779            "required": true
  6780          },
  6781          {
  6782            "type": "string",
  6783            "description": "name of the repo",
  6784            "name": "repo",
  6785            "in": "path",
  6786            "required": true
  6787          },
  6788          {
  6789            "type": "integer",
  6790            "description": "id of the key to delete",
  6791            "name": "id",
  6792            "in": "path",
  6793            "required": true
  6794          }
  6795        ],
  6796        "responses": {
  6797          "204": {
  6798            "description": "APIEmpty is an empty response"
  6799          }
  6800        }
  6801      }
  6802    },
  6803    "/repos/{owner}/{repo}/labels": {
  6804      "get": {
  6805        "produces": [
  6806          "application/json"
  6807        ],
  6808        "tags": [
  6809          "issue"
  6810        ],
  6811        "summary": "Get all of a repository's labels",
  6812        "operationId": "issueListLabels",
  6813        "parameters": [
  6814          {
  6815            "type": "string",
  6816            "description": "owner of the repo",
  6817            "name": "owner",
  6818            "in": "path",
  6819            "required": true
  6820          },
  6821          {
  6822            "type": "string",
  6823            "description": "name of the repo",
  6824            "name": "repo",
  6825            "in": "path",
  6826            "required": true
  6827          }
  6828        ],
  6829        "responses": {
  6830          "200": {
  6831            "description": "LabelList",
  6832            "schema": {
  6833              "type": "array",
  6834              "items": {
  6835                "description": "Label a label to an issue or a pr",
  6836                "type": "object",
  6837                "properties": {
  6838                  "color": {
  6839                    "type": "string",
  6840                    "x-go-name": "Color",
  6841                    "example": "00aabb"
  6842                  },
  6843                  "id": {
  6844                    "type": "integer",
  6845                    "format": "int64",
  6846                    "x-go-name": "ID"
  6847                  },
  6848                  "name": {
  6849                    "type": "string",
  6850                    "x-go-name": "Name"
  6851                  },
  6852                  "url": {
  6853                    "type": "string",
  6854                    "x-go-name": "URL"
  6855                  }
  6856                },
  6857                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6858              }
  6859            }
  6860          }
  6861        }
  6862      },
  6863      "post": {
  6864        "consumes": [
  6865          "application/json"
  6866        ],
  6867        "produces": [
  6868          "application/json"
  6869        ],
  6870        "tags": [
  6871          "issue"
  6872        ],
  6873        "summary": "Create a label",
  6874        "operationId": "issueCreateLabel",
  6875        "parameters": [
  6876          {
  6877            "type": "string",
  6878            "description": "owner of the repo",
  6879            "name": "owner",
  6880            "in": "path",
  6881            "required": true
  6882          },
  6883          {
  6884            "type": "string",
  6885            "description": "name of the repo",
  6886            "name": "repo",
  6887            "in": "path",
  6888            "required": true
  6889          },
  6890          {
  6891            "name": "body",
  6892            "in": "body",
  6893            "schema": {
  6894              "description": "CreateLabelOption options for creating a label",
  6895              "type": "object",
  6896              "required": [
  6897                "name",
  6898                "color"
  6899              ],
  6900              "properties": {
  6901                "color": {
  6902                  "type": "string",
  6903                  "x-go-name": "Color",
  6904                  "example": "#00aabb"
  6905                },
  6906                "name": {
  6907                  "type": "string",
  6908                  "x-go-name": "Name"
  6909                }
  6910              },
  6911              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6912            }
  6913          }
  6914        ],
  6915        "responses": {
  6916          "201": {
  6917            "description": "Label",
  6918            "schema": {
  6919              "description": "Label a label to an issue or a pr",
  6920              "type": "object",
  6921              "properties": {
  6922                "color": {
  6923                  "type": "string",
  6924                  "x-go-name": "Color",
  6925                  "example": "00aabb"
  6926                },
  6927                "id": {
  6928                  "type": "integer",
  6929                  "format": "int64",
  6930                  "x-go-name": "ID"
  6931                },
  6932                "name": {
  6933                  "type": "string",
  6934                  "x-go-name": "Name"
  6935                },
  6936                "url": {
  6937                  "type": "string",
  6938                  "x-go-name": "URL"
  6939                }
  6940              },
  6941              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  6942            }
  6943          }
  6944        }
  6945      }
  6946    },
  6947    "/repos/{owner}/{repo}/labels/{id}": {
  6948      "get": {
  6949        "produces": [
  6950          "application/json"
  6951        ],
  6952        "tags": [
  6953          "issue"
  6954        ],
  6955        "summary": "Get a single label",
  6956        "operationId": "issueGetLabel",
  6957        "parameters": [
  6958          {
  6959            "type": "string",
  6960            "description": "owner of the repo",
  6961            "name": "owner",
  6962            "in": "path",
  6963            "required": true
  6964          },
  6965          {
  6966            "type": "string",
  6967            "description": "name of the repo",
  6968            "name": "repo",
  6969            "in": "path",
  6970            "required": true
  6971          },
  6972          {
  6973            "type": "integer",
  6974            "description": "id of the label to get",
  6975            "name": "id",
  6976            "in": "path",
  6977            "required": true
  6978          }
  6979        ],
  6980        "responses": {
  6981          "200": {
  6982            "description": "Label",
  6983            "schema": {
  6984              "description": "Label a label to an issue or a pr",
  6985              "type": "object",
  6986              "properties": {
  6987                "color": {
  6988                  "type": "string",
  6989                  "x-go-name": "Color",
  6990                  "example": "00aabb"
  6991                },
  6992                "id": {
  6993                  "type": "integer",
  6994                  "format": "int64",
  6995                  "x-go-name": "ID"
  6996                },
  6997                "name": {
  6998                  "type": "string",
  6999                  "x-go-name": "Name"
  7000                },
  7001                "url": {
  7002                  "type": "string",
  7003                  "x-go-name": "URL"
  7004                }
  7005              },
  7006              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7007            }
  7008          }
  7009        }
  7010      },
  7011      "delete": {
  7012        "tags": [
  7013          "issue"
  7014        ],
  7015        "summary": "Delete a label",
  7016        "operationId": "issueDeleteLabel",
  7017        "parameters": [
  7018          {
  7019            "type": "string",
  7020            "description": "owner of the repo",
  7021            "name": "owner",
  7022            "in": "path",
  7023            "required": true
  7024          },
  7025          {
  7026            "type": "string",
  7027            "description": "name of the repo",
  7028            "name": "repo",
  7029            "in": "path",
  7030            "required": true
  7031          },
  7032          {
  7033            "type": "integer",
  7034            "description": "id of the label to delete",
  7035            "name": "id",
  7036            "in": "path",
  7037            "required": true
  7038          }
  7039        ],
  7040        "responses": {
  7041          "204": {
  7042            "description": "APIEmpty is an empty response"
  7043          }
  7044        }
  7045      },
  7046      "patch": {
  7047        "consumes": [
  7048          "application/json"
  7049        ],
  7050        "produces": [
  7051          "application/json"
  7052        ],
  7053        "tags": [
  7054          "issue"
  7055        ],
  7056        "summary": "Update a label",
  7057        "operationId": "issueEditLabel",
  7058        "parameters": [
  7059          {
  7060            "type": "string",
  7061            "description": "owner of the repo",
  7062            "name": "owner",
  7063            "in": "path",
  7064            "required": true
  7065          },
  7066          {
  7067            "type": "string",
  7068            "description": "name of the repo",
  7069            "name": "repo",
  7070            "in": "path",
  7071            "required": true
  7072          },
  7073          {
  7074            "type": "integer",
  7075            "description": "id of the label to edit",
  7076            "name": "id",
  7077            "in": "path",
  7078            "required": true
  7079          },
  7080          {
  7081            "name": "body",
  7082            "in": "body",
  7083            "schema": {
  7084              "description": "EditLabelOption options for editing a label",
  7085              "type": "object",
  7086              "properties": {
  7087                "color": {
  7088                  "type": "string",
  7089                  "x-go-name": "Color"
  7090                },
  7091                "name": {
  7092                  "type": "string",
  7093                  "x-go-name": "Name"
  7094                }
  7095              },
  7096              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7097            }
  7098          }
  7099        ],
  7100        "responses": {
  7101          "200": {
  7102            "description": "Label",
  7103            "schema": {
  7104              "description": "Label a label to an issue or a pr",
  7105              "type": "object",
  7106              "properties": {
  7107                "color": {
  7108                  "type": "string",
  7109                  "x-go-name": "Color",
  7110                  "example": "00aabb"
  7111                },
  7112                "id": {
  7113                  "type": "integer",
  7114                  "format": "int64",
  7115                  "x-go-name": "ID"
  7116                },
  7117                "name": {
  7118                  "type": "string",
  7119                  "x-go-name": "Name"
  7120                },
  7121                "url": {
  7122                  "type": "string",
  7123                  "x-go-name": "URL"
  7124                }
  7125              },
  7126              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7127            }
  7128          }
  7129        }
  7130      }
  7131    },
  7132    "/repos/{owner}/{repo}/milestones": {
  7133      "get": {
  7134        "produces": [
  7135          "application/json"
  7136        ],
  7137        "tags": [
  7138          "issue"
  7139        ],
  7140        "summary": "Get all of a repository's milestones",
  7141        "operationId": "issueGetMilestonesList",
  7142        "parameters": [
  7143          {
  7144            "type": "string",
  7145            "description": "owner of the repo",
  7146            "name": "owner",
  7147            "in": "path",
  7148            "required": true
  7149          },
  7150          {
  7151            "type": "string",
  7152            "description": "name of the repo",
  7153            "name": "repo",
  7154            "in": "path",
  7155            "required": true
  7156          }
  7157        ],
  7158        "responses": {
  7159          "200": {
  7160            "description": "MilestoneList",
  7161            "schema": {
  7162              "type": "array",
  7163              "items": {
  7164                "description": "Milestone milestone is a collection of issues on one repository",
  7165                "type": "object",
  7166                "properties": {
  7167                  "closed_at": {
  7168                    "type": "string",
  7169                    "format": "date-time",
  7170                    "x-go-name": "Closed"
  7171                  },
  7172                  "closed_issues": {
  7173                    "type": "integer",
  7174                    "format": "int64",
  7175                    "x-go-name": "ClosedIssues"
  7176                  },
  7177                  "description": {
  7178                    "type": "string",
  7179                    "x-go-name": "Description"
  7180                  },
  7181                  "due_on": {
  7182                    "type": "string",
  7183                    "format": "date-time",
  7184                    "x-go-name": "Deadline"
  7185                  },
  7186                  "id": {
  7187                    "type": "integer",
  7188                    "format": "int64",
  7189                    "x-go-name": "ID"
  7190                  },
  7191                  "open_issues": {
  7192                    "type": "integer",
  7193                    "format": "int64",
  7194                    "x-go-name": "OpenIssues"
  7195                  },
  7196                  "state": {
  7197                    "description": "StateType issue state type",
  7198                    "type": "string",
  7199                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7200                  },
  7201                  "title": {
  7202                    "type": "string",
  7203                    "x-go-name": "Title"
  7204                  }
  7205                },
  7206                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7207              }
  7208            }
  7209          }
  7210        }
  7211      },
  7212      "post": {
  7213        "consumes": [
  7214          "application/json"
  7215        ],
  7216        "produces": [
  7217          "application/json"
  7218        ],
  7219        "tags": [
  7220          "issue"
  7221        ],
  7222        "summary": "Create a milestone",
  7223        "operationId": "issueCreateMilestone",
  7224        "parameters": [
  7225          {
  7226            "type": "string",
  7227            "description": "owner of the repo",
  7228            "name": "owner",
  7229            "in": "path",
  7230            "required": true
  7231          },
  7232          {
  7233            "type": "string",
  7234            "description": "name of the repo",
  7235            "name": "repo",
  7236            "in": "path",
  7237            "required": true
  7238          },
  7239          {
  7240            "name": "body",
  7241            "in": "body",
  7242            "schema": {
  7243              "description": "CreateMilestoneOption options for creating a milestone",
  7244              "type": "object",
  7245              "properties": {
  7246                "description": {
  7247                  "type": "string",
  7248                  "x-go-name": "Description"
  7249                },
  7250                "due_on": {
  7251                  "type": "string",
  7252                  "format": "date-time",
  7253                  "x-go-name": "Deadline"
  7254                },
  7255                "title": {
  7256                  "type": "string",
  7257                  "x-go-name": "Title"
  7258                }
  7259              },
  7260              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7261            }
  7262          }
  7263        ],
  7264        "responses": {
  7265          "201": {
  7266            "description": "Milestone",
  7267            "schema": {
  7268              "description": "Milestone milestone is a collection of issues on one repository",
  7269              "type": "object",
  7270              "properties": {
  7271                "closed_at": {
  7272                  "type": "string",
  7273                  "format": "date-time",
  7274                  "x-go-name": "Closed"
  7275                },
  7276                "closed_issues": {
  7277                  "type": "integer",
  7278                  "format": "int64",
  7279                  "x-go-name": "ClosedIssues"
  7280                },
  7281                "description": {
  7282                  "type": "string",
  7283                  "x-go-name": "Description"
  7284                },
  7285                "due_on": {
  7286                  "type": "string",
  7287                  "format": "date-time",
  7288                  "x-go-name": "Deadline"
  7289                },
  7290                "id": {
  7291                  "type": "integer",
  7292                  "format": "int64",
  7293                  "x-go-name": "ID"
  7294                },
  7295                "open_issues": {
  7296                  "type": "integer",
  7297                  "format": "int64",
  7298                  "x-go-name": "OpenIssues"
  7299                },
  7300                "state": {
  7301                  "description": "StateType issue state type",
  7302                  "type": "string",
  7303                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7304                },
  7305                "title": {
  7306                  "type": "string",
  7307                  "x-go-name": "Title"
  7308                }
  7309              },
  7310              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7311            }
  7312          }
  7313        }
  7314      }
  7315    },
  7316    "/repos/{owner}/{repo}/milestones/{id}": {
  7317      "get": {
  7318        "produces": [
  7319          "application/json"
  7320        ],
  7321        "tags": [
  7322          "issue"
  7323        ],
  7324        "summary": "Get a milestone",
  7325        "operationId": "issueGetMilestone",
  7326        "parameters": [
  7327          {
  7328            "type": "string",
  7329            "description": "owner of the repo",
  7330            "name": "owner",
  7331            "in": "path",
  7332            "required": true
  7333          },
  7334          {
  7335            "type": "string",
  7336            "description": "name of the repo",
  7337            "name": "repo",
  7338            "in": "path",
  7339            "required": true
  7340          },
  7341          {
  7342            "type": "integer",
  7343            "description": "id of the milestone",
  7344            "name": "id",
  7345            "in": "path",
  7346            "required": true
  7347          }
  7348        ],
  7349        "responses": {
  7350          "200": {
  7351            "description": "Milestone",
  7352            "schema": {
  7353              "description": "Milestone milestone is a collection of issues on one repository",
  7354              "type": "object",
  7355              "properties": {
  7356                "closed_at": {
  7357                  "type": "string",
  7358                  "format": "date-time",
  7359                  "x-go-name": "Closed"
  7360                },
  7361                "closed_issues": {
  7362                  "type": "integer",
  7363                  "format": "int64",
  7364                  "x-go-name": "ClosedIssues"
  7365                },
  7366                "description": {
  7367                  "type": "string",
  7368                  "x-go-name": "Description"
  7369                },
  7370                "due_on": {
  7371                  "type": "string",
  7372                  "format": "date-time",
  7373                  "x-go-name": "Deadline"
  7374                },
  7375                "id": {
  7376                  "type": "integer",
  7377                  "format": "int64",
  7378                  "x-go-name": "ID"
  7379                },
  7380                "open_issues": {
  7381                  "type": "integer",
  7382                  "format": "int64",
  7383                  "x-go-name": "OpenIssues"
  7384                },
  7385                "state": {
  7386                  "description": "StateType issue state type",
  7387                  "type": "string",
  7388                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7389                },
  7390                "title": {
  7391                  "type": "string",
  7392                  "x-go-name": "Title"
  7393                }
  7394              },
  7395              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7396            }
  7397          }
  7398        }
  7399      },
  7400      "delete": {
  7401        "tags": [
  7402          "issue"
  7403        ],
  7404        "summary": "Delete a milestone",
  7405        "operationId": "issueDeleteMilestone",
  7406        "parameters": [
  7407          {
  7408            "type": "string",
  7409            "description": "owner of the repo",
  7410            "name": "owner",
  7411            "in": "path",
  7412            "required": true
  7413          },
  7414          {
  7415            "type": "string",
  7416            "description": "name of the repo",
  7417            "name": "repo",
  7418            "in": "path",
  7419            "required": true
  7420          },
  7421          {
  7422            "type": "integer",
  7423            "description": "id of the milestone to delete",
  7424            "name": "id",
  7425            "in": "path",
  7426            "required": true
  7427          }
  7428        ],
  7429        "responses": {
  7430          "204": {
  7431            "description": "APIEmpty is an empty response"
  7432          }
  7433        }
  7434      },
  7435      "patch": {
  7436        "consumes": [
  7437          "application/json"
  7438        ],
  7439        "produces": [
  7440          "application/json"
  7441        ],
  7442        "tags": [
  7443          "issue"
  7444        ],
  7445        "summary": "Update a milestone",
  7446        "operationId": "issueEditMilestone",
  7447        "parameters": [
  7448          {
  7449            "type": "string",
  7450            "description": "owner of the repo",
  7451            "name": "owner",
  7452            "in": "path",
  7453            "required": true
  7454          },
  7455          {
  7456            "type": "string",
  7457            "description": "name of the repo",
  7458            "name": "repo",
  7459            "in": "path",
  7460            "required": true
  7461          },
  7462          {
  7463            "type": "integer",
  7464            "description": "id of the milestone",
  7465            "name": "id",
  7466            "in": "path",
  7467            "required": true
  7468          },
  7469          {
  7470            "name": "body",
  7471            "in": "body",
  7472            "schema": {
  7473              "description": "EditMilestoneOption options for editing a milestone",
  7474              "type": "object",
  7475              "properties": {
  7476                "description": {
  7477                  "type": "string",
  7478                  "x-go-name": "Description"
  7479                },
  7480                "due_on": {
  7481                  "type": "string",
  7482                  "format": "date-time",
  7483                  "x-go-name": "Deadline"
  7484                },
  7485                "state": {
  7486                  "type": "string",
  7487                  "x-go-name": "State"
  7488                },
  7489                "title": {
  7490                  "type": "string",
  7491                  "x-go-name": "Title"
  7492                }
  7493              },
  7494              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7495            }
  7496          }
  7497        ],
  7498        "responses": {
  7499          "200": {
  7500            "description": "Milestone",
  7501            "schema": {
  7502              "description": "Milestone milestone is a collection of issues on one repository",
  7503              "type": "object",
  7504              "properties": {
  7505                "closed_at": {
  7506                  "type": "string",
  7507                  "format": "date-time",
  7508                  "x-go-name": "Closed"
  7509                },
  7510                "closed_issues": {
  7511                  "type": "integer",
  7512                  "format": "int64",
  7513                  "x-go-name": "ClosedIssues"
  7514                },
  7515                "description": {
  7516                  "type": "string",
  7517                  "x-go-name": "Description"
  7518                },
  7519                "due_on": {
  7520                  "type": "string",
  7521                  "format": "date-time",
  7522                  "x-go-name": "Deadline"
  7523                },
  7524                "id": {
  7525                  "type": "integer",
  7526                  "format": "int64",
  7527                  "x-go-name": "ID"
  7528                },
  7529                "open_issues": {
  7530                  "type": "integer",
  7531                  "format": "int64",
  7532                  "x-go-name": "OpenIssues"
  7533                },
  7534                "state": {
  7535                  "description": "StateType issue state type",
  7536                  "type": "string",
  7537                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7538                },
  7539                "title": {
  7540                  "type": "string",
  7541                  "x-go-name": "Title"
  7542                }
  7543              },
  7544              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7545            }
  7546          }
  7547        }
  7548      }
  7549    },
  7550    "/repos/{owner}/{repo}/mirror-sync": {
  7551      "post": {
  7552        "produces": [
  7553          "application/json"
  7554        ],
  7555        "tags": [
  7556          "repository"
  7557        ],
  7558        "summary": "Sync a mirrored repository",
  7559        "operationId": "repoMirrorSync",
  7560        "parameters": [
  7561          {
  7562            "type": "string",
  7563            "description": "owner of the repo to sync",
  7564            "name": "owner",
  7565            "in": "path",
  7566            "required": true
  7567          },
  7568          {
  7569            "type": "string",
  7570            "description": "name of the repo to sync",
  7571            "name": "repo",
  7572            "in": "path",
  7573            "required": true
  7574          }
  7575        ],
  7576        "responses": {
  7577          "200": {
  7578            "description": "APIEmpty is an empty response"
  7579          }
  7580        }
  7581      }
  7582    },
  7583    "/repos/{owner}/{repo}/pulls": {
  7584      "get": {
  7585        "produces": [
  7586          "application/json"
  7587        ],
  7588        "tags": [
  7589          "repository"
  7590        ],
  7591        "summary": "List a repo's pull requests",
  7592        "operationId": "repoListPullRequests",
  7593        "parameters": [
  7594          {
  7595            "type": "string",
  7596            "description": "owner of the repo",
  7597            "name": "owner",
  7598            "in": "path",
  7599            "required": true
  7600          },
  7601          {
  7602            "type": "string",
  7603            "description": "name of the repo",
  7604            "name": "repo",
  7605            "in": "path",
  7606            "required": true
  7607          }
  7608        ],
  7609        "responses": {
  7610          "200": {
  7611            "description": "PullRequestList",
  7612            "schema": {
  7613              "type": "array",
  7614              "items": {
  7615                "description": "PullRequest represents a pull request",
  7616                "type": "object",
  7617                "properties": {
  7618                  "assignee": {
  7619                    "description": "User represents a user",
  7620                    "type": "object",
  7621                    "properties": {
  7622                      "avatar_url": {
  7623                        "description": "URL to the user's avatar",
  7624                        "type": "string",
  7625                        "x-go-name": "AvatarURL"
  7626                      },
  7627                      "email": {
  7628                        "type": "string",
  7629                        "format": "email",
  7630                        "x-go-name": "Email"
  7631                      },
  7632                      "full_name": {
  7633                        "description": "the user's full name",
  7634                        "type": "string",
  7635                        "x-go-name": "FullName"
  7636                      },
  7637                      "id": {
  7638                        "description": "the user's id",
  7639                        "type": "integer",
  7640                        "format": "int64",
  7641                        "x-go-name": "ID"
  7642                      },
  7643                      "language": {
  7644                        "description": "User locale",
  7645                        "type": "string",
  7646                        "x-go-name": "Language"
  7647                      },
  7648                      "login": {
  7649                        "description": "the user's username",
  7650                        "type": "string",
  7651                        "x-go-name": "UserName"
  7652                      }
  7653                    },
  7654                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7655                  },
  7656                  "assignees": {
  7657                    "type": "array",
  7658                    "items": {
  7659                      "description": "User represents a user",
  7660                      "type": "object",
  7661                      "properties": {
  7662                        "avatar_url": {
  7663                          "description": "URL to the user's avatar",
  7664                          "type": "string",
  7665                          "x-go-name": "AvatarURL"
  7666                        },
  7667                        "email": {
  7668                          "type": "string",
  7669                          "format": "email",
  7670                          "x-go-name": "Email"
  7671                        },
  7672                        "full_name": {
  7673                          "description": "the user's full name",
  7674                          "type": "string",
  7675                          "x-go-name": "FullName"
  7676                        },
  7677                        "id": {
  7678                          "description": "the user's id",
  7679                          "type": "integer",
  7680                          "format": "int64",
  7681                          "x-go-name": "ID"
  7682                        },
  7683                        "language": {
  7684                          "description": "User locale",
  7685                          "type": "string",
  7686                          "x-go-name": "Language"
  7687                        },
  7688                        "login": {
  7689                          "description": "the user's username",
  7690                          "type": "string",
  7691                          "x-go-name": "UserName"
  7692                        }
  7693                      },
  7694                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7695                    },
  7696                    "x-go-name": "Assignees"
  7697                  },
  7698                  "base": {
  7699                    "description": "PRBranchInfo information about a branch",
  7700                    "type": "object",
  7701                    "properties": {
  7702                      "label": {
  7703                        "type": "string",
  7704                        "x-go-name": "Name"
  7705                      },
  7706                      "ref": {
  7707                        "type": "string",
  7708                        "x-go-name": "Ref"
  7709                      },
  7710                      "repo": {
  7711                        "$ref": "#/definitions/Repository"
  7712                      },
  7713                      "repo_id": {
  7714                        "type": "integer",
  7715                        "format": "int64",
  7716                        "x-go-name": "RepoID"
  7717                      },
  7718                      "sha": {
  7719                        "type": "string",
  7720                        "x-go-name": "Sha"
  7721                      }
  7722                    },
  7723                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7724                  },
  7725                  "body": {
  7726                    "type": "string",
  7727                    "x-go-name": "Body"
  7728                  },
  7729                  "closed_at": {
  7730                    "type": "string",
  7731                    "format": "date-time",
  7732                    "x-go-name": "Closed"
  7733                  },
  7734                  "comments": {
  7735                    "type": "integer",
  7736                    "format": "int64",
  7737                    "x-go-name": "Comments"
  7738                  },
  7739                  "created_at": {
  7740                    "type": "string",
  7741                    "format": "date-time",
  7742                    "x-go-name": "Created"
  7743                  },
  7744                  "diff_url": {
  7745                    "type": "string",
  7746                    "x-go-name": "DiffURL"
  7747                  },
  7748                  "due_date": {
  7749                    "type": "string",
  7750                    "format": "date-time",
  7751                    "x-go-name": "Deadline"
  7752                  },
  7753                  "head": {
  7754                    "description": "PRBranchInfo information about a branch",
  7755                    "type": "object",
  7756                    "properties": {
  7757                      "label": {
  7758                        "type": "string",
  7759                        "x-go-name": "Name"
  7760                      },
  7761                      "ref": {
  7762                        "type": "string",
  7763                        "x-go-name": "Ref"
  7764                      },
  7765                      "repo": {
  7766                        "$ref": "#/definitions/Repository"
  7767                      },
  7768                      "repo_id": {
  7769                        "type": "integer",
  7770                        "format": "int64",
  7771                        "x-go-name": "RepoID"
  7772                      },
  7773                      "sha": {
  7774                        "type": "string",
  7775                        "x-go-name": "Sha"
  7776                      }
  7777                    },
  7778                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7779                  },
  7780                  "html_url": {
  7781                    "type": "string",
  7782                    "x-go-name": "HTMLURL"
  7783                  },
  7784                  "id": {
  7785                    "type": "integer",
  7786                    "format": "int64",
  7787                    "x-go-name": "ID"
  7788                  },
  7789                  "labels": {
  7790                    "type": "array",
  7791                    "items": {
  7792                      "description": "Label a label to an issue or a pr",
  7793                      "type": "object",
  7794                      "properties": {
  7795                        "color": {
  7796                          "type": "string",
  7797                          "x-go-name": "Color",
  7798                          "example": "00aabb"
  7799                        },
  7800                        "id": {
  7801                          "type": "integer",
  7802                          "format": "int64",
  7803                          "x-go-name": "ID"
  7804                        },
  7805                        "name": {
  7806                          "type": "string",
  7807                          "x-go-name": "Name"
  7808                        },
  7809                        "url": {
  7810                          "type": "string",
  7811                          "x-go-name": "URL"
  7812                        }
  7813                      },
  7814                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7815                    },
  7816                    "x-go-name": "Labels"
  7817                  },
  7818                  "merge_base": {
  7819                    "type": "string",
  7820                    "x-go-name": "MergeBase"
  7821                  },
  7822                  "merge_commit_sha": {
  7823                    "type": "string",
  7824                    "x-go-name": "MergedCommitID"
  7825                  },
  7826                  "mergeable": {
  7827                    "type": "boolean",
  7828                    "x-go-name": "Mergeable"
  7829                  },
  7830                  "merged": {
  7831                    "type": "boolean",
  7832                    "x-go-name": "HasMerged"
  7833                  },
  7834                  "merged_at": {
  7835                    "type": "string",
  7836                    "format": "date-time",
  7837                    "x-go-name": "Merged"
  7838                  },
  7839                  "merged_by": {
  7840                    "description": "User represents a user",
  7841                    "type": "object",
  7842                    "properties": {
  7843                      "avatar_url": {
  7844                        "description": "URL to the user's avatar",
  7845                        "type": "string",
  7846                        "x-go-name": "AvatarURL"
  7847                      },
  7848                      "email": {
  7849                        "type": "string",
  7850                        "format": "email",
  7851                        "x-go-name": "Email"
  7852                      },
  7853                      "full_name": {
  7854                        "description": "the user's full name",
  7855                        "type": "string",
  7856                        "x-go-name": "FullName"
  7857                      },
  7858                      "id": {
  7859                        "description": "the user's id",
  7860                        "type": "integer",
  7861                        "format": "int64",
  7862                        "x-go-name": "ID"
  7863                      },
  7864                      "language": {
  7865                        "description": "User locale",
  7866                        "type": "string",
  7867                        "x-go-name": "Language"
  7868                      },
  7869                      "login": {
  7870                        "description": "the user's username",
  7871                        "type": "string",
  7872                        "x-go-name": "UserName"
  7873                      }
  7874                    },
  7875                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7876                  },
  7877                  "milestone": {
  7878                    "description": "Milestone milestone is a collection of issues on one repository",
  7879                    "type": "object",
  7880                    "properties": {
  7881                      "closed_at": {
  7882                        "type": "string",
  7883                        "format": "date-time",
  7884                        "x-go-name": "Closed"
  7885                      },
  7886                      "closed_issues": {
  7887                        "type": "integer",
  7888                        "format": "int64",
  7889                        "x-go-name": "ClosedIssues"
  7890                      },
  7891                      "description": {
  7892                        "type": "string",
  7893                        "x-go-name": "Description"
  7894                      },
  7895                      "due_on": {
  7896                        "type": "string",
  7897                        "format": "date-time",
  7898                        "x-go-name": "Deadline"
  7899                      },
  7900                      "id": {
  7901                        "type": "integer",
  7902                        "format": "int64",
  7903                        "x-go-name": "ID"
  7904                      },
  7905                      "open_issues": {
  7906                        "type": "integer",
  7907                        "format": "int64",
  7908                        "x-go-name": "OpenIssues"
  7909                      },
  7910                      "state": {
  7911                        "description": "StateType issue state type",
  7912                        "type": "string",
  7913                        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7914                      },
  7915                      "title": {
  7916                        "type": "string",
  7917                        "x-go-name": "Title"
  7918                      }
  7919                    },
  7920                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7921                  },
  7922                  "number": {
  7923                    "type": "integer",
  7924                    "format": "int64",
  7925                    "x-go-name": "Index"
  7926                  },
  7927                  "patch_url": {
  7928                    "type": "string",
  7929                    "x-go-name": "PatchURL"
  7930                  },
  7931                  "state": {
  7932                    "description": "StateType issue state type",
  7933                    "type": "string",
  7934                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7935                  },
  7936                  "title": {
  7937                    "type": "string",
  7938                    "x-go-name": "Title"
  7939                  },
  7940                  "updated_at": {
  7941                    "type": "string",
  7942                    "format": "date-time",
  7943                    "x-go-name": "Updated"
  7944                  },
  7945                  "url": {
  7946                    "type": "string",
  7947                    "x-go-name": "URL"
  7948                  },
  7949                  "user": {
  7950                    "description": "User represents a user",
  7951                    "type": "object",
  7952                    "properties": {
  7953                      "avatar_url": {
  7954                        "description": "URL to the user's avatar",
  7955                        "type": "string",
  7956                        "x-go-name": "AvatarURL"
  7957                      },
  7958                      "email": {
  7959                        "type": "string",
  7960                        "format": "email",
  7961                        "x-go-name": "Email"
  7962                      },
  7963                      "full_name": {
  7964                        "description": "the user's full name",
  7965                        "type": "string",
  7966                        "x-go-name": "FullName"
  7967                      },
  7968                      "id": {
  7969                        "description": "the user's id",
  7970                        "type": "integer",
  7971                        "format": "int64",
  7972                        "x-go-name": "ID"
  7973                      },
  7974                      "language": {
  7975                        "description": "User locale",
  7976                        "type": "string",
  7977                        "x-go-name": "Language"
  7978                      },
  7979                      "login": {
  7980                        "description": "the user's username",
  7981                        "type": "string",
  7982                        "x-go-name": "UserName"
  7983                      }
  7984                    },
  7985                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7986                  }
  7987                },
  7988                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  7989              }
  7990            }
  7991          }
  7992        }
  7993      },
  7994      "post": {
  7995        "consumes": [
  7996          "application/json"
  7997        ],
  7998        "produces": [
  7999          "application/json"
  8000        ],
  8001        "tags": [
  8002          "repository"
  8003        ],
  8004        "summary": "Create a pull request",
  8005        "operationId": "repoCreatePullRequest",
  8006        "parameters": [
  8007          {
  8008            "type": "string",
  8009            "description": "owner of the repo",
  8010            "name": "owner",
  8011            "in": "path",
  8012            "required": true
  8013          },
  8014          {
  8015            "type": "string",
  8016            "description": "name of the repo",
  8017            "name": "repo",
  8018            "in": "path",
  8019            "required": true
  8020          },
  8021          {
  8022            "name": "body",
  8023            "in": "body",
  8024            "schema": {
  8025              "description": "CreatePullRequestOption options when creating a pull request",
  8026              "type": "object",
  8027              "properties": {
  8028                "assignee": {
  8029                  "type": "string",
  8030                  "x-go-name": "Assignee"
  8031                },
  8032                "assignees": {
  8033                  "type": "array",
  8034                  "items": {
  8035                    "type": "string"
  8036                  },
  8037                  "x-go-name": "Assignees"
  8038                },
  8039                "base": {
  8040                  "type": "string",
  8041                  "x-go-name": "Base"
  8042                },
  8043                "body": {
  8044                  "type": "string",
  8045                  "x-go-name": "Body"
  8046                },
  8047                "due_date": {
  8048                  "type": "string",
  8049                  "format": "date-time",
  8050                  "x-go-name": "Deadline"
  8051                },
  8052                "head": {
  8053                  "type": "string",
  8054                  "x-go-name": "Head"
  8055                },
  8056                "labels": {
  8057                  "type": "array",
  8058                  "items": {
  8059                    "type": "integer",
  8060                    "format": "int64"
  8061                  },
  8062                  "x-go-name": "Labels"
  8063                },
  8064                "milestone": {
  8065                  "type": "integer",
  8066                  "format": "int64",
  8067                  "x-go-name": "Milestone"
  8068                },
  8069                "title": {
  8070                  "type": "string",
  8071                  "x-go-name": "Title"
  8072                }
  8073              },
  8074              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8075            }
  8076          }
  8077        ],
  8078        "responses": {
  8079          "201": {
  8080            "description": "PullRequest",
  8081            "schema": {
  8082              "description": "PullRequest represents a pull request",
  8083              "type": "object",
  8084              "properties": {
  8085                "assignee": {
  8086                  "description": "User represents a user",
  8087                  "type": "object",
  8088                  "properties": {
  8089                    "avatar_url": {
  8090                      "description": "URL to the user's avatar",
  8091                      "type": "string",
  8092                      "x-go-name": "AvatarURL"
  8093                    },
  8094                    "email": {
  8095                      "type": "string",
  8096                      "format": "email",
  8097                      "x-go-name": "Email"
  8098                    },
  8099                    "full_name": {
  8100                      "description": "the user's full name",
  8101                      "type": "string",
  8102                      "x-go-name": "FullName"
  8103                    },
  8104                    "id": {
  8105                      "description": "the user's id",
  8106                      "type": "integer",
  8107                      "format": "int64",
  8108                      "x-go-name": "ID"
  8109                    },
  8110                    "language": {
  8111                      "description": "User locale",
  8112                      "type": "string",
  8113                      "x-go-name": "Language"
  8114                    },
  8115                    "login": {
  8116                      "description": "the user's username",
  8117                      "type": "string",
  8118                      "x-go-name": "UserName"
  8119                    }
  8120                  },
  8121                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8122                },
  8123                "assignees": {
  8124                  "type": "array",
  8125                  "items": {
  8126                    "description": "User represents a user",
  8127                    "type": "object",
  8128                    "properties": {
  8129                      "avatar_url": {
  8130                        "description": "URL to the user's avatar",
  8131                        "type": "string",
  8132                        "x-go-name": "AvatarURL"
  8133                      },
  8134                      "email": {
  8135                        "type": "string",
  8136                        "format": "email",
  8137                        "x-go-name": "Email"
  8138                      },
  8139                      "full_name": {
  8140                        "description": "the user's full name",
  8141                        "type": "string",
  8142                        "x-go-name": "FullName"
  8143                      },
  8144                      "id": {
  8145                        "description": "the user's id",
  8146                        "type": "integer",
  8147                        "format": "int64",
  8148                        "x-go-name": "ID"
  8149                      },
  8150                      "language": {
  8151                        "description": "User locale",
  8152                        "type": "string",
  8153                        "x-go-name": "Language"
  8154                      },
  8155                      "login": {
  8156                        "description": "the user's username",
  8157                        "type": "string",
  8158                        "x-go-name": "UserName"
  8159                      }
  8160                    },
  8161                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8162                  },
  8163                  "x-go-name": "Assignees"
  8164                },
  8165                "base": {
  8166                  "description": "PRBranchInfo information about a branch",
  8167                  "type": "object",
  8168                  "properties": {
  8169                    "label": {
  8170                      "type": "string",
  8171                      "x-go-name": "Name"
  8172                    },
  8173                    "ref": {
  8174                      "type": "string",
  8175                      "x-go-name": "Ref"
  8176                    },
  8177                    "repo": {
  8178                      "$ref": "#/definitions/Repository"
  8179                    },
  8180                    "repo_id": {
  8181                      "type": "integer",
  8182                      "format": "int64",
  8183                      "x-go-name": "RepoID"
  8184                    },
  8185                    "sha": {
  8186                      "type": "string",
  8187                      "x-go-name": "Sha"
  8188                    }
  8189                  },
  8190                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8191                },
  8192                "body": {
  8193                  "type": "string",
  8194                  "x-go-name": "Body"
  8195                },
  8196                "closed_at": {
  8197                  "type": "string",
  8198                  "format": "date-time",
  8199                  "x-go-name": "Closed"
  8200                },
  8201                "comments": {
  8202                  "type": "integer",
  8203                  "format": "int64",
  8204                  "x-go-name": "Comments"
  8205                },
  8206                "created_at": {
  8207                  "type": "string",
  8208                  "format": "date-time",
  8209                  "x-go-name": "Created"
  8210                },
  8211                "diff_url": {
  8212                  "type": "string",
  8213                  "x-go-name": "DiffURL"
  8214                },
  8215                "due_date": {
  8216                  "type": "string",
  8217                  "format": "date-time",
  8218                  "x-go-name": "Deadline"
  8219                },
  8220                "head": {
  8221                  "description": "PRBranchInfo information about a branch",
  8222                  "type": "object",
  8223                  "properties": {
  8224                    "label": {
  8225                      "type": "string",
  8226                      "x-go-name": "Name"
  8227                    },
  8228                    "ref": {
  8229                      "type": "string",
  8230                      "x-go-name": "Ref"
  8231                    },
  8232                    "repo": {
  8233                      "$ref": "#/definitions/Repository"
  8234                    },
  8235                    "repo_id": {
  8236                      "type": "integer",
  8237                      "format": "int64",
  8238                      "x-go-name": "RepoID"
  8239                    },
  8240                    "sha": {
  8241                      "type": "string",
  8242                      "x-go-name": "Sha"
  8243                    }
  8244                  },
  8245                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8246                },
  8247                "html_url": {
  8248                  "type": "string",
  8249                  "x-go-name": "HTMLURL"
  8250                },
  8251                "id": {
  8252                  "type": "integer",
  8253                  "format": "int64",
  8254                  "x-go-name": "ID"
  8255                },
  8256                "labels": {
  8257                  "type": "array",
  8258                  "items": {
  8259                    "description": "Label a label to an issue or a pr",
  8260                    "type": "object",
  8261                    "properties": {
  8262                      "color": {
  8263                        "type": "string",
  8264                        "x-go-name": "Color",
  8265                        "example": "00aabb"
  8266                      },
  8267                      "id": {
  8268                        "type": "integer",
  8269                        "format": "int64",
  8270                        "x-go-name": "ID"
  8271                      },
  8272                      "name": {
  8273                        "type": "string",
  8274                        "x-go-name": "Name"
  8275                      },
  8276                      "url": {
  8277                        "type": "string",
  8278                        "x-go-name": "URL"
  8279                      }
  8280                    },
  8281                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8282                  },
  8283                  "x-go-name": "Labels"
  8284                },
  8285                "merge_base": {
  8286                  "type": "string",
  8287                  "x-go-name": "MergeBase"
  8288                },
  8289                "merge_commit_sha": {
  8290                  "type": "string",
  8291                  "x-go-name": "MergedCommitID"
  8292                },
  8293                "mergeable": {
  8294                  "type": "boolean",
  8295                  "x-go-name": "Mergeable"
  8296                },
  8297                "merged": {
  8298                  "type": "boolean",
  8299                  "x-go-name": "HasMerged"
  8300                },
  8301                "merged_at": {
  8302                  "type": "string",
  8303                  "format": "date-time",
  8304                  "x-go-name": "Merged"
  8305                },
  8306                "merged_by": {
  8307                  "description": "User represents a user",
  8308                  "type": "object",
  8309                  "properties": {
  8310                    "avatar_url": {
  8311                      "description": "URL to the user's avatar",
  8312                      "type": "string",
  8313                      "x-go-name": "AvatarURL"
  8314                    },
  8315                    "email": {
  8316                      "type": "string",
  8317                      "format": "email",
  8318                      "x-go-name": "Email"
  8319                    },
  8320                    "full_name": {
  8321                      "description": "the user's full name",
  8322                      "type": "string",
  8323                      "x-go-name": "FullName"
  8324                    },
  8325                    "id": {
  8326                      "description": "the user's id",
  8327                      "type": "integer",
  8328                      "format": "int64",
  8329                      "x-go-name": "ID"
  8330                    },
  8331                    "language": {
  8332                      "description": "User locale",
  8333                      "type": "string",
  8334                      "x-go-name": "Language"
  8335                    },
  8336                    "login": {
  8337                      "description": "the user's username",
  8338                      "type": "string",
  8339                      "x-go-name": "UserName"
  8340                    }
  8341                  },
  8342                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8343                },
  8344                "milestone": {
  8345                  "description": "Milestone milestone is a collection of issues on one repository",
  8346                  "type": "object",
  8347                  "properties": {
  8348                    "closed_at": {
  8349                      "type": "string",
  8350                      "format": "date-time",
  8351                      "x-go-name": "Closed"
  8352                    },
  8353                    "closed_issues": {
  8354                      "type": "integer",
  8355                      "format": "int64",
  8356                      "x-go-name": "ClosedIssues"
  8357                    },
  8358                    "description": {
  8359                      "type": "string",
  8360                      "x-go-name": "Description"
  8361                    },
  8362                    "due_on": {
  8363                      "type": "string",
  8364                      "format": "date-time",
  8365                      "x-go-name": "Deadline"
  8366                    },
  8367                    "id": {
  8368                      "type": "integer",
  8369                      "format": "int64",
  8370                      "x-go-name": "ID"
  8371                    },
  8372                    "open_issues": {
  8373                      "type": "integer",
  8374                      "format": "int64",
  8375                      "x-go-name": "OpenIssues"
  8376                    },
  8377                    "state": {
  8378                      "description": "StateType issue state type",
  8379                      "type": "string",
  8380                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8381                    },
  8382                    "title": {
  8383                      "type": "string",
  8384                      "x-go-name": "Title"
  8385                    }
  8386                  },
  8387                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8388                },
  8389                "number": {
  8390                  "type": "integer",
  8391                  "format": "int64",
  8392                  "x-go-name": "Index"
  8393                },
  8394                "patch_url": {
  8395                  "type": "string",
  8396                  "x-go-name": "PatchURL"
  8397                },
  8398                "state": {
  8399                  "description": "StateType issue state type",
  8400                  "type": "string",
  8401                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8402                },
  8403                "title": {
  8404                  "type": "string",
  8405                  "x-go-name": "Title"
  8406                },
  8407                "updated_at": {
  8408                  "type": "string",
  8409                  "format": "date-time",
  8410                  "x-go-name": "Updated"
  8411                },
  8412                "url": {
  8413                  "type": "string",
  8414                  "x-go-name": "URL"
  8415                },
  8416                "user": {
  8417                  "description": "User represents a user",
  8418                  "type": "object",
  8419                  "properties": {
  8420                    "avatar_url": {
  8421                      "description": "URL to the user's avatar",
  8422                      "type": "string",
  8423                      "x-go-name": "AvatarURL"
  8424                    },
  8425                    "email": {
  8426                      "type": "string",
  8427                      "format": "email",
  8428                      "x-go-name": "Email"
  8429                    },
  8430                    "full_name": {
  8431                      "description": "the user's full name",
  8432                      "type": "string",
  8433                      "x-go-name": "FullName"
  8434                    },
  8435                    "id": {
  8436                      "description": "the user's id",
  8437                      "type": "integer",
  8438                      "format": "int64",
  8439                      "x-go-name": "ID"
  8440                    },
  8441                    "language": {
  8442                      "description": "User locale",
  8443                      "type": "string",
  8444                      "x-go-name": "Language"
  8445                    },
  8446                    "login": {
  8447                      "description": "the user's username",
  8448                      "type": "string",
  8449                      "x-go-name": "UserName"
  8450                    }
  8451                  },
  8452                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8453                }
  8454              },
  8455              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8456            }
  8457          }
  8458        }
  8459      }
  8460    },
  8461    "/repos/{owner}/{repo}/pulls/{index}": {
  8462      "get": {
  8463        "produces": [
  8464          "application/json"
  8465        ],
  8466        "tags": [
  8467          "repository"
  8468        ],
  8469        "summary": "Get a pull request",
  8470        "operationId": "repoGetPullRequest",
  8471        "parameters": [
  8472          {
  8473            "type": "string",
  8474            "description": "owner of the repo",
  8475            "name": "owner",
  8476            "in": "path",
  8477            "required": true
  8478          },
  8479          {
  8480            "type": "string",
  8481            "description": "name of the repo",
  8482            "name": "repo",
  8483            "in": "path",
  8484            "required": true
  8485          },
  8486          {
  8487            "type": "integer",
  8488            "description": "index of the pull request to get",
  8489            "name": "index",
  8490            "in": "path",
  8491            "required": true
  8492          }
  8493        ],
  8494        "responses": {
  8495          "200": {
  8496            "description": "PullRequest",
  8497            "schema": {
  8498              "description": "PullRequest represents a pull request",
  8499              "type": "object",
  8500              "properties": {
  8501                "assignee": {
  8502                  "description": "User represents a user",
  8503                  "type": "object",
  8504                  "properties": {
  8505                    "avatar_url": {
  8506                      "description": "URL to the user's avatar",
  8507                      "type": "string",
  8508                      "x-go-name": "AvatarURL"
  8509                    },
  8510                    "email": {
  8511                      "type": "string",
  8512                      "format": "email",
  8513                      "x-go-name": "Email"
  8514                    },
  8515                    "full_name": {
  8516                      "description": "the user's full name",
  8517                      "type": "string",
  8518                      "x-go-name": "FullName"
  8519                    },
  8520                    "id": {
  8521                      "description": "the user's id",
  8522                      "type": "integer",
  8523                      "format": "int64",
  8524                      "x-go-name": "ID"
  8525                    },
  8526                    "language": {
  8527                      "description": "User locale",
  8528                      "type": "string",
  8529                      "x-go-name": "Language"
  8530                    },
  8531                    "login": {
  8532                      "description": "the user's username",
  8533                      "type": "string",
  8534                      "x-go-name": "UserName"
  8535                    }
  8536                  },
  8537                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8538                },
  8539                "assignees": {
  8540                  "type": "array",
  8541                  "items": {
  8542                    "description": "User represents a user",
  8543                    "type": "object",
  8544                    "properties": {
  8545                      "avatar_url": {
  8546                        "description": "URL to the user's avatar",
  8547                        "type": "string",
  8548                        "x-go-name": "AvatarURL"
  8549                      },
  8550                      "email": {
  8551                        "type": "string",
  8552                        "format": "email",
  8553                        "x-go-name": "Email"
  8554                      },
  8555                      "full_name": {
  8556                        "description": "the user's full name",
  8557                        "type": "string",
  8558                        "x-go-name": "FullName"
  8559                      },
  8560                      "id": {
  8561                        "description": "the user's id",
  8562                        "type": "integer",
  8563                        "format": "int64",
  8564                        "x-go-name": "ID"
  8565                      },
  8566                      "language": {
  8567                        "description": "User locale",
  8568                        "type": "string",
  8569                        "x-go-name": "Language"
  8570                      },
  8571                      "login": {
  8572                        "description": "the user's username",
  8573                        "type": "string",
  8574                        "x-go-name": "UserName"
  8575                      }
  8576                    },
  8577                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8578                  },
  8579                  "x-go-name": "Assignees"
  8580                },
  8581                "base": {
  8582                  "description": "PRBranchInfo information about a branch",
  8583                  "type": "object",
  8584                  "properties": {
  8585                    "label": {
  8586                      "type": "string",
  8587                      "x-go-name": "Name"
  8588                    },
  8589                    "ref": {
  8590                      "type": "string",
  8591                      "x-go-name": "Ref"
  8592                    },
  8593                    "repo": {
  8594                      "$ref": "#/definitions/Repository"
  8595                    },
  8596                    "repo_id": {
  8597                      "type": "integer",
  8598                      "format": "int64",
  8599                      "x-go-name": "RepoID"
  8600                    },
  8601                    "sha": {
  8602                      "type": "string",
  8603                      "x-go-name": "Sha"
  8604                    }
  8605                  },
  8606                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8607                },
  8608                "body": {
  8609                  "type": "string",
  8610                  "x-go-name": "Body"
  8611                },
  8612                "closed_at": {
  8613                  "type": "string",
  8614                  "format": "date-time",
  8615                  "x-go-name": "Closed"
  8616                },
  8617                "comments": {
  8618                  "type": "integer",
  8619                  "format": "int64",
  8620                  "x-go-name": "Comments"
  8621                },
  8622                "created_at": {
  8623                  "type": "string",
  8624                  "format": "date-time",
  8625                  "x-go-name": "Created"
  8626                },
  8627                "diff_url": {
  8628                  "type": "string",
  8629                  "x-go-name": "DiffURL"
  8630                },
  8631                "due_date": {
  8632                  "type": "string",
  8633                  "format": "date-time",
  8634                  "x-go-name": "Deadline"
  8635                },
  8636                "head": {
  8637                  "description": "PRBranchInfo information about a branch",
  8638                  "type": "object",
  8639                  "properties": {
  8640                    "label": {
  8641                      "type": "string",
  8642                      "x-go-name": "Name"
  8643                    },
  8644                    "ref": {
  8645                      "type": "string",
  8646                      "x-go-name": "Ref"
  8647                    },
  8648                    "repo": {
  8649                      "$ref": "#/definitions/Repository"
  8650                    },
  8651                    "repo_id": {
  8652                      "type": "integer",
  8653                      "format": "int64",
  8654                      "x-go-name": "RepoID"
  8655                    },
  8656                    "sha": {
  8657                      "type": "string",
  8658                      "x-go-name": "Sha"
  8659                    }
  8660                  },
  8661                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8662                },
  8663                "html_url": {
  8664                  "type": "string",
  8665                  "x-go-name": "HTMLURL"
  8666                },
  8667                "id": {
  8668                  "type": "integer",
  8669                  "format": "int64",
  8670                  "x-go-name": "ID"
  8671                },
  8672                "labels": {
  8673                  "type": "array",
  8674                  "items": {
  8675                    "description": "Label a label to an issue or a pr",
  8676                    "type": "object",
  8677                    "properties": {
  8678                      "color": {
  8679                        "type": "string",
  8680                        "x-go-name": "Color",
  8681                        "example": "00aabb"
  8682                      },
  8683                      "id": {
  8684                        "type": "integer",
  8685                        "format": "int64",
  8686                        "x-go-name": "ID"
  8687                      },
  8688                      "name": {
  8689                        "type": "string",
  8690                        "x-go-name": "Name"
  8691                      },
  8692                      "url": {
  8693                        "type": "string",
  8694                        "x-go-name": "URL"
  8695                      }
  8696                    },
  8697                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8698                  },
  8699                  "x-go-name": "Labels"
  8700                },
  8701                "merge_base": {
  8702                  "type": "string",
  8703                  "x-go-name": "MergeBase"
  8704                },
  8705                "merge_commit_sha": {
  8706                  "type": "string",
  8707                  "x-go-name": "MergedCommitID"
  8708                },
  8709                "mergeable": {
  8710                  "type": "boolean",
  8711                  "x-go-name": "Mergeable"
  8712                },
  8713                "merged": {
  8714                  "type": "boolean",
  8715                  "x-go-name": "HasMerged"
  8716                },
  8717                "merged_at": {
  8718                  "type": "string",
  8719                  "format": "date-time",
  8720                  "x-go-name": "Merged"
  8721                },
  8722                "merged_by": {
  8723                  "description": "User represents a user",
  8724                  "type": "object",
  8725                  "properties": {
  8726                    "avatar_url": {
  8727                      "description": "URL to the user's avatar",
  8728                      "type": "string",
  8729                      "x-go-name": "AvatarURL"
  8730                    },
  8731                    "email": {
  8732                      "type": "string",
  8733                      "format": "email",
  8734                      "x-go-name": "Email"
  8735                    },
  8736                    "full_name": {
  8737                      "description": "the user's full name",
  8738                      "type": "string",
  8739                      "x-go-name": "FullName"
  8740                    },
  8741                    "id": {
  8742                      "description": "the user's id",
  8743                      "type": "integer",
  8744                      "format": "int64",
  8745                      "x-go-name": "ID"
  8746                    },
  8747                    "language": {
  8748                      "description": "User locale",
  8749                      "type": "string",
  8750                      "x-go-name": "Language"
  8751                    },
  8752                    "login": {
  8753                      "description": "the user's username",
  8754                      "type": "string",
  8755                      "x-go-name": "UserName"
  8756                    }
  8757                  },
  8758                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8759                },
  8760                "milestone": {
  8761                  "description": "Milestone milestone is a collection of issues on one repository",
  8762                  "type": "object",
  8763                  "properties": {
  8764                    "closed_at": {
  8765                      "type": "string",
  8766                      "format": "date-time",
  8767                      "x-go-name": "Closed"
  8768                    },
  8769                    "closed_issues": {
  8770                      "type": "integer",
  8771                      "format": "int64",
  8772                      "x-go-name": "ClosedIssues"
  8773                    },
  8774                    "description": {
  8775                      "type": "string",
  8776                      "x-go-name": "Description"
  8777                    },
  8778                    "due_on": {
  8779                      "type": "string",
  8780                      "format": "date-time",
  8781                      "x-go-name": "Deadline"
  8782                    },
  8783                    "id": {
  8784                      "type": "integer",
  8785                      "format": "int64",
  8786                      "x-go-name": "ID"
  8787                    },
  8788                    "open_issues": {
  8789                      "type": "integer",
  8790                      "format": "int64",
  8791                      "x-go-name": "OpenIssues"
  8792                    },
  8793                    "state": {
  8794                      "description": "StateType issue state type",
  8795                      "type": "string",
  8796                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8797                    },
  8798                    "title": {
  8799                      "type": "string",
  8800                      "x-go-name": "Title"
  8801                    }
  8802                  },
  8803                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8804                },
  8805                "number": {
  8806                  "type": "integer",
  8807                  "format": "int64",
  8808                  "x-go-name": "Index"
  8809                },
  8810                "patch_url": {
  8811                  "type": "string",
  8812                  "x-go-name": "PatchURL"
  8813                },
  8814                "state": {
  8815                  "description": "StateType issue state type",
  8816                  "type": "string",
  8817                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8818                },
  8819                "title": {
  8820                  "type": "string",
  8821                  "x-go-name": "Title"
  8822                },
  8823                "updated_at": {
  8824                  "type": "string",
  8825                  "format": "date-time",
  8826                  "x-go-name": "Updated"
  8827                },
  8828                "url": {
  8829                  "type": "string",
  8830                  "x-go-name": "URL"
  8831                },
  8832                "user": {
  8833                  "description": "User represents a user",
  8834                  "type": "object",
  8835                  "properties": {
  8836                    "avatar_url": {
  8837                      "description": "URL to the user's avatar",
  8838                      "type": "string",
  8839                      "x-go-name": "AvatarURL"
  8840                    },
  8841                    "email": {
  8842                      "type": "string",
  8843                      "format": "email",
  8844                      "x-go-name": "Email"
  8845                    },
  8846                    "full_name": {
  8847                      "description": "the user's full name",
  8848                      "type": "string",
  8849                      "x-go-name": "FullName"
  8850                    },
  8851                    "id": {
  8852                      "description": "the user's id",
  8853                      "type": "integer",
  8854                      "format": "int64",
  8855                      "x-go-name": "ID"
  8856                    },
  8857                    "language": {
  8858                      "description": "User locale",
  8859                      "type": "string",
  8860                      "x-go-name": "Language"
  8861                    },
  8862                    "login": {
  8863                      "description": "the user's username",
  8864                      "type": "string",
  8865                      "x-go-name": "UserName"
  8866                    }
  8867                  },
  8868                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8869                }
  8870              },
  8871              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8872            }
  8873          }
  8874        }
  8875      },
  8876      "patch": {
  8877        "consumes": [
  8878          "application/json"
  8879        ],
  8880        "produces": [
  8881          "application/json"
  8882        ],
  8883        "tags": [
  8884          "repository"
  8885        ],
  8886        "summary": "Update a pull request",
  8887        "operationId": "repoEditPullRequest",
  8888        "parameters": [
  8889          {
  8890            "type": "string",
  8891            "description": "owner of the repo",
  8892            "name": "owner",
  8893            "in": "path",
  8894            "required": true
  8895          },
  8896          {
  8897            "type": "string",
  8898            "description": "name of the repo",
  8899            "name": "repo",
  8900            "in": "path",
  8901            "required": true
  8902          },
  8903          {
  8904            "type": "integer",
  8905            "description": "index of the pull request to edit",
  8906            "name": "index",
  8907            "in": "path",
  8908            "required": true
  8909          },
  8910          {
  8911            "name": "body",
  8912            "in": "body",
  8913            "schema": {
  8914              "description": "EditPullRequestOption options when modify pull request",
  8915              "type": "object",
  8916              "properties": {
  8917                "assignee": {
  8918                  "type": "string",
  8919                  "x-go-name": "Assignee"
  8920                },
  8921                "assignees": {
  8922                  "type": "array",
  8923                  "items": {
  8924                    "type": "string"
  8925                  },
  8926                  "x-go-name": "Assignees"
  8927                },
  8928                "body": {
  8929                  "type": "string",
  8930                  "x-go-name": "Body"
  8931                },
  8932                "due_date": {
  8933                  "type": "string",
  8934                  "format": "date-time",
  8935                  "x-go-name": "Deadline"
  8936                },
  8937                "labels": {
  8938                  "type": "array",
  8939                  "items": {
  8940                    "type": "integer",
  8941                    "format": "int64"
  8942                  },
  8943                  "x-go-name": "Labels"
  8944                },
  8945                "milestone": {
  8946                  "type": "integer",
  8947                  "format": "int64",
  8948                  "x-go-name": "Milestone"
  8949                },
  8950                "state": {
  8951                  "type": "string",
  8952                  "x-go-name": "State"
  8953                },
  8954                "title": {
  8955                  "type": "string",
  8956                  "x-go-name": "Title"
  8957                }
  8958              },
  8959              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  8960            }
  8961          }
  8962        ],
  8963        "responses": {
  8964          "201": {
  8965            "description": "PullRequest",
  8966            "schema": {
  8967              "description": "PullRequest represents a pull request",
  8968              "type": "object",
  8969              "properties": {
  8970                "assignee": {
  8971                  "description": "User represents a user",
  8972                  "type": "object",
  8973                  "properties": {
  8974                    "avatar_url": {
  8975                      "description": "URL to the user's avatar",
  8976                      "type": "string",
  8977                      "x-go-name": "AvatarURL"
  8978                    },
  8979                    "email": {
  8980                      "type": "string",
  8981                      "format": "email",
  8982                      "x-go-name": "Email"
  8983                    },
  8984                    "full_name": {
  8985                      "description": "the user's full name",
  8986                      "type": "string",
  8987                      "x-go-name": "FullName"
  8988                    },
  8989                    "id": {
  8990                      "description": "the user's id",
  8991                      "type": "integer",
  8992                      "format": "int64",
  8993                      "x-go-name": "ID"
  8994                    },
  8995                    "language": {
  8996                      "description": "User locale",
  8997                      "type": "string",
  8998                      "x-go-name": "Language"
  8999                    },
  9000                    "login": {
  9001                      "description": "the user's username",
  9002                      "type": "string",
  9003                      "x-go-name": "UserName"
  9004                    }
  9005                  },
  9006                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9007                },
  9008                "assignees": {
  9009                  "type": "array",
  9010                  "items": {
  9011                    "description": "User represents a user",
  9012                    "type": "object",
  9013                    "properties": {
  9014                      "avatar_url": {
  9015                        "description": "URL to the user's avatar",
  9016                        "type": "string",
  9017                        "x-go-name": "AvatarURL"
  9018                      },
  9019                      "email": {
  9020                        "type": "string",
  9021                        "format": "email",
  9022                        "x-go-name": "Email"
  9023                      },
  9024                      "full_name": {
  9025                        "description": "the user's full name",
  9026                        "type": "string",
  9027                        "x-go-name": "FullName"
  9028                      },
  9029                      "id": {
  9030                        "description": "the user's id",
  9031                        "type": "integer",
  9032                        "format": "int64",
  9033                        "x-go-name": "ID"
  9034                      },
  9035                      "language": {
  9036                        "description": "User locale",
  9037                        "type": "string",
  9038                        "x-go-name": "Language"
  9039                      },
  9040                      "login": {
  9041                        "description": "the user's username",
  9042                        "type": "string",
  9043                        "x-go-name": "UserName"
  9044                      }
  9045                    },
  9046                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9047                  },
  9048                  "x-go-name": "Assignees"
  9049                },
  9050                "base": {
  9051                  "description": "PRBranchInfo information about a branch",
  9052                  "type": "object",
  9053                  "properties": {
  9054                    "label": {
  9055                      "type": "string",
  9056                      "x-go-name": "Name"
  9057                    },
  9058                    "ref": {
  9059                      "type": "string",
  9060                      "x-go-name": "Ref"
  9061                    },
  9062                    "repo": {
  9063                      "$ref": "#/definitions/Repository"
  9064                    },
  9065                    "repo_id": {
  9066                      "type": "integer",
  9067                      "format": "int64",
  9068                      "x-go-name": "RepoID"
  9069                    },
  9070                    "sha": {
  9071                      "type": "string",
  9072                      "x-go-name": "Sha"
  9073                    }
  9074                  },
  9075                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9076                },
  9077                "body": {
  9078                  "type": "string",
  9079                  "x-go-name": "Body"
  9080                },
  9081                "closed_at": {
  9082                  "type": "string",
  9083                  "format": "date-time",
  9084                  "x-go-name": "Closed"
  9085                },
  9086                "comments": {
  9087                  "type": "integer",
  9088                  "format": "int64",
  9089                  "x-go-name": "Comments"
  9090                },
  9091                "created_at": {
  9092                  "type": "string",
  9093                  "format": "date-time",
  9094                  "x-go-name": "Created"
  9095                },
  9096                "diff_url": {
  9097                  "type": "string",
  9098                  "x-go-name": "DiffURL"
  9099                },
  9100                "due_date": {
  9101                  "type": "string",
  9102                  "format": "date-time",
  9103                  "x-go-name": "Deadline"
  9104                },
  9105                "head": {
  9106                  "description": "PRBranchInfo information about a branch",
  9107                  "type": "object",
  9108                  "properties": {
  9109                    "label": {
  9110                      "type": "string",
  9111                      "x-go-name": "Name"
  9112                    },
  9113                    "ref": {
  9114                      "type": "string",
  9115                      "x-go-name": "Ref"
  9116                    },
  9117                    "repo": {
  9118                      "$ref": "#/definitions/Repository"
  9119                    },
  9120                    "repo_id": {
  9121                      "type": "integer",
  9122                      "format": "int64",
  9123                      "x-go-name": "RepoID"
  9124                    },
  9125                    "sha": {
  9126                      "type": "string",
  9127                      "x-go-name": "Sha"
  9128                    }
  9129                  },
  9130                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9131                },
  9132                "html_url": {
  9133                  "type": "string",
  9134                  "x-go-name": "HTMLURL"
  9135                },
  9136                "id": {
  9137                  "type": "integer",
  9138                  "format": "int64",
  9139                  "x-go-name": "ID"
  9140                },
  9141                "labels": {
  9142                  "type": "array",
  9143                  "items": {
  9144                    "description": "Label a label to an issue or a pr",
  9145                    "type": "object",
  9146                    "properties": {
  9147                      "color": {
  9148                        "type": "string",
  9149                        "x-go-name": "Color",
  9150                        "example": "00aabb"
  9151                      },
  9152                      "id": {
  9153                        "type": "integer",
  9154                        "format": "int64",
  9155                        "x-go-name": "ID"
  9156                      },
  9157                      "name": {
  9158                        "type": "string",
  9159                        "x-go-name": "Name"
  9160                      },
  9161                      "url": {
  9162                        "type": "string",
  9163                        "x-go-name": "URL"
  9164                      }
  9165                    },
  9166                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9167                  },
  9168                  "x-go-name": "Labels"
  9169                },
  9170                "merge_base": {
  9171                  "type": "string",
  9172                  "x-go-name": "MergeBase"
  9173                },
  9174                "merge_commit_sha": {
  9175                  "type": "string",
  9176                  "x-go-name": "MergedCommitID"
  9177                },
  9178                "mergeable": {
  9179                  "type": "boolean",
  9180                  "x-go-name": "Mergeable"
  9181                },
  9182                "merged": {
  9183                  "type": "boolean",
  9184                  "x-go-name": "HasMerged"
  9185                },
  9186                "merged_at": {
  9187                  "type": "string",
  9188                  "format": "date-time",
  9189                  "x-go-name": "Merged"
  9190                },
  9191                "merged_by": {
  9192                  "description": "User represents a user",
  9193                  "type": "object",
  9194                  "properties": {
  9195                    "avatar_url": {
  9196                      "description": "URL to the user's avatar",
  9197                      "type": "string",
  9198                      "x-go-name": "AvatarURL"
  9199                    },
  9200                    "email": {
  9201                      "type": "string",
  9202                      "format": "email",
  9203                      "x-go-name": "Email"
  9204                    },
  9205                    "full_name": {
  9206                      "description": "the user's full name",
  9207                      "type": "string",
  9208                      "x-go-name": "FullName"
  9209                    },
  9210                    "id": {
  9211                      "description": "the user's id",
  9212                      "type": "integer",
  9213                      "format": "int64",
  9214                      "x-go-name": "ID"
  9215                    },
  9216                    "language": {
  9217                      "description": "User locale",
  9218                      "type": "string",
  9219                      "x-go-name": "Language"
  9220                    },
  9221                    "login": {
  9222                      "description": "the user's username",
  9223                      "type": "string",
  9224                      "x-go-name": "UserName"
  9225                    }
  9226                  },
  9227                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9228                },
  9229                "milestone": {
  9230                  "description": "Milestone milestone is a collection of issues on one repository",
  9231                  "type": "object",
  9232                  "properties": {
  9233                    "closed_at": {
  9234                      "type": "string",
  9235                      "format": "date-time",
  9236                      "x-go-name": "Closed"
  9237                    },
  9238                    "closed_issues": {
  9239                      "type": "integer",
  9240                      "format": "int64",
  9241                      "x-go-name": "ClosedIssues"
  9242                    },
  9243                    "description": {
  9244                      "type": "string",
  9245                      "x-go-name": "Description"
  9246                    },
  9247                    "due_on": {
  9248                      "type": "string",
  9249                      "format": "date-time",
  9250                      "x-go-name": "Deadline"
  9251                    },
  9252                    "id": {
  9253                      "type": "integer",
  9254                      "format": "int64",
  9255                      "x-go-name": "ID"
  9256                    },
  9257                    "open_issues": {
  9258                      "type": "integer",
  9259                      "format": "int64",
  9260                      "x-go-name": "OpenIssues"
  9261                    },
  9262                    "state": {
  9263                      "description": "StateType issue state type",
  9264                      "type": "string",
  9265                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9266                    },
  9267                    "title": {
  9268                      "type": "string",
  9269                      "x-go-name": "Title"
  9270                    }
  9271                  },
  9272                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9273                },
  9274                "number": {
  9275                  "type": "integer",
  9276                  "format": "int64",
  9277                  "x-go-name": "Index"
  9278                },
  9279                "patch_url": {
  9280                  "type": "string",
  9281                  "x-go-name": "PatchURL"
  9282                },
  9283                "state": {
  9284                  "description": "StateType issue state type",
  9285                  "type": "string",
  9286                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9287                },
  9288                "title": {
  9289                  "type": "string",
  9290                  "x-go-name": "Title"
  9291                },
  9292                "updated_at": {
  9293                  "type": "string",
  9294                  "format": "date-time",
  9295                  "x-go-name": "Updated"
  9296                },
  9297                "url": {
  9298                  "type": "string",
  9299                  "x-go-name": "URL"
  9300                },
  9301                "user": {
  9302                  "description": "User represents a user",
  9303                  "type": "object",
  9304                  "properties": {
  9305                    "avatar_url": {
  9306                      "description": "URL to the user's avatar",
  9307                      "type": "string",
  9308                      "x-go-name": "AvatarURL"
  9309                    },
  9310                    "email": {
  9311                      "type": "string",
  9312                      "format": "email",
  9313                      "x-go-name": "Email"
  9314                    },
  9315                    "full_name": {
  9316                      "description": "the user's full name",
  9317                      "type": "string",
  9318                      "x-go-name": "FullName"
  9319                    },
  9320                    "id": {
  9321                      "description": "the user's id",
  9322                      "type": "integer",
  9323                      "format": "int64",
  9324                      "x-go-name": "ID"
  9325                    },
  9326                    "language": {
  9327                      "description": "User locale",
  9328                      "type": "string",
  9329                      "x-go-name": "Language"
  9330                    },
  9331                    "login": {
  9332                      "description": "the user's username",
  9333                      "type": "string",
  9334                      "x-go-name": "UserName"
  9335                    }
  9336                  },
  9337                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9338                }
  9339              },
  9340              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9341            }
  9342          }
  9343        }
  9344      }
  9345    },
  9346    "/repos/{owner}/{repo}/pulls/{index}/merge": {
  9347      "get": {
  9348        "produces": [
  9349          "application/json"
  9350        ],
  9351        "tags": [
  9352          "repository"
  9353        ],
  9354        "summary": "Check if a pull request has been merged",
  9355        "operationId": "repoPullRequestIsMerged",
  9356        "parameters": [
  9357          {
  9358            "type": "string",
  9359            "description": "owner of the repo",
  9360            "name": "owner",
  9361            "in": "path",
  9362            "required": true
  9363          },
  9364          {
  9365            "type": "string",
  9366            "description": "name of the repo",
  9367            "name": "repo",
  9368            "in": "path",
  9369            "required": true
  9370          },
  9371          {
  9372            "type": "integer",
  9373            "description": "index of the pull request",
  9374            "name": "index",
  9375            "in": "path",
  9376            "required": true
  9377          }
  9378        ],
  9379        "responses": {
  9380          "204": {
  9381            "description": "pull request has been merged",
  9382            "schema": {
  9383              "description": "APIEmpty is an empty response"
  9384            }
  9385          },
  9386          "404": {
  9387            "description": "pull request has not been merged",
  9388            "schema": {
  9389              "description": "APIEmpty is an empty response"
  9390            }
  9391          }
  9392        }
  9393      },
  9394      "post": {
  9395        "produces": [
  9396          "application/json"
  9397        ],
  9398        "tags": [
  9399          "repository"
  9400        ],
  9401        "summary": "Merge a pull request",
  9402        "operationId": "repoMergePullRequest",
  9403        "parameters": [
  9404          {
  9405            "type": "string",
  9406            "description": "owner of the repo",
  9407            "name": "owner",
  9408            "in": "path",
  9409            "required": true
  9410          },
  9411          {
  9412            "type": "string",
  9413            "description": "name of the repo",
  9414            "name": "repo",
  9415            "in": "path",
  9416            "required": true
  9417          },
  9418          {
  9419            "type": "integer",
  9420            "description": "index of the pull request to merge",
  9421            "name": "index",
  9422            "in": "path",
  9423            "required": true
  9424          }
  9425        ],
  9426        "responses": {
  9427          "200": {
  9428            "description": "APIEmpty is an empty response"
  9429          },
  9430          "405": {
  9431            "description": "APIEmpty is an empty response"
  9432          }
  9433        }
  9434      }
  9435    },
  9436    "/repos/{owner}/{repo}/raw/{filepath}": {
  9437      "get": {
  9438        "produces": [
  9439          "application/json"
  9440        ],
  9441        "tags": [
  9442          "repository"
  9443        ],
  9444        "summary": "Get a file from a repository",
  9445        "operationId": "repoGetRawFile",
  9446        "parameters": [
  9447          {
  9448            "type": "string",
  9449            "description": "owner of the repo",
  9450            "name": "owner",
  9451            "in": "path",
  9452            "required": true
  9453          },
  9454          {
  9455            "type": "string",
  9456            "description": "name of the repo",
  9457            "name": "repo",
  9458            "in": "path",
  9459            "required": true
  9460          },
  9461          {
  9462            "type": "string",
  9463            "description": "filepath of the file to get",
  9464            "name": "filepath",
  9465            "in": "path",
  9466            "required": true
  9467          }
  9468        ],
  9469        "responses": {
  9470          "200": {
  9471            "description": "success"
  9472          }
  9473        }
  9474      }
  9475    },
  9476    "/repos/{owner}/{repo}/releases": {
  9477      "get": {
  9478        "produces": [
  9479          "application/json"
  9480        ],
  9481        "tags": [
  9482          "repository"
  9483        ],
  9484        "summary": "List a repo's releases",
  9485        "operationId": "repoListReleases",
  9486        "parameters": [
  9487          {
  9488            "type": "string",
  9489            "description": "owner of the repo",
  9490            "name": "owner",
  9491            "in": "path",
  9492            "required": true
  9493          },
  9494          {
  9495            "type": "string",
  9496            "description": "name of the repo",
  9497            "name": "repo",
  9498            "in": "path",
  9499            "required": true
  9500          }
  9501        ],
  9502        "responses": {
  9503          "200": {
  9504            "description": "ReleaseList",
  9505            "schema": {
  9506              "type": "array",
  9507              "items": {
  9508                "description": "Release represents a repository release",
  9509                "type": "object",
  9510                "properties": {
  9511                  "assets": {
  9512                    "type": "array",
  9513                    "items": {
  9514                      "description": "Attachment a generic attachment",
  9515                      "type": "object",
  9516                      "properties": {
  9517                        "browser_download_url": {
  9518                          "type": "string",
  9519                          "x-go-name": "DownloadURL"
  9520                        },
  9521                        "created_at": {
  9522                          "type": "string",
  9523                          "format": "date-time",
  9524                          "x-go-name": "Created"
  9525                        },
  9526                        "download_count": {
  9527                          "type": "integer",
  9528                          "format": "int64",
  9529                          "x-go-name": "DownloadCount"
  9530                        },
  9531                        "id": {
  9532                          "type": "integer",
  9533                          "format": "int64",
  9534                          "x-go-name": "ID"
  9535                        },
  9536                        "name": {
  9537                          "type": "string",
  9538                          "x-go-name": "Name"
  9539                        },
  9540                        "size": {
  9541                          "type": "integer",
  9542                          "format": "int64",
  9543                          "x-go-name": "Size"
  9544                        },
  9545                        "uuid": {
  9546                          "type": "string",
  9547                          "x-go-name": "UUID"
  9548                        }
  9549                      },
  9550                      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9551                    },
  9552                    "x-go-name": "Attachments"
  9553                  },
  9554                  "author": {
  9555                    "description": "User represents a user",
  9556                    "type": "object",
  9557                    "properties": {
  9558                      "avatar_url": {
  9559                        "description": "URL to the user's avatar",
  9560                        "type": "string",
  9561                        "x-go-name": "AvatarURL"
  9562                      },
  9563                      "email": {
  9564                        "type": "string",
  9565                        "format": "email",
  9566                        "x-go-name": "Email"
  9567                      },
  9568                      "full_name": {
  9569                        "description": "the user's full name",
  9570                        "type": "string",
  9571                        "x-go-name": "FullName"
  9572                      },
  9573                      "id": {
  9574                        "description": "the user's id",
  9575                        "type": "integer",
  9576                        "format": "int64",
  9577                        "x-go-name": "ID"
  9578                      },
  9579                      "language": {
  9580                        "description": "User locale",
  9581                        "type": "string",
  9582                        "x-go-name": "Language"
  9583                      },
  9584                      "login": {
  9585                        "description": "the user's username",
  9586                        "type": "string",
  9587                        "x-go-name": "UserName"
  9588                      }
  9589                    },
  9590                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9591                  },
  9592                  "body": {
  9593                    "type": "string",
  9594                    "x-go-name": "Note"
  9595                  },
  9596                  "created_at": {
  9597                    "type": "string",
  9598                    "format": "date-time",
  9599                    "x-go-name": "CreatedAt"
  9600                  },
  9601                  "draft": {
  9602                    "type": "boolean",
  9603                    "x-go-name": "IsDraft"
  9604                  },
  9605                  "id": {
  9606                    "type": "integer",
  9607                    "format": "int64",
  9608                    "x-go-name": "ID"
  9609                  },
  9610                  "name": {
  9611                    "type": "string",
  9612                    "x-go-name": "Title"
  9613                  },
  9614                  "prerelease": {
  9615                    "type": "boolean",
  9616                    "x-go-name": "IsPrerelease"
  9617                  },
  9618                  "published_at": {
  9619                    "type": "string",
  9620                    "format": "date-time",
  9621                    "x-go-name": "PublishedAt"
  9622                  },
  9623                  "tag_name": {
  9624                    "type": "string",
  9625                    "x-go-name": "TagName"
  9626                  },
  9627                  "tarball_url": {
  9628                    "type": "string",
  9629                    "x-go-name": "TarURL"
  9630                  },
  9631                  "target_commitish": {
  9632                    "type": "string",
  9633                    "x-go-name": "Target"
  9634                  },
  9635                  "url": {
  9636                    "type": "string",
  9637                    "x-go-name": "URL"
  9638                  },
  9639                  "zipball_url": {
  9640                    "type": "string",
  9641                    "x-go-name": "ZipURL"
  9642                  }
  9643                },
  9644                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9645              }
  9646            }
  9647          }
  9648        }
  9649      },
  9650      "post": {
  9651        "consumes": [
  9652          "application/json"
  9653        ],
  9654        "produces": [
  9655          "application/json"
  9656        ],
  9657        "tags": [
  9658          "repository"
  9659        ],
  9660        "summary": "Create a release",
  9661        "operationId": "repoCreateRelease",
  9662        "parameters": [
  9663          {
  9664            "type": "string",
  9665            "description": "owner of the repo",
  9666            "name": "owner",
  9667            "in": "path",
  9668            "required": true
  9669          },
  9670          {
  9671            "type": "string",
  9672            "description": "name of the repo",
  9673            "name": "repo",
  9674            "in": "path",
  9675            "required": true
  9676          },
  9677          {
  9678            "name": "body",
  9679            "in": "body",
  9680            "schema": {
  9681              "description": "CreateReleaseOption options when creating a release",
  9682              "type": "object",
  9683              "required": [
  9684                "tag_name"
  9685              ],
  9686              "properties": {
  9687                "body": {
  9688                  "type": "string",
  9689                  "x-go-name": "Note"
  9690                },
  9691                "draft": {
  9692                  "type": "boolean",
  9693                  "x-go-name": "IsDraft"
  9694                },
  9695                "name": {
  9696                  "type": "string",
  9697                  "x-go-name": "Title"
  9698                },
  9699                "prerelease": {
  9700                  "type": "boolean",
  9701                  "x-go-name": "IsPrerelease"
  9702                },
  9703                "tag_name": {
  9704                  "type": "string",
  9705                  "x-go-name": "TagName"
  9706                },
  9707                "target_commitish": {
  9708                  "type": "string",
  9709                  "x-go-name": "Target"
  9710                }
  9711              },
  9712              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9713            }
  9714          }
  9715        ],
  9716        "responses": {
  9717          "201": {
  9718            "description": "Release",
  9719            "schema": {
  9720              "description": "Release represents a repository release",
  9721              "type": "object",
  9722              "properties": {
  9723                "assets": {
  9724                  "type": "array",
  9725                  "items": {
  9726                    "description": "Attachment a generic attachment",
  9727                    "type": "object",
  9728                    "properties": {
  9729                      "browser_download_url": {
  9730                        "type": "string",
  9731                        "x-go-name": "DownloadURL"
  9732                      },
  9733                      "created_at": {
  9734                        "type": "string",
  9735                        "format": "date-time",
  9736                        "x-go-name": "Created"
  9737                      },
  9738                      "download_count": {
  9739                        "type": "integer",
  9740                        "format": "int64",
  9741                        "x-go-name": "DownloadCount"
  9742                      },
  9743                      "id": {
  9744                        "type": "integer",
  9745                        "format": "int64",
  9746                        "x-go-name": "ID"
  9747                      },
  9748                      "name": {
  9749                        "type": "string",
  9750                        "x-go-name": "Name"
  9751                      },
  9752                      "size": {
  9753                        "type": "integer",
  9754                        "format": "int64",
  9755                        "x-go-name": "Size"
  9756                      },
  9757                      "uuid": {
  9758                        "type": "string",
  9759                        "x-go-name": "UUID"
  9760                      }
  9761                    },
  9762                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9763                  },
  9764                  "x-go-name": "Attachments"
  9765                },
  9766                "author": {
  9767                  "description": "User represents a user",
  9768                  "type": "object",
  9769                  "properties": {
  9770                    "avatar_url": {
  9771                      "description": "URL to the user's avatar",
  9772                      "type": "string",
  9773                      "x-go-name": "AvatarURL"
  9774                    },
  9775                    "email": {
  9776                      "type": "string",
  9777                      "format": "email",
  9778                      "x-go-name": "Email"
  9779                    },
  9780                    "full_name": {
  9781                      "description": "the user's full name",
  9782                      "type": "string",
  9783                      "x-go-name": "FullName"
  9784                    },
  9785                    "id": {
  9786                      "description": "the user's id",
  9787                      "type": "integer",
  9788                      "format": "int64",
  9789                      "x-go-name": "ID"
  9790                    },
  9791                    "language": {
  9792                      "description": "User locale",
  9793                      "type": "string",
  9794                      "x-go-name": "Language"
  9795                    },
  9796                    "login": {
  9797                      "description": "the user's username",
  9798                      "type": "string",
  9799                      "x-go-name": "UserName"
  9800                    }
  9801                  },
  9802                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9803                },
  9804                "body": {
  9805                  "type": "string",
  9806                  "x-go-name": "Note"
  9807                },
  9808                "created_at": {
  9809                  "type": "string",
  9810                  "format": "date-time",
  9811                  "x-go-name": "CreatedAt"
  9812                },
  9813                "draft": {
  9814                  "type": "boolean",
  9815                  "x-go-name": "IsDraft"
  9816                },
  9817                "id": {
  9818                  "type": "integer",
  9819                  "format": "int64",
  9820                  "x-go-name": "ID"
  9821                },
  9822                "name": {
  9823                  "type": "string",
  9824                  "x-go-name": "Title"
  9825                },
  9826                "prerelease": {
  9827                  "type": "boolean",
  9828                  "x-go-name": "IsPrerelease"
  9829                },
  9830                "published_at": {
  9831                  "type": "string",
  9832                  "format": "date-time",
  9833                  "x-go-name": "PublishedAt"
  9834                },
  9835                "tag_name": {
  9836                  "type": "string",
  9837                  "x-go-name": "TagName"
  9838                },
  9839                "tarball_url": {
  9840                  "type": "string",
  9841                  "x-go-name": "TarURL"
  9842                },
  9843                "target_commitish": {
  9844                  "type": "string",
  9845                  "x-go-name": "Target"
  9846                },
  9847                "url": {
  9848                  "type": "string",
  9849                  "x-go-name": "URL"
  9850                },
  9851                "zipball_url": {
  9852                  "type": "string",
  9853                  "x-go-name": "ZipURL"
  9854                }
  9855              },
  9856              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9857            }
  9858          }
  9859        }
  9860      }
  9861    },
  9862    "/repos/{owner}/{repo}/releases/{id}": {
  9863      "get": {
  9864        "produces": [
  9865          "application/json"
  9866        ],
  9867        "tags": [
  9868          "repository"
  9869        ],
  9870        "summary": "Get a release",
  9871        "operationId": "repoGetRelease",
  9872        "parameters": [
  9873          {
  9874            "type": "string",
  9875            "description": "owner of the repo",
  9876            "name": "owner",
  9877            "in": "path",
  9878            "required": true
  9879          },
  9880          {
  9881            "type": "string",
  9882            "description": "name of the repo",
  9883            "name": "repo",
  9884            "in": "path",
  9885            "required": true
  9886          },
  9887          {
  9888            "type": "integer",
  9889            "description": "id of the release to get",
  9890            "name": "id",
  9891            "in": "path",
  9892            "required": true
  9893          }
  9894        ],
  9895        "responses": {
  9896          "200": {
  9897            "description": "Release",
  9898            "schema": {
  9899              "description": "Release represents a repository release",
  9900              "type": "object",
  9901              "properties": {
  9902                "assets": {
  9903                  "type": "array",
  9904                  "items": {
  9905                    "description": "Attachment a generic attachment",
  9906                    "type": "object",
  9907                    "properties": {
  9908                      "browser_download_url": {
  9909                        "type": "string",
  9910                        "x-go-name": "DownloadURL"
  9911                      },
  9912                      "created_at": {
  9913                        "type": "string",
  9914                        "format": "date-time",
  9915                        "x-go-name": "Created"
  9916                      },
  9917                      "download_count": {
  9918                        "type": "integer",
  9919                        "format": "int64",
  9920                        "x-go-name": "DownloadCount"
  9921                      },
  9922                      "id": {
  9923                        "type": "integer",
  9924                        "format": "int64",
  9925                        "x-go-name": "ID"
  9926                      },
  9927                      "name": {
  9928                        "type": "string",
  9929                        "x-go-name": "Name"
  9930                      },
  9931                      "size": {
  9932                        "type": "integer",
  9933                        "format": "int64",
  9934                        "x-go-name": "Size"
  9935                      },
  9936                      "uuid": {
  9937                        "type": "string",
  9938                        "x-go-name": "UUID"
  9939                      }
  9940                    },
  9941                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9942                  },
  9943                  "x-go-name": "Attachments"
  9944                },
  9945                "author": {
  9946                  "description": "User represents a user",
  9947                  "type": "object",
  9948                  "properties": {
  9949                    "avatar_url": {
  9950                      "description": "URL to the user's avatar",
  9951                      "type": "string",
  9952                      "x-go-name": "AvatarURL"
  9953                    },
  9954                    "email": {
  9955                      "type": "string",
  9956                      "format": "email",
  9957                      "x-go-name": "Email"
  9958                    },
  9959                    "full_name": {
  9960                      "description": "the user's full name",
  9961                      "type": "string",
  9962                      "x-go-name": "FullName"
  9963                    },
  9964                    "id": {
  9965                      "description": "the user's id",
  9966                      "type": "integer",
  9967                      "format": "int64",
  9968                      "x-go-name": "ID"
  9969                    },
  9970                    "language": {
  9971                      "description": "User locale",
  9972                      "type": "string",
  9973                      "x-go-name": "Language"
  9974                    },
  9975                    "login": {
  9976                      "description": "the user's username",
  9977                      "type": "string",
  9978                      "x-go-name": "UserName"
  9979                    }
  9980                  },
  9981                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
  9982                },
  9983                "body": {
  9984                  "type": "string",
  9985                  "x-go-name": "Note"
  9986                },
  9987                "created_at": {
  9988                  "type": "string",
  9989                  "format": "date-time",
  9990                  "x-go-name": "CreatedAt"
  9991                },
  9992                "draft": {
  9993                  "type": "boolean",
  9994                  "x-go-name": "IsDraft"
  9995                },
  9996                "id": {
  9997                  "type": "integer",
  9998                  "format": "int64",
  9999                  "x-go-name": "ID"
 10000                },
 10001                "name": {
 10002                  "type": "string",
 10003                  "x-go-name": "Title"
 10004                },
 10005                "prerelease": {
 10006                  "type": "boolean",
 10007                  "x-go-name": "IsPrerelease"
 10008                },
 10009                "published_at": {
 10010                  "type": "string",
 10011                  "format": "date-time",
 10012                  "x-go-name": "PublishedAt"
 10013                },
 10014                "tag_name": {
 10015                  "type": "string",
 10016                  "x-go-name": "TagName"
 10017                },
 10018                "tarball_url": {
 10019                  "type": "string",
 10020                  "x-go-name": "TarURL"
 10021                },
 10022                "target_commitish": {
 10023                  "type": "string",
 10024                  "x-go-name": "Target"
 10025                },
 10026                "url": {
 10027                  "type": "string",
 10028                  "x-go-name": "URL"
 10029                },
 10030                "zipball_url": {
 10031                  "type": "string",
 10032                  "x-go-name": "ZipURL"
 10033                }
 10034              },
 10035              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10036            }
 10037          }
 10038        }
 10039      },
 10040      "delete": {
 10041        "tags": [
 10042          "repository"
 10043        ],
 10044        "summary": "Delete a release",
 10045        "operationId": "repoDeleteRelease",
 10046        "parameters": [
 10047          {
 10048            "type": "string",
 10049            "description": "owner of the repo",
 10050            "name": "owner",
 10051            "in": "path",
 10052            "required": true
 10053          },
 10054          {
 10055            "type": "string",
 10056            "description": "name of the repo",
 10057            "name": "repo",
 10058            "in": "path",
 10059            "required": true
 10060          },
 10061          {
 10062            "type": "integer",
 10063            "description": "id of the release to delete",
 10064            "name": "id",
 10065            "in": "path",
 10066            "required": true
 10067          }
 10068        ],
 10069        "responses": {
 10070          "204": {
 10071            "description": "APIEmpty is an empty response"
 10072          }
 10073        }
 10074      },
 10075      "patch": {
 10076        "consumes": [
 10077          "application/json"
 10078        ],
 10079        "produces": [
 10080          "application/json"
 10081        ],
 10082        "tags": [
 10083          "repository"
 10084        ],
 10085        "summary": "Update a release",
 10086        "operationId": "repoEditRelease",
 10087        "parameters": [
 10088          {
 10089            "type": "string",
 10090            "description": "owner of the repo",
 10091            "name": "owner",
 10092            "in": "path",
 10093            "required": true
 10094          },
 10095          {
 10096            "type": "string",
 10097            "description": "name of the repo",
 10098            "name": "repo",
 10099            "in": "path",
 10100            "required": true
 10101          },
 10102          {
 10103            "type": "integer",
 10104            "description": "id of the release to edit",
 10105            "name": "id",
 10106            "in": "path",
 10107            "required": true
 10108          },
 10109          {
 10110            "name": "body",
 10111            "in": "body",
 10112            "schema": {
 10113              "description": "EditReleaseOption options when editing a release",
 10114              "type": "object",
 10115              "properties": {
 10116                "body": {
 10117                  "type": "string",
 10118                  "x-go-name": "Note"
 10119                },
 10120                "draft": {
 10121                  "type": "boolean",
 10122                  "x-go-name": "IsDraft"
 10123                },
 10124                "name": {
 10125                  "type": "string",
 10126                  "x-go-name": "Title"
 10127                },
 10128                "prerelease": {
 10129                  "type": "boolean",
 10130                  "x-go-name": "IsPrerelease"
 10131                },
 10132                "tag_name": {
 10133                  "type": "string",
 10134                  "x-go-name": "TagName"
 10135                },
 10136                "target_commitish": {
 10137                  "type": "string",
 10138                  "x-go-name": "Target"
 10139                }
 10140              },
 10141              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10142            }
 10143          }
 10144        ],
 10145        "responses": {
 10146          "200": {
 10147            "description": "Release",
 10148            "schema": {
 10149              "description": "Release represents a repository release",
 10150              "type": "object",
 10151              "properties": {
 10152                "assets": {
 10153                  "type": "array",
 10154                  "items": {
 10155                    "description": "Attachment a generic attachment",
 10156                    "type": "object",
 10157                    "properties": {
 10158                      "browser_download_url": {
 10159                        "type": "string",
 10160                        "x-go-name": "DownloadURL"
 10161                      },
 10162                      "created_at": {
 10163                        "type": "string",
 10164                        "format": "date-time",
 10165                        "x-go-name": "Created"
 10166                      },
 10167                      "download_count": {
 10168                        "type": "integer",
 10169                        "format": "int64",
 10170                        "x-go-name": "DownloadCount"
 10171                      },
 10172                      "id": {
 10173                        "type": "integer",
 10174                        "format": "int64",
 10175                        "x-go-name": "ID"
 10176                      },
 10177                      "name": {
 10178                        "type": "string",
 10179                        "x-go-name": "Name"
 10180                      },
 10181                      "size": {
 10182                        "type": "integer",
 10183                        "format": "int64",
 10184                        "x-go-name": "Size"
 10185                      },
 10186                      "uuid": {
 10187                        "type": "string",
 10188                        "x-go-name": "UUID"
 10189                      }
 10190                    },
 10191                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10192                  },
 10193                  "x-go-name": "Attachments"
 10194                },
 10195                "author": {
 10196                  "description": "User represents a user",
 10197                  "type": "object",
 10198                  "properties": {
 10199                    "avatar_url": {
 10200                      "description": "URL to the user's avatar",
 10201                      "type": "string",
 10202                      "x-go-name": "AvatarURL"
 10203                    },
 10204                    "email": {
 10205                      "type": "string",
 10206                      "format": "email",
 10207                      "x-go-name": "Email"
 10208                    },
 10209                    "full_name": {
 10210                      "description": "the user's full name",
 10211                      "type": "string",
 10212                      "x-go-name": "FullName"
 10213                    },
 10214                    "id": {
 10215                      "description": "the user's id",
 10216                      "type": "integer",
 10217                      "format": "int64",
 10218                      "x-go-name": "ID"
 10219                    },
 10220                    "language": {
 10221                      "description": "User locale",
 10222                      "type": "string",
 10223                      "x-go-name": "Language"
 10224                    },
 10225                    "login": {
 10226                      "description": "the user's username",
 10227                      "type": "string",
 10228                      "x-go-name": "UserName"
 10229                    }
 10230                  },
 10231                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10232                },
 10233                "body": {
 10234                  "type": "string",
 10235                  "x-go-name": "Note"
 10236                },
 10237                "created_at": {
 10238                  "type": "string",
 10239                  "format": "date-time",
 10240                  "x-go-name": "CreatedAt"
 10241                },
 10242                "draft": {
 10243                  "type": "boolean",
 10244                  "x-go-name": "IsDraft"
 10245                },
 10246                "id": {
 10247                  "type": "integer",
 10248                  "format": "int64",
 10249                  "x-go-name": "ID"
 10250                },
 10251                "name": {
 10252                  "type": "string",
 10253                  "x-go-name": "Title"
 10254                },
 10255                "prerelease": {
 10256                  "type": "boolean",
 10257                  "x-go-name": "IsPrerelease"
 10258                },
 10259                "published_at": {
 10260                  "type": "string",
 10261                  "format": "date-time",
 10262                  "x-go-name": "PublishedAt"
 10263                },
 10264                "tag_name": {
 10265                  "type": "string",
 10266                  "x-go-name": "TagName"
 10267                },
 10268                "tarball_url": {
 10269                  "type": "string",
 10270                  "x-go-name": "TarURL"
 10271                },
 10272                "target_commitish": {
 10273                  "type": "string",
 10274                  "x-go-name": "Target"
 10275                },
 10276                "url": {
 10277                  "type": "string",
 10278                  "x-go-name": "URL"
 10279                },
 10280                "zipball_url": {
 10281                  "type": "string",
 10282                  "x-go-name": "ZipURL"
 10283                }
 10284              },
 10285              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10286            }
 10287          }
 10288        }
 10289      }
 10290    },
 10291    "/repos/{owner}/{repo}/releases/{id}/assets": {
 10292      "get": {
 10293        "produces": [
 10294          "application/json"
 10295        ],
 10296        "tags": [
 10297          "repository"
 10298        ],
 10299        "summary": "List release's attachments",
 10300        "operationId": "repoListReleaseAttachments",
 10301        "parameters": [
 10302          {
 10303            "type": "string",
 10304            "description": "owner of the repo",
 10305            "name": "owner",
 10306            "in": "path",
 10307            "required": true
 10308          },
 10309          {
 10310            "type": "string",
 10311            "description": "name of the repo",
 10312            "name": "repo",
 10313            "in": "path",
 10314            "required": true
 10315          },
 10316          {
 10317            "type": "integer",
 10318            "description": "id of the release",
 10319            "name": "id",
 10320            "in": "path",
 10321            "required": true
 10322          }
 10323        ],
 10324        "responses": {
 10325          "200": {
 10326            "description": "AttachmentList",
 10327            "schema": {
 10328              "type": "array",
 10329              "items": {
 10330                "description": "Attachment a generic attachment",
 10331                "type": "object",
 10332                "properties": {
 10333                  "browser_download_url": {
 10334                    "type": "string",
 10335                    "x-go-name": "DownloadURL"
 10336                  },
 10337                  "created_at": {
 10338                    "type": "string",
 10339                    "format": "date-time",
 10340                    "x-go-name": "Created"
 10341                  },
 10342                  "download_count": {
 10343                    "type": "integer",
 10344                    "format": "int64",
 10345                    "x-go-name": "DownloadCount"
 10346                  },
 10347                  "id": {
 10348                    "type": "integer",
 10349                    "format": "int64",
 10350                    "x-go-name": "ID"
 10351                  },
 10352                  "name": {
 10353                    "type": "string",
 10354                    "x-go-name": "Name"
 10355                  },
 10356                  "size": {
 10357                    "type": "integer",
 10358                    "format": "int64",
 10359                    "x-go-name": "Size"
 10360                  },
 10361                  "uuid": {
 10362                    "type": "string",
 10363                    "x-go-name": "UUID"
 10364                  }
 10365                },
 10366                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10367              }
 10368            }
 10369          }
 10370        }
 10371      },
 10372      "post": {
 10373        "consumes": [
 10374          "multipart/form-data"
 10375        ],
 10376        "produces": [
 10377          "application/json"
 10378        ],
 10379        "tags": [
 10380          "repository"
 10381        ],
 10382        "summary": "Create a release attachment",
 10383        "operationId": "repoCreateReleaseAttachment",
 10384        "parameters": [
 10385          {
 10386            "type": "string",
 10387            "description": "owner of the repo",
 10388            "name": "owner",
 10389            "in": "path",
 10390            "required": true
 10391          },
 10392          {
 10393            "type": "string",
 10394            "description": "name of the repo",
 10395            "name": "repo",
 10396            "in": "path",
 10397            "required": true
 10398          },
 10399          {
 10400            "type": "integer",
 10401            "description": "id of the release",
 10402            "name": "id",
 10403            "in": "path",
 10404            "required": true
 10405          },
 10406          {
 10407            "type": "string",
 10408            "description": "name of the attachment",
 10409            "name": "name",
 10410            "in": "query"
 10411          },
 10412          {
 10413            "type": "file",
 10414            "description": "attachment to upload",
 10415            "name": "attachment",
 10416            "in": "formData",
 10417            "required": true
 10418          }
 10419        ],
 10420        "responses": {
 10421          "201": {
 10422            "description": "Attachment",
 10423            "schema": {
 10424              "description": "Attachment a generic attachment",
 10425              "type": "object",
 10426              "properties": {
 10427                "browser_download_url": {
 10428                  "type": "string",
 10429                  "x-go-name": "DownloadURL"
 10430                },
 10431                "created_at": {
 10432                  "type": "string",
 10433                  "format": "date-time",
 10434                  "x-go-name": "Created"
 10435                },
 10436                "download_count": {
 10437                  "type": "integer",
 10438                  "format": "int64",
 10439                  "x-go-name": "DownloadCount"
 10440                },
 10441                "id": {
 10442                  "type": "integer",
 10443                  "format": "int64",
 10444                  "x-go-name": "ID"
 10445                },
 10446                "name": {
 10447                  "type": "string",
 10448                  "x-go-name": "Name"
 10449                },
 10450                "size": {
 10451                  "type": "integer",
 10452                  "format": "int64",
 10453                  "x-go-name": "Size"
 10454                },
 10455                "uuid": {
 10456                  "type": "string",
 10457                  "x-go-name": "UUID"
 10458                }
 10459              },
 10460              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10461            }
 10462          }
 10463        }
 10464      }
 10465    },
 10466    "/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}": {
 10467      "get": {
 10468        "produces": [
 10469          "application/json"
 10470        ],
 10471        "tags": [
 10472          "repository"
 10473        ],
 10474        "summary": "Get a release attachment",
 10475        "operationId": "repoGetReleaseAttachment",
 10476        "parameters": [
 10477          {
 10478            "type": "string",
 10479            "description": "owner of the repo",
 10480            "name": "owner",
 10481            "in": "path",
 10482            "required": true
 10483          },
 10484          {
 10485            "type": "string",
 10486            "description": "name of the repo",
 10487            "name": "repo",
 10488            "in": "path",
 10489            "required": true
 10490          },
 10491          {
 10492            "type": "integer",
 10493            "description": "id of the release",
 10494            "name": "id",
 10495            "in": "path",
 10496            "required": true
 10497          },
 10498          {
 10499            "type": "integer",
 10500            "description": "id of the attachment to get",
 10501            "name": "attachment_id",
 10502            "in": "path",
 10503            "required": true
 10504          }
 10505        ],
 10506        "responses": {
 10507          "200": {
 10508            "description": "Attachment",
 10509            "schema": {
 10510              "description": "Attachment a generic attachment",
 10511              "type": "object",
 10512              "properties": {
 10513                "browser_download_url": {
 10514                  "type": "string",
 10515                  "x-go-name": "DownloadURL"
 10516                },
 10517                "created_at": {
 10518                  "type": "string",
 10519                  "format": "date-time",
 10520                  "x-go-name": "Created"
 10521                },
 10522                "download_count": {
 10523                  "type": "integer",
 10524                  "format": "int64",
 10525                  "x-go-name": "DownloadCount"
 10526                },
 10527                "id": {
 10528                  "type": "integer",
 10529                  "format": "int64",
 10530                  "x-go-name": "ID"
 10531                },
 10532                "name": {
 10533                  "type": "string",
 10534                  "x-go-name": "Name"
 10535                },
 10536                "size": {
 10537                  "type": "integer",
 10538                  "format": "int64",
 10539                  "x-go-name": "Size"
 10540                },
 10541                "uuid": {
 10542                  "type": "string",
 10543                  "x-go-name": "UUID"
 10544                }
 10545              },
 10546              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10547            }
 10548          }
 10549        }
 10550      },
 10551      "delete": {
 10552        "produces": [
 10553          "application/json"
 10554        ],
 10555        "tags": [
 10556          "repository"
 10557        ],
 10558        "summary": "Delete a release attachment",
 10559        "operationId": "repoDeleteReleaseAttachment",
 10560        "parameters": [
 10561          {
 10562            "type": "string",
 10563            "description": "owner of the repo",
 10564            "name": "owner",
 10565            "in": "path",
 10566            "required": true
 10567          },
 10568          {
 10569            "type": "string",
 10570            "description": "name of the repo",
 10571            "name": "repo",
 10572            "in": "path",
 10573            "required": true
 10574          },
 10575          {
 10576            "type": "integer",
 10577            "description": "id of the release",
 10578            "name": "id",
 10579            "in": "path",
 10580            "required": true
 10581          },
 10582          {
 10583            "type": "integer",
 10584            "description": "id of the attachment to delete",
 10585            "name": "attachment_id",
 10586            "in": "path",
 10587            "required": true
 10588          }
 10589        ],
 10590        "responses": {
 10591          "204": {
 10592            "description": "APIEmpty is an empty response"
 10593          }
 10594        }
 10595      },
 10596      "patch": {
 10597        "consumes": [
 10598          "application/json"
 10599        ],
 10600        "produces": [
 10601          "application/json"
 10602        ],
 10603        "tags": [
 10604          "repository"
 10605        ],
 10606        "summary": "Edit a release attachment",
 10607        "operationId": "repoEditReleaseAttachment",
 10608        "parameters": [
 10609          {
 10610            "type": "string",
 10611            "description": "owner of the repo",
 10612            "name": "owner",
 10613            "in": "path",
 10614            "required": true
 10615          },
 10616          {
 10617            "type": "string",
 10618            "description": "name of the repo",
 10619            "name": "repo",
 10620            "in": "path",
 10621            "required": true
 10622          },
 10623          {
 10624            "type": "integer",
 10625            "description": "id of the release",
 10626            "name": "id",
 10627            "in": "path",
 10628            "required": true
 10629          },
 10630          {
 10631            "type": "integer",
 10632            "description": "id of the attachment to edit",
 10633            "name": "attachment_id",
 10634            "in": "path",
 10635            "required": true
 10636          },
 10637          {
 10638            "name": "body",
 10639            "in": "body",
 10640            "schema": {
 10641              "description": "EditAttachmentOptions options for editing attachments",
 10642              "type": "object",
 10643              "properties": {
 10644                "name": {
 10645                  "type": "string",
 10646                  "x-go-name": "Name"
 10647                }
 10648              },
 10649              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10650            }
 10651          }
 10652        ],
 10653        "responses": {
 10654          "201": {
 10655            "description": "Attachment",
 10656            "schema": {
 10657              "description": "Attachment a generic attachment",
 10658              "type": "object",
 10659              "properties": {
 10660                "browser_download_url": {
 10661                  "type": "string",
 10662                  "x-go-name": "DownloadURL"
 10663                },
 10664                "created_at": {
 10665                  "type": "string",
 10666                  "format": "date-time",
 10667                  "x-go-name": "Created"
 10668                },
 10669                "download_count": {
 10670                  "type": "integer",
 10671                  "format": "int64",
 10672                  "x-go-name": "DownloadCount"
 10673                },
 10674                "id": {
 10675                  "type": "integer",
 10676                  "format": "int64",
 10677                  "x-go-name": "ID"
 10678                },
 10679                "name": {
 10680                  "type": "string",
 10681                  "x-go-name": "Name"
 10682                },
 10683                "size": {
 10684                  "type": "integer",
 10685                  "format": "int64",
 10686                  "x-go-name": "Size"
 10687                },
 10688                "uuid": {
 10689                  "type": "string",
 10690                  "x-go-name": "UUID"
 10691                }
 10692              },
 10693              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10694            }
 10695          }
 10696        }
 10697      }
 10698    },
 10699    "/repos/{owner}/{repo}/stargazers": {
 10700      "get": {
 10701        "produces": [
 10702          "application/json"
 10703        ],
 10704        "tags": [
 10705          "repository"
 10706        ],
 10707        "summary": "List a repo's stargazers",
 10708        "operationId": "repoListStargazers",
 10709        "parameters": [
 10710          {
 10711            "type": "string",
 10712            "description": "owner of the repo",
 10713            "name": "owner",
 10714            "in": "path",
 10715            "required": true
 10716          },
 10717          {
 10718            "type": "string",
 10719            "description": "name of the repo",
 10720            "name": "repo",
 10721            "in": "path",
 10722            "required": true
 10723          }
 10724        ],
 10725        "responses": {
 10726          "200": {
 10727            "description": "UserList",
 10728            "schema": {
 10729              "type": "array",
 10730              "items": {
 10731                "description": "User represents a user",
 10732                "type": "object",
 10733                "properties": {
 10734                  "avatar_url": {
 10735                    "description": "URL to the user's avatar",
 10736                    "type": "string",
 10737                    "x-go-name": "AvatarURL"
 10738                  },
 10739                  "email": {
 10740                    "type": "string",
 10741                    "format": "email",
 10742                    "x-go-name": "Email"
 10743                  },
 10744                  "full_name": {
 10745                    "description": "the user's full name",
 10746                    "type": "string",
 10747                    "x-go-name": "FullName"
 10748                  },
 10749                  "id": {
 10750                    "description": "the user's id",
 10751                    "type": "integer",
 10752                    "format": "int64",
 10753                    "x-go-name": "ID"
 10754                  },
 10755                  "language": {
 10756                    "description": "User locale",
 10757                    "type": "string",
 10758                    "x-go-name": "Language"
 10759                  },
 10760                  "login": {
 10761                    "description": "the user's username",
 10762                    "type": "string",
 10763                    "x-go-name": "UserName"
 10764                  }
 10765                },
 10766                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10767              }
 10768            }
 10769          }
 10770        }
 10771      }
 10772    },
 10773    "/repos/{owner}/{repo}/statuses/{sha}": {
 10774      "get": {
 10775        "produces": [
 10776          "application/json"
 10777        ],
 10778        "tags": [
 10779          "repository"
 10780        ],
 10781        "summary": "Get a commit's statuses",
 10782        "operationId": "repoListStatuses",
 10783        "parameters": [
 10784          {
 10785            "type": "string",
 10786            "description": "owner of the repo",
 10787            "name": "owner",
 10788            "in": "path",
 10789            "required": true
 10790          },
 10791          {
 10792            "type": "string",
 10793            "description": "name of the repo",
 10794            "name": "repo",
 10795            "in": "path",
 10796            "required": true
 10797          },
 10798          {
 10799            "type": "string",
 10800            "description": "sha of the commit",
 10801            "name": "sha",
 10802            "in": "path",
 10803            "required": true
 10804          }
 10805        ],
 10806        "responses": {
 10807          "200": {
 10808            "description": "StatusList",
 10809            "schema": {
 10810              "type": "array",
 10811              "items": {
 10812                "description": "Status holds a single Status of a single Commit",
 10813                "type": "object",
 10814                "properties": {
 10815                  "context": {
 10816                    "type": "string",
 10817                    "x-go-name": "Context"
 10818                  },
 10819                  "created_at": {
 10820                    "type": "string",
 10821                    "format": "date-time",
 10822                    "x-go-name": "Created"
 10823                  },
 10824                  "creator": {
 10825                    "description": "User represents a user",
 10826                    "type": "object",
 10827                    "properties": {
 10828                      "avatar_url": {
 10829                        "description": "URL to the user's avatar",
 10830                        "type": "string",
 10831                        "x-go-name": "AvatarURL"
 10832                      },
 10833                      "email": {
 10834                        "type": "string",
 10835                        "format": "email",
 10836                        "x-go-name": "Email"
 10837                      },
 10838                      "full_name": {
 10839                        "description": "the user's full name",
 10840                        "type": "string",
 10841                        "x-go-name": "FullName"
 10842                      },
 10843                      "id": {
 10844                        "description": "the user's id",
 10845                        "type": "integer",
 10846                        "format": "int64",
 10847                        "x-go-name": "ID"
 10848                      },
 10849                      "language": {
 10850                        "description": "User locale",
 10851                        "type": "string",
 10852                        "x-go-name": "Language"
 10853                      },
 10854                      "login": {
 10855                        "description": "the user's username",
 10856                        "type": "string",
 10857                        "x-go-name": "UserName"
 10858                      }
 10859                    },
 10860                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10861                  },
 10862                  "description": {
 10863                    "type": "string",
 10864                    "x-go-name": "Description"
 10865                  },
 10866                  "id": {
 10867                    "type": "integer",
 10868                    "format": "int64",
 10869                    "x-go-name": "ID"
 10870                  },
 10871                  "status": {
 10872                    "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 10873                    "type": "string",
 10874                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10875                  },
 10876                  "target_url": {
 10877                    "type": "string",
 10878                    "x-go-name": "TargetURL"
 10879                  },
 10880                  "updated_at": {
 10881                    "type": "string",
 10882                    "format": "date-time",
 10883                    "x-go-name": "Updated"
 10884                  },
 10885                  "url": {
 10886                    "type": "string",
 10887                    "x-go-name": "URL"
 10888                  }
 10889                },
 10890                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10891              }
 10892            }
 10893          }
 10894        }
 10895      },
 10896      "post": {
 10897        "produces": [
 10898          "application/json"
 10899        ],
 10900        "tags": [
 10901          "repository"
 10902        ],
 10903        "summary": "Create a commit status",
 10904        "operationId": "repoCreateStatus",
 10905        "parameters": [
 10906          {
 10907            "type": "string",
 10908            "description": "owner of the repo",
 10909            "name": "owner",
 10910            "in": "path",
 10911            "required": true
 10912          },
 10913          {
 10914            "type": "string",
 10915            "description": "name of the repo",
 10916            "name": "repo",
 10917            "in": "path",
 10918            "required": true
 10919          },
 10920          {
 10921            "type": "string",
 10922            "description": "sha of the commit",
 10923            "name": "sha",
 10924            "in": "path",
 10925            "required": true
 10926          },
 10927          {
 10928            "name": "body",
 10929            "in": "body",
 10930            "schema": {
 10931              "description": "CreateStatusOption holds the information needed to create a new Status for a Commit",
 10932              "type": "object",
 10933              "properties": {
 10934                "context": {
 10935                  "type": "string",
 10936                  "x-go-name": "Context"
 10937                },
 10938                "description": {
 10939                  "type": "string",
 10940                  "x-go-name": "Description"
 10941                },
 10942                "state": {
 10943                  "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 10944                  "type": "string",
 10945                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10946                },
 10947                "target_url": {
 10948                  "type": "string",
 10949                  "x-go-name": "TargetURL"
 10950                }
 10951              },
 10952              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 10953            }
 10954          }
 10955        ],
 10956        "responses": {
 10957          "200": {
 10958            "description": "StatusList",
 10959            "schema": {
 10960              "type": "array",
 10961              "items": {
 10962                "description": "Status holds a single Status of a single Commit",
 10963                "type": "object",
 10964                "properties": {
 10965                  "context": {
 10966                    "type": "string",
 10967                    "x-go-name": "Context"
 10968                  },
 10969                  "created_at": {
 10970                    "type": "string",
 10971                    "format": "date-time",
 10972                    "x-go-name": "Created"
 10973                  },
 10974                  "creator": {
 10975                    "description": "User represents a user",
 10976                    "type": "object",
 10977                    "properties": {
 10978                      "avatar_url": {
 10979                        "description": "URL to the user's avatar",
 10980                        "type": "string",
 10981                        "x-go-name": "AvatarURL"
 10982                      },
 10983                      "email": {
 10984                        "type": "string",
 10985                        "format": "email",
 10986                        "x-go-name": "Email"
 10987                      },
 10988                      "full_name": {
 10989                        "description": "the user's full name",
 10990                        "type": "string",
 10991                        "x-go-name": "FullName"
 10992                      },
 10993                      "id": {
 10994                        "description": "the user's id",
 10995                        "type": "integer",
 10996                        "format": "int64",
 10997                        "x-go-name": "ID"
 10998                      },
 10999                      "language": {
 11000                        "description": "User locale",
 11001                        "type": "string",
 11002                        "x-go-name": "Language"
 11003                      },
 11004                      "login": {
 11005                        "description": "the user's username",
 11006                        "type": "string",
 11007                        "x-go-name": "UserName"
 11008                      }
 11009                    },
 11010                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11011                  },
 11012                  "description": {
 11013                    "type": "string",
 11014                    "x-go-name": "Description"
 11015                  },
 11016                  "id": {
 11017                    "type": "integer",
 11018                    "format": "int64",
 11019                    "x-go-name": "ID"
 11020                  },
 11021                  "status": {
 11022                    "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 11023                    "type": "string",
 11024                    "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11025                  },
 11026                  "target_url": {
 11027                    "type": "string",
 11028                    "x-go-name": "TargetURL"
 11029                  },
 11030                  "updated_at": {
 11031                    "type": "string",
 11032                    "format": "date-time",
 11033                    "x-go-name": "Updated"
 11034                  },
 11035                  "url": {
 11036                    "type": "string",
 11037                    "x-go-name": "URL"
 11038                  }
 11039                },
 11040                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11041              }
 11042            }
 11043          }
 11044        }
 11045      }
 11046    },
 11047    "/repos/{owner}/{repo}/subscribers": {
 11048      "get": {
 11049        "produces": [
 11050          "application/json"
 11051        ],
 11052        "tags": [
 11053          "repository"
 11054        ],
 11055        "summary": "List a repo's watchers",
 11056        "operationId": "repoListSubscribers",
 11057        "parameters": [
 11058          {
 11059            "type": "string",
 11060            "description": "owner of the repo",
 11061            "name": "owner",
 11062            "in": "path",
 11063            "required": true
 11064          },
 11065          {
 11066            "type": "string",
 11067            "description": "name of the repo",
 11068            "name": "repo",
 11069            "in": "path",
 11070            "required": true
 11071          }
 11072        ],
 11073        "responses": {
 11074          "200": {
 11075            "description": "UserList",
 11076            "schema": {
 11077              "type": "array",
 11078              "items": {
 11079                "description": "User represents a user",
 11080                "type": "object",
 11081                "properties": {
 11082                  "avatar_url": {
 11083                    "description": "URL to the user's avatar",
 11084                    "type": "string",
 11085                    "x-go-name": "AvatarURL"
 11086                  },
 11087                  "email": {
 11088                    "type": "string",
 11089                    "format": "email",
 11090                    "x-go-name": "Email"
 11091                  },
 11092                  "full_name": {
 11093                    "description": "the user's full name",
 11094                    "type": "string",
 11095                    "x-go-name": "FullName"
 11096                  },
 11097                  "id": {
 11098                    "description": "the user's id",
 11099                    "type": "integer",
 11100                    "format": "int64",
 11101                    "x-go-name": "ID"
 11102                  },
 11103                  "language": {
 11104                    "description": "User locale",
 11105                    "type": "string",
 11106                    "x-go-name": "Language"
 11107                  },
 11108                  "login": {
 11109                    "description": "the user's username",
 11110                    "type": "string",
 11111                    "x-go-name": "UserName"
 11112                  }
 11113                },
 11114                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11115              }
 11116            }
 11117          }
 11118        }
 11119      }
 11120    },
 11121    "/repos/{owner}/{repo}/subscription": {
 11122      "get": {
 11123        "tags": [
 11124          "repository"
 11125        ],
 11126        "summary": "Check if the current user is watching a repo",
 11127        "operationId": "userCurrentCheckSubscription",
 11128        "parameters": [
 11129          {
 11130            "type": "string",
 11131            "description": "owner of the repo",
 11132            "name": "owner",
 11133            "in": "path",
 11134            "required": true
 11135          },
 11136          {
 11137            "type": "string",
 11138            "description": "name of the repo",
 11139            "name": "repo",
 11140            "in": "path",
 11141            "required": true
 11142          }
 11143        ],
 11144        "responses": {
 11145          "200": {
 11146            "description": "WatchInfo",
 11147            "schema": {
 11148              "description": "WatchInfo represents an API watch status of one repository",
 11149              "type": "object",
 11150              "properties": {
 11151                "created_at": {
 11152                  "type": "string",
 11153                  "format": "date-time",
 11154                  "x-go-name": "CreatedAt"
 11155                },
 11156                "ignored": {
 11157                  "type": "boolean",
 11158                  "x-go-name": "Ignored"
 11159                },
 11160                "reason": {
 11161                  "type": "object",
 11162                  "x-go-name": "Reason"
 11163                },
 11164                "repository_url": {
 11165                  "type": "string",
 11166                  "x-go-name": "RepositoryURL"
 11167                },
 11168                "subscribed": {
 11169                  "type": "boolean",
 11170                  "x-go-name": "Subscribed"
 11171                },
 11172                "url": {
 11173                  "type": "string",
 11174                  "x-go-name": "URL"
 11175                }
 11176              },
 11177              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11178            }
 11179          }
 11180        }
 11181      },
 11182      "put": {
 11183        "tags": [
 11184          "repository"
 11185        ],
 11186        "summary": "Watch a repo",
 11187        "operationId": "userCurrentPutSubscription",
 11188        "parameters": [
 11189          {
 11190            "type": "string",
 11191            "description": "owner of the repo",
 11192            "name": "owner",
 11193            "in": "path",
 11194            "required": true
 11195          },
 11196          {
 11197            "type": "string",
 11198            "description": "name of the repo",
 11199            "name": "repo",
 11200            "in": "path",
 11201            "required": true
 11202          }
 11203        ],
 11204        "responses": {
 11205          "200": {
 11206            "description": "WatchInfo",
 11207            "schema": {
 11208              "description": "WatchInfo represents an API watch status of one repository",
 11209              "type": "object",
 11210              "properties": {
 11211                "created_at": {
 11212                  "type": "string",
 11213                  "format": "date-time",
 11214                  "x-go-name": "CreatedAt"
 11215                },
 11216                "ignored": {
 11217                  "type": "boolean",
 11218                  "x-go-name": "Ignored"
 11219                },
 11220                "reason": {
 11221                  "type": "object",
 11222                  "x-go-name": "Reason"
 11223                },
 11224                "repository_url": {
 11225                  "type": "string",
 11226                  "x-go-name": "RepositoryURL"
 11227                },
 11228                "subscribed": {
 11229                  "type": "boolean",
 11230                  "x-go-name": "Subscribed"
 11231                },
 11232                "url": {
 11233                  "type": "string",
 11234                  "x-go-name": "URL"
 11235                }
 11236              },
 11237              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11238            }
 11239          }
 11240        }
 11241      },
 11242      "delete": {
 11243        "tags": [
 11244          "repository"
 11245        ],
 11246        "summary": "Unwatch a repo",
 11247        "operationId": "userCurrentDeleteSubscription",
 11248        "parameters": [
 11249          {
 11250            "type": "string",
 11251            "description": "owner of the repo",
 11252            "name": "owner",
 11253            "in": "path",
 11254            "required": true
 11255          },
 11256          {
 11257            "type": "string",
 11258            "description": "name of the repo",
 11259            "name": "repo",
 11260            "in": "path",
 11261            "required": true
 11262          }
 11263        ],
 11264        "responses": {
 11265          "204": {
 11266            "description": "APIEmpty is an empty response"
 11267          }
 11268        }
 11269      }
 11270    },
 11271    "/repos/{owner}/{repo}/times": {
 11272      "get": {
 11273        "produces": [
 11274          "application/json"
 11275        ],
 11276        "tags": [
 11277          "repository"
 11278        ],
 11279        "summary": "List a repo's tracked times",
 11280        "operationId": "repoTrackedTimes",
 11281        "parameters": [
 11282          {
 11283            "type": "string",
 11284            "description": "owner of the repo",
 11285            "name": "owner",
 11286            "in": "path",
 11287            "required": true
 11288          },
 11289          {
 11290            "type": "string",
 11291            "description": "name of the repo",
 11292            "name": "repo",
 11293            "in": "path",
 11294            "required": true
 11295          }
 11296        ],
 11297        "responses": {
 11298          "200": {
 11299            "description": "TrackedTimeList",
 11300            "schema": {
 11301              "type": "array",
 11302              "items": {
 11303                "description": "TrackedTime worked time for an issue / pr",
 11304                "type": "object",
 11305                "properties": {
 11306                  "created": {
 11307                    "type": "string",
 11308                    "format": "date-time",
 11309                    "x-go-name": "Created"
 11310                  },
 11311                  "id": {
 11312                    "type": "integer",
 11313                    "format": "int64",
 11314                    "x-go-name": "ID"
 11315                  },
 11316                  "issue_id": {
 11317                    "type": "integer",
 11318                    "format": "int64",
 11319                    "x-go-name": "IssueID"
 11320                  },
 11321                  "time": {
 11322                    "description": "Time in seconds",
 11323                    "type": "integer",
 11324                    "format": "int64",
 11325                    "x-go-name": "Time"
 11326                  },
 11327                  "user_id": {
 11328                    "type": "integer",
 11329                    "format": "int64",
 11330                    "x-go-name": "UserID"
 11331                  }
 11332                },
 11333                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11334              }
 11335            }
 11336          }
 11337        }
 11338      }
 11339    },
 11340    "/repos/{owner}/{repo}/times/{user}": {
 11341      "get": {
 11342        "produces": [
 11343          "application/json"
 11344        ],
 11345        "tags": [
 11346          "user"
 11347        ],
 11348        "summary": "List a user's tracked times in a repo",
 11349        "operationId": "userTrackedTimes",
 11350        "parameters": [
 11351          {
 11352            "type": "string",
 11353            "description": "owner of the repo",
 11354            "name": "owner",
 11355            "in": "path",
 11356            "required": true
 11357          },
 11358          {
 11359            "type": "string",
 11360            "description": "name of the repo",
 11361            "name": "repo",
 11362            "in": "path",
 11363            "required": true
 11364          },
 11365          {
 11366            "type": "string",
 11367            "description": "username of user",
 11368            "name": "user",
 11369            "in": "path",
 11370            "required": true
 11371          }
 11372        ],
 11373        "responses": {
 11374          "200": {
 11375            "description": "TrackedTimeList",
 11376            "schema": {
 11377              "type": "array",
 11378              "items": {
 11379                "description": "TrackedTime worked time for an issue / pr",
 11380                "type": "object",
 11381                "properties": {
 11382                  "created": {
 11383                    "type": "string",
 11384                    "format": "date-time",
 11385                    "x-go-name": "Created"
 11386                  },
 11387                  "id": {
 11388                    "type": "integer",
 11389                    "format": "int64",
 11390                    "x-go-name": "ID"
 11391                  },
 11392                  "issue_id": {
 11393                    "type": "integer",
 11394                    "format": "int64",
 11395                    "x-go-name": "IssueID"
 11396                  },
 11397                  "time": {
 11398                    "description": "Time in seconds",
 11399                    "type": "integer",
 11400                    "format": "int64",
 11401                    "x-go-name": "Time"
 11402                  },
 11403                  "user_id": {
 11404                    "type": "integer",
 11405                    "format": "int64",
 11406                    "x-go-name": "UserID"
 11407                  }
 11408                },
 11409                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11410              }
 11411            }
 11412          }
 11413        }
 11414      }
 11415    },
 11416    "/repositories/{id}": {
 11417      "get": {
 11418        "produces": [
 11419          "application/json"
 11420        ],
 11421        "tags": [
 11422          "repository"
 11423        ],
 11424        "summary": "Get a repository by id",
 11425        "operationId": "repoGetByID",
 11426        "parameters": [
 11427          {
 11428            "type": "integer",
 11429            "description": "id of the repo to get",
 11430            "name": "id",
 11431            "in": "path",
 11432            "required": true
 11433          }
 11434        ],
 11435        "responses": {
 11436          "200": {
 11437            "description": "Repository",
 11438            "schema": {
 11439              "$ref": "#/definitions/Repository"
 11440            }
 11441          }
 11442        }
 11443      }
 11444    },
 11445    "/teams/{id}": {
 11446      "get": {
 11447        "produces": [
 11448          "application/json"
 11449        ],
 11450        "tags": [
 11451          "organization"
 11452        ],
 11453        "summary": "Get a team",
 11454        "operationId": "orgGetTeam",
 11455        "parameters": [
 11456          {
 11457            "type": "integer",
 11458            "description": "id of the team to get",
 11459            "name": "id",
 11460            "in": "path",
 11461            "required": true
 11462          }
 11463        ],
 11464        "responses": {
 11465          "200": {
 11466            "description": "Team",
 11467            "schema": {
 11468              "description": "Team represents a team in an organization",
 11469              "type": "object",
 11470              "properties": {
 11471                "description": {
 11472                  "type": "string",
 11473                  "x-go-name": "Description"
 11474                },
 11475                "id": {
 11476                  "type": "integer",
 11477                  "format": "int64",
 11478                  "x-go-name": "ID"
 11479                },
 11480                "name": {
 11481                  "type": "string",
 11482                  "x-go-name": "Name"
 11483                },
 11484                "permission": {
 11485                  "type": "string",
 11486                  "enum": [
 11487                    "none",
 11488                    "read",
 11489                    "write",
 11490                    "admin",
 11491                    "owner"
 11492                  ],
 11493                  "x-go-name": "Permission"
 11494                }
 11495              },
 11496              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11497            }
 11498          }
 11499        }
 11500      },
 11501      "delete": {
 11502        "tags": [
 11503          "organization"
 11504        ],
 11505        "summary": "Delete a team",
 11506        "operationId": "orgDeleteTeam",
 11507        "parameters": [
 11508          {
 11509            "type": "integer",
 11510            "description": "id of the team to delete",
 11511            "name": "id",
 11512            "in": "path",
 11513            "required": true
 11514          }
 11515        ],
 11516        "responses": {
 11517          "204": {
 11518            "description": "team deleted",
 11519            "schema": {
 11520              "description": "APIEmpty is an empty response"
 11521            }
 11522          }
 11523        }
 11524      },
 11525      "patch": {
 11526        "consumes": [
 11527          "application/json"
 11528        ],
 11529        "produces": [
 11530          "application/json"
 11531        ],
 11532        "tags": [
 11533          "organization"
 11534        ],
 11535        "summary": "Edit a team",
 11536        "operationId": "orgEditTeam",
 11537        "parameters": [
 11538          {
 11539            "type": "integer",
 11540            "description": "id of the team to edit",
 11541            "name": "id",
 11542            "in": "path",
 11543            "required": true
 11544          },
 11545          {
 11546            "name": "body",
 11547            "in": "body",
 11548            "schema": {
 11549              "description": "EditTeamOption options for editing a team",
 11550              "type": "object",
 11551              "required": [
 11552                "name"
 11553              ],
 11554              "properties": {
 11555                "description": {
 11556                  "type": "string",
 11557                  "x-go-name": "Description"
 11558                },
 11559                "name": {
 11560                  "type": "string",
 11561                  "x-go-name": "Name"
 11562                },
 11563                "permission": {
 11564                  "type": "string",
 11565                  "enum": [
 11566                    "read",
 11567                    "write",
 11568                    "admin"
 11569                  ],
 11570                  "x-go-name": "Permission"
 11571                }
 11572              },
 11573              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11574            }
 11575          }
 11576        ],
 11577        "responses": {
 11578          "200": {
 11579            "description": "Team",
 11580            "schema": {
 11581              "description": "Team represents a team in an organization",
 11582              "type": "object",
 11583              "properties": {
 11584                "description": {
 11585                  "type": "string",
 11586                  "x-go-name": "Description"
 11587                },
 11588                "id": {
 11589                  "type": "integer",
 11590                  "format": "int64",
 11591                  "x-go-name": "ID"
 11592                },
 11593                "name": {
 11594                  "type": "string",
 11595                  "x-go-name": "Name"
 11596                },
 11597                "permission": {
 11598                  "type": "string",
 11599                  "enum": [
 11600                    "none",
 11601                    "read",
 11602                    "write",
 11603                    "admin",
 11604                    "owner"
 11605                  ],
 11606                  "x-go-name": "Permission"
 11607                }
 11608              },
 11609              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11610            }
 11611          }
 11612        }
 11613      }
 11614    },
 11615    "/teams/{id}/members": {
 11616      "get": {
 11617        "produces": [
 11618          "application/json"
 11619        ],
 11620        "tags": [
 11621          "organization"
 11622        ],
 11623        "summary": "List a team's members",
 11624        "operationId": "orgListTeamMembers",
 11625        "parameters": [
 11626          {
 11627            "type": "integer",
 11628            "description": "id of the team",
 11629            "name": "id",
 11630            "in": "path",
 11631            "required": true
 11632          }
 11633        ],
 11634        "responses": {
 11635          "200": {
 11636            "description": "UserList",
 11637            "schema": {
 11638              "type": "array",
 11639              "items": {
 11640                "description": "User represents a user",
 11641                "type": "object",
 11642                "properties": {
 11643                  "avatar_url": {
 11644                    "description": "URL to the user's avatar",
 11645                    "type": "string",
 11646                    "x-go-name": "AvatarURL"
 11647                  },
 11648                  "email": {
 11649                    "type": "string",
 11650                    "format": "email",
 11651                    "x-go-name": "Email"
 11652                  },
 11653                  "full_name": {
 11654                    "description": "the user's full name",
 11655                    "type": "string",
 11656                    "x-go-name": "FullName"
 11657                  },
 11658                  "id": {
 11659                    "description": "the user's id",
 11660                    "type": "integer",
 11661                    "format": "int64",
 11662                    "x-go-name": "ID"
 11663                  },
 11664                  "language": {
 11665                    "description": "User locale",
 11666                    "type": "string",
 11667                    "x-go-name": "Language"
 11668                  },
 11669                  "login": {
 11670                    "description": "the user's username",
 11671                    "type": "string",
 11672                    "x-go-name": "UserName"
 11673                  }
 11674                },
 11675                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11676              }
 11677            }
 11678          }
 11679        }
 11680      }
 11681    },
 11682    "/teams/{id}/members/{username}": {
 11683      "put": {
 11684        "produces": [
 11685          "application/json"
 11686        ],
 11687        "tags": [
 11688          "organization"
 11689        ],
 11690        "summary": "Add a team member",
 11691        "operationId": "orgAddTeamMember",
 11692        "parameters": [
 11693          {
 11694            "type": "integer",
 11695            "description": "id of the team",
 11696            "name": "id",
 11697            "in": "path",
 11698            "required": true
 11699          },
 11700          {
 11701            "type": "string",
 11702            "description": "username of the user to add",
 11703            "name": "username",
 11704            "in": "path",
 11705            "required": true
 11706          }
 11707        ],
 11708        "responses": {
 11709          "204": {
 11710            "description": "APIEmpty is an empty response"
 11711          }
 11712        }
 11713      },
 11714      "delete": {
 11715        "produces": [
 11716          "application/json"
 11717        ],
 11718        "tags": [
 11719          "organization"
 11720        ],
 11721        "summary": "Remove a team member",
 11722        "operationId": "orgRemoveTeamMember",
 11723        "parameters": [
 11724          {
 11725            "type": "integer",
 11726            "description": "id of the team",
 11727            "name": "id",
 11728            "in": "path",
 11729            "required": true
 11730          },
 11731          {
 11732            "type": "string",
 11733            "description": "username of the user to remove",
 11734            "name": "username",
 11735            "in": "path",
 11736            "required": true
 11737          }
 11738        ],
 11739        "responses": {
 11740          "204": {
 11741            "description": "APIEmpty is an empty response"
 11742          }
 11743        }
 11744      }
 11745    },
 11746    "/teams/{id}/repos": {
 11747      "get": {
 11748        "produces": [
 11749          "application/json"
 11750        ],
 11751        "tags": [
 11752          "organization"
 11753        ],
 11754        "summary": "List a team's repos",
 11755        "operationId": "orgListTeamRepos",
 11756        "parameters": [
 11757          {
 11758            "type": "integer",
 11759            "description": "id of the team",
 11760            "name": "id",
 11761            "in": "path",
 11762            "required": true
 11763          }
 11764        ],
 11765        "responses": {
 11766          "200": {
 11767            "description": "RepositoryList",
 11768            "schema": {
 11769              "type": "array",
 11770              "items": {
 11771                "$ref": "#/definitions/Repository"
 11772              }
 11773            }
 11774          }
 11775        }
 11776      }
 11777    },
 11778    "/teams/{id}/repos/{org}/{repo}": {
 11779      "put": {
 11780        "produces": [
 11781          "application/json"
 11782        ],
 11783        "tags": [
 11784          "organization"
 11785        ],
 11786        "summary": "Add a repository to a team",
 11787        "operationId": "orgAddTeamRepository",
 11788        "parameters": [
 11789          {
 11790            "type": "integer",
 11791            "description": "id of the team",
 11792            "name": "id",
 11793            "in": "path",
 11794            "required": true
 11795          },
 11796          {
 11797            "type": "string",
 11798            "description": "organization that owns the repo to add",
 11799            "name": "org",
 11800            "in": "path",
 11801            "required": true
 11802          },
 11803          {
 11804            "type": "string",
 11805            "description": "name of the repo to add",
 11806            "name": "repo",
 11807            "in": "path",
 11808            "required": true
 11809          }
 11810        ],
 11811        "responses": {
 11812          "204": {
 11813            "description": "APIEmpty is an empty response"
 11814          }
 11815        }
 11816      },
 11817      "delete": {
 11818        "description": "This does not delete the repository, it only removes the repository from the team.",
 11819        "produces": [
 11820          "application/json"
 11821        ],
 11822        "tags": [
 11823          "organization"
 11824        ],
 11825        "summary": "Remove a repository from a team",
 11826        "operationId": "orgRemoveTeamRepository",
 11827        "parameters": [
 11828          {
 11829            "type": "integer",
 11830            "description": "id of the team",
 11831            "name": "id",
 11832            "in": "path",
 11833            "required": true
 11834          },
 11835          {
 11836            "type": "string",
 11837            "description": "organization that owns the repo to remove",
 11838            "name": "org",
 11839            "in": "path",
 11840            "required": true
 11841          },
 11842          {
 11843            "type": "string",
 11844            "description": "name of the repo to remove",
 11845            "name": "repo",
 11846            "in": "path",
 11847            "required": true
 11848          }
 11849        ],
 11850        "responses": {
 11851          "204": {
 11852            "description": "APIEmpty is an empty response"
 11853          }
 11854        }
 11855      }
 11856    },
 11857    "/topics/search": {
 11858      "get": {
 11859        "produces": [
 11860          "application/json"
 11861        ],
 11862        "tags": [
 11863          "repository"
 11864        ],
 11865        "summary": "search topics via keyword",
 11866        "operationId": "topicSearch",
 11867        "parameters": [
 11868          {
 11869            "type": "string",
 11870            "description": "keywords to search",
 11871            "name": "q",
 11872            "in": "query",
 11873            "required": true
 11874          }
 11875        ],
 11876        "responses": {
 11877          "200": {
 11878            "description": "Repository",
 11879            "schema": {
 11880              "$ref": "#/definitions/Repository"
 11881            }
 11882          }
 11883        }
 11884      }
 11885    },
 11886    "/user": {
 11887      "get": {
 11888        "produces": [
 11889          "application/json"
 11890        ],
 11891        "tags": [
 11892          "user"
 11893        ],
 11894        "summary": "Get the authenticated user",
 11895        "operationId": "userGetCurrent",
 11896        "responses": {
 11897          "200": {
 11898            "description": "User",
 11899            "schema": {
 11900              "description": "User represents a user",
 11901              "type": "object",
 11902              "properties": {
 11903                "avatar_url": {
 11904                  "description": "URL to the user's avatar",
 11905                  "type": "string",
 11906                  "x-go-name": "AvatarURL"
 11907                },
 11908                "email": {
 11909                  "type": "string",
 11910                  "format": "email",
 11911                  "x-go-name": "Email"
 11912                },
 11913                "full_name": {
 11914                  "description": "the user's full name",
 11915                  "type": "string",
 11916                  "x-go-name": "FullName"
 11917                },
 11918                "id": {
 11919                  "description": "the user's id",
 11920                  "type": "integer",
 11921                  "format": "int64",
 11922                  "x-go-name": "ID"
 11923                },
 11924                "language": {
 11925                  "description": "User locale",
 11926                  "type": "string",
 11927                  "x-go-name": "Language"
 11928                },
 11929                "login": {
 11930                  "description": "the user's username",
 11931                  "type": "string",
 11932                  "x-go-name": "UserName"
 11933                }
 11934              },
 11935              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11936            }
 11937          }
 11938        }
 11939      }
 11940    },
 11941    "/user/emails": {
 11942      "get": {
 11943        "produces": [
 11944          "application/json"
 11945        ],
 11946        "tags": [
 11947          "user"
 11948        ],
 11949        "summary": "List the authenticated user's email addresses",
 11950        "operationId": "userListEmails",
 11951        "responses": {
 11952          "200": {
 11953            "description": "EmailList",
 11954            "schema": {
 11955              "type": "array",
 11956              "items": {
 11957                "description": "Email an email address belonging to a user",
 11958                "type": "object",
 11959                "properties": {
 11960                  "email": {
 11961                    "type": "string",
 11962                    "format": "email",
 11963                    "x-go-name": "Email"
 11964                  },
 11965                  "primary": {
 11966                    "type": "boolean",
 11967                    "x-go-name": "Primary"
 11968                  },
 11969                  "verified": {
 11970                    "type": "boolean",
 11971                    "x-go-name": "Verified"
 11972                  }
 11973                },
 11974                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 11975              }
 11976            }
 11977          }
 11978        }
 11979      },
 11980      "post": {
 11981        "produces": [
 11982          "application/json"
 11983        ],
 11984        "tags": [
 11985          "user"
 11986        ],
 11987        "summary": "Add email addresses",
 11988        "operationId": "userAddEmail",
 11989        "parameters": [
 11990          {
 11991            "name": "body",
 11992            "in": "body",
 11993            "schema": {
 11994              "description": "CreateEmailOption options when creating email addresses",
 11995              "type": "object",
 11996              "properties": {
 11997                "emails": {
 11998                  "description": "email addresses to add",
 11999                  "type": "array",
 12000                  "items": {
 12001                    "type": "string"
 12002                  },
 12003                  "x-go-name": "Emails"
 12004                }
 12005              },
 12006              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12007            }
 12008          }
 12009        ],
 12010        "responses": {
 12011          "201": {
 12012            "description": "EmailList",
 12013            "schema": {
 12014              "type": "array",
 12015              "items": {
 12016                "description": "Email an email address belonging to a user",
 12017                "type": "object",
 12018                "properties": {
 12019                  "email": {
 12020                    "type": "string",
 12021                    "format": "email",
 12022                    "x-go-name": "Email"
 12023                  },
 12024                  "primary": {
 12025                    "type": "boolean",
 12026                    "x-go-name": "Primary"
 12027                  },
 12028                  "verified": {
 12029                    "type": "boolean",
 12030                    "x-go-name": "Verified"
 12031                  }
 12032                },
 12033                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12034              }
 12035            }
 12036          }
 12037        }
 12038      },
 12039      "delete": {
 12040        "produces": [
 12041          "application/json"
 12042        ],
 12043        "tags": [
 12044          "user"
 12045        ],
 12046        "summary": "Delete email addresses",
 12047        "operationId": "userDeleteEmail",
 12048        "parameters": [
 12049          {
 12050            "name": "body",
 12051            "in": "body",
 12052            "schema": {
 12053              "description": "DeleteEmailOption options when deleting email addresses",
 12054              "type": "object",
 12055              "properties": {
 12056                "emails": {
 12057                  "description": "email addresses to delete",
 12058                  "type": "array",
 12059                  "items": {
 12060                    "type": "string"
 12061                  },
 12062                  "x-go-name": "Emails"
 12063                }
 12064              },
 12065              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12066            }
 12067          }
 12068        ],
 12069        "responses": {
 12070          "204": {
 12071            "description": "APIEmpty is an empty response"
 12072          }
 12073        }
 12074      }
 12075    },
 12076    "/user/followers": {
 12077      "get": {
 12078        "produces": [
 12079          "application/json"
 12080        ],
 12081        "tags": [
 12082          "user"
 12083        ],
 12084        "summary": "List the authenticated user's followers",
 12085        "operationId": "userCurrentListFollowers",
 12086        "responses": {
 12087          "200": {
 12088            "description": "UserList",
 12089            "schema": {
 12090              "type": "array",
 12091              "items": {
 12092                "description": "User represents a user",
 12093                "type": "object",
 12094                "properties": {
 12095                  "avatar_url": {
 12096                    "description": "URL to the user's avatar",
 12097                    "type": "string",
 12098                    "x-go-name": "AvatarURL"
 12099                  },
 12100                  "email": {
 12101                    "type": "string",
 12102                    "format": "email",
 12103                    "x-go-name": "Email"
 12104                  },
 12105                  "full_name": {
 12106                    "description": "the user's full name",
 12107                    "type": "string",
 12108                    "x-go-name": "FullName"
 12109                  },
 12110                  "id": {
 12111                    "description": "the user's id",
 12112                    "type": "integer",
 12113                    "format": "int64",
 12114                    "x-go-name": "ID"
 12115                  },
 12116                  "language": {
 12117                    "description": "User locale",
 12118                    "type": "string",
 12119                    "x-go-name": "Language"
 12120                  },
 12121                  "login": {
 12122                    "description": "the user's username",
 12123                    "type": "string",
 12124                    "x-go-name": "UserName"
 12125                  }
 12126                },
 12127                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12128              }
 12129            }
 12130          }
 12131        }
 12132      }
 12133    },
 12134    "/user/following": {
 12135      "get": {
 12136        "produces": [
 12137          "application/json"
 12138        ],
 12139        "tags": [
 12140          "user"
 12141        ],
 12142        "summary": "List the users that the authenticated user is following",
 12143        "operationId": "userCurrentListFollowing",
 12144        "responses": {
 12145          "200": {
 12146            "description": "UserList",
 12147            "schema": {
 12148              "type": "array",
 12149              "items": {
 12150                "description": "User represents a user",
 12151                "type": "object",
 12152                "properties": {
 12153                  "avatar_url": {
 12154                    "description": "URL to the user's avatar",
 12155                    "type": "string",
 12156                    "x-go-name": "AvatarURL"
 12157                  },
 12158                  "email": {
 12159                    "type": "string",
 12160                    "format": "email",
 12161                    "x-go-name": "Email"
 12162                  },
 12163                  "full_name": {
 12164                    "description": "the user's full name",
 12165                    "type": "string",
 12166                    "x-go-name": "FullName"
 12167                  },
 12168                  "id": {
 12169                    "description": "the user's id",
 12170                    "type": "integer",
 12171                    "format": "int64",
 12172                    "x-go-name": "ID"
 12173                  },
 12174                  "language": {
 12175                    "description": "User locale",
 12176                    "type": "string",
 12177                    "x-go-name": "Language"
 12178                  },
 12179                  "login": {
 12180                    "description": "the user's username",
 12181                    "type": "string",
 12182                    "x-go-name": "UserName"
 12183                  }
 12184                },
 12185                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12186              }
 12187            }
 12188          }
 12189        }
 12190      }
 12191    },
 12192    "/user/following/{username}": {
 12193      "get": {
 12194        "tags": [
 12195          "user"
 12196        ],
 12197        "summary": "Check whether a user is followed by the authenticated user",
 12198        "operationId": "userCurrentCheckFollowing",
 12199        "parameters": [
 12200          {
 12201            "type": "string",
 12202            "description": "username of followed user",
 12203            "name": "username",
 12204            "in": "path",
 12205            "required": true
 12206          }
 12207        ],
 12208        "responses": {
 12209          "204": {
 12210            "description": "APIEmpty is an empty response"
 12211          },
 12212          "404": {
 12213            "description": "APINotFound is a not found empty response"
 12214          }
 12215        }
 12216      },
 12217      "put": {
 12218        "tags": [
 12219          "user"
 12220        ],
 12221        "summary": "Follow a user",
 12222        "operationId": "userCurrentPutFollow",
 12223        "parameters": [
 12224          {
 12225            "type": "string",
 12226            "description": "username of user to follow",
 12227            "name": "username",
 12228            "in": "path",
 12229            "required": true
 12230          }
 12231        ],
 12232        "responses": {
 12233          "204": {
 12234            "description": "APIEmpty is an empty response"
 12235          }
 12236        }
 12237      },
 12238      "delete": {
 12239        "tags": [
 12240          "user"
 12241        ],
 12242        "summary": "Unfollow a user",
 12243        "operationId": "userCurrentDeleteFollow",
 12244        "parameters": [
 12245          {
 12246            "type": "string",
 12247            "description": "username of user to unfollow",
 12248            "name": "username",
 12249            "in": "path",
 12250            "required": true
 12251          }
 12252        ],
 12253        "responses": {
 12254          "204": {
 12255            "description": "APIEmpty is an empty response"
 12256          }
 12257        }
 12258      }
 12259    },
 12260    "/user/gpg_keys": {
 12261      "get": {
 12262        "produces": [
 12263          "application/json"
 12264        ],
 12265        "tags": [
 12266          "user"
 12267        ],
 12268        "summary": "List the authenticated user's GPG keys",
 12269        "operationId": "userCurrentListGPGKeys",
 12270        "responses": {
 12271          "200": {
 12272            "description": "GPGKeyList",
 12273            "schema": {
 12274              "type": "array",
 12275              "items": {
 12276                "$ref": "#/definitions/GPGKey"
 12277              }
 12278            }
 12279          }
 12280        }
 12281      },
 12282      "post": {
 12283        "consumes": [
 12284          "application/json"
 12285        ],
 12286        "produces": [
 12287          "application/json"
 12288        ],
 12289        "tags": [
 12290          "user"
 12291        ],
 12292        "summary": "Create a GPG key",
 12293        "operationId": "userCurrentPostGPGKey",
 12294        "parameters": [
 12295          {
 12296            "name": "Form",
 12297            "in": "body",
 12298            "schema": {
 12299              "description": "CreateGPGKeyOption options create user GPG key",
 12300              "type": "object",
 12301              "required": [
 12302                "armored_public_key"
 12303              ],
 12304              "properties": {
 12305                "armored_public_key": {
 12306                  "description": "An armored GPG key to add",
 12307                  "type": "string",
 12308                  "uniqueItems": true,
 12309                  "x-go-name": "ArmoredKey"
 12310                }
 12311              },
 12312              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12313            }
 12314          }
 12315        ],
 12316        "responses": {
 12317          "201": {
 12318            "description": "GPGKey",
 12319            "schema": {
 12320              "$ref": "#/definitions/GPGKey"
 12321            }
 12322          },
 12323          "422": {
 12324            "description": "APIValidationError is error format response related to input validation",
 12325            "headers": {
 12326              "message": {
 12327                "type": "string"
 12328              },
 12329              "url": {
 12330                "type": "string"
 12331              }
 12332            }
 12333          }
 12334        }
 12335      }
 12336    },
 12337    "/user/gpg_keys/{id}": {
 12338      "get": {
 12339        "produces": [
 12340          "application/json"
 12341        ],
 12342        "tags": [
 12343          "user"
 12344        ],
 12345        "summary": "Get a GPG key",
 12346        "operationId": "userCurrentGetGPGKey",
 12347        "parameters": [
 12348          {
 12349            "type": "integer",
 12350            "description": "id of key to get",
 12351            "name": "id",
 12352            "in": "path",
 12353            "required": true
 12354          }
 12355        ],
 12356        "responses": {
 12357          "200": {
 12358            "description": "GPGKey",
 12359            "schema": {
 12360              "$ref": "#/definitions/GPGKey"
 12361            }
 12362          },
 12363          "404": {
 12364            "description": "APINotFound is a not found empty response"
 12365          }
 12366        }
 12367      },
 12368      "delete": {
 12369        "produces": [
 12370          "application/json"
 12371        ],
 12372        "tags": [
 12373          "user"
 12374        ],
 12375        "summary": "Remove a GPG key",
 12376        "operationId": "userCurrentDeleteGPGKey",
 12377        "parameters": [
 12378          {
 12379            "type": "integer",
 12380            "description": "id of key to delete",
 12381            "name": "id",
 12382            "in": "path",
 12383            "required": true
 12384          }
 12385        ],
 12386        "responses": {
 12387          "204": {
 12388            "description": "APIEmpty is an empty response"
 12389          },
 12390          "403": {
 12391            "description": "APIForbiddenError is a forbidden error response",
 12392            "headers": {
 12393              "message": {
 12394                "type": "string"
 12395              },
 12396              "url": {
 12397                "type": "string"
 12398              }
 12399            }
 12400          }
 12401        }
 12402      }
 12403    },
 12404    "/user/keys": {
 12405      "get": {
 12406        "produces": [
 12407          "application/json"
 12408        ],
 12409        "tags": [
 12410          "user"
 12411        ],
 12412        "summary": "List the authenticated user's public keys",
 12413        "operationId": "userCurrentListKeys",
 12414        "responses": {
 12415          "200": {
 12416            "description": "PublicKeyList",
 12417            "schema": {
 12418              "type": "array",
 12419              "items": {
 12420                "description": "PublicKey publickey is a user key to push code to repository",
 12421                "type": "object",
 12422                "properties": {
 12423                  "created_at": {
 12424                    "type": "string",
 12425                    "format": "date-time",
 12426                    "x-go-name": "Created"
 12427                  },
 12428                  "fingerprint": {
 12429                    "type": "string",
 12430                    "x-go-name": "Fingerprint"
 12431                  },
 12432                  "id": {
 12433                    "type": "integer",
 12434                    "format": "int64",
 12435                    "x-go-name": "ID"
 12436                  },
 12437                  "key": {
 12438                    "type": "string",
 12439                    "x-go-name": "Key"
 12440                  },
 12441                  "title": {
 12442                    "type": "string",
 12443                    "x-go-name": "Title"
 12444                  },
 12445                  "url": {
 12446                    "type": "string",
 12447                    "x-go-name": "URL"
 12448                  }
 12449                },
 12450                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12451              }
 12452            }
 12453          }
 12454        }
 12455      },
 12456      "post": {
 12457        "consumes": [
 12458          "application/json"
 12459        ],
 12460        "produces": [
 12461          "application/json"
 12462        ],
 12463        "tags": [
 12464          "user"
 12465        ],
 12466        "summary": "Create a public key",
 12467        "operationId": "userCurrentPostKey",
 12468        "parameters": [
 12469          {
 12470            "name": "body",
 12471            "in": "body",
 12472            "schema": {
 12473              "description": "CreateKeyOption options when creating a key",
 12474              "type": "object",
 12475              "required": [
 12476                "title",
 12477                "key"
 12478              ],
 12479              "properties": {
 12480                "key": {
 12481                  "description": "An armored SSH key to add",
 12482                  "type": "string",
 12483                  "uniqueItems": true,
 12484                  "x-go-name": "Key"
 12485                },
 12486                "read_only": {
 12487                  "description": "Describe if the key has only read access or read/write",
 12488                  "type": "boolean",
 12489                  "x-go-name": "ReadOnly"
 12490                },
 12491                "title": {
 12492                  "description": "Title of the key to add",
 12493                  "type": "string",
 12494                  "uniqueItems": true,
 12495                  "x-go-name": "Title"
 12496                }
 12497              },
 12498              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12499            }
 12500          }
 12501        ],
 12502        "responses": {
 12503          "201": {
 12504            "description": "PublicKey",
 12505            "schema": {
 12506              "description": "PublicKey publickey is a user key to push code to repository",
 12507              "type": "object",
 12508              "properties": {
 12509                "created_at": {
 12510                  "type": "string",
 12511                  "format": "date-time",
 12512                  "x-go-name": "Created"
 12513                },
 12514                "fingerprint": {
 12515                  "type": "string",
 12516                  "x-go-name": "Fingerprint"
 12517                },
 12518                "id": {
 12519                  "type": "integer",
 12520                  "format": "int64",
 12521                  "x-go-name": "ID"
 12522                },
 12523                "key": {
 12524                  "type": "string",
 12525                  "x-go-name": "Key"
 12526                },
 12527                "title": {
 12528                  "type": "string",
 12529                  "x-go-name": "Title"
 12530                },
 12531                "url": {
 12532                  "type": "string",
 12533                  "x-go-name": "URL"
 12534                }
 12535              },
 12536              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12537            }
 12538          },
 12539          "422": {
 12540            "description": "APIValidationError is error format response related to input validation",
 12541            "headers": {
 12542              "message": {
 12543                "type": "string"
 12544              },
 12545              "url": {
 12546                "type": "string"
 12547              }
 12548            }
 12549          }
 12550        }
 12551      }
 12552    },
 12553    "/user/keys/{id}": {
 12554      "get": {
 12555        "produces": [
 12556          "application/json"
 12557        ],
 12558        "tags": [
 12559          "user"
 12560        ],
 12561        "summary": "Get a public key",
 12562        "operationId": "userCurrentGetKey",
 12563        "parameters": [
 12564          {
 12565            "type": "integer",
 12566            "description": "id of key to get",
 12567            "name": "id",
 12568            "in": "path",
 12569            "required": true
 12570          }
 12571        ],
 12572        "responses": {
 12573          "200": {
 12574            "description": "PublicKey",
 12575            "schema": {
 12576              "description": "PublicKey publickey is a user key to push code to repository",
 12577              "type": "object",
 12578              "properties": {
 12579                "created_at": {
 12580                  "type": "string",
 12581                  "format": "date-time",
 12582                  "x-go-name": "Created"
 12583                },
 12584                "fingerprint": {
 12585                  "type": "string",
 12586                  "x-go-name": "Fingerprint"
 12587                },
 12588                "id": {
 12589                  "type": "integer",
 12590                  "format": "int64",
 12591                  "x-go-name": "ID"
 12592                },
 12593                "key": {
 12594                  "type": "string",
 12595                  "x-go-name": "Key"
 12596                },
 12597                "title": {
 12598                  "type": "string",
 12599                  "x-go-name": "Title"
 12600                },
 12601                "url": {
 12602                  "type": "string",
 12603                  "x-go-name": "URL"
 12604                }
 12605              },
 12606              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12607            }
 12608          },
 12609          "404": {
 12610            "description": "APINotFound is a not found empty response"
 12611          }
 12612        }
 12613      },
 12614      "delete": {
 12615        "produces": [
 12616          "application/json"
 12617        ],
 12618        "tags": [
 12619          "user"
 12620        ],
 12621        "summary": "Delete a public key",
 12622        "operationId": "userCurrentDeleteKey",
 12623        "parameters": [
 12624          {
 12625            "type": "integer",
 12626            "description": "id of key to delete",
 12627            "name": "id",
 12628            "in": "path",
 12629            "required": true
 12630          }
 12631        ],
 12632        "responses": {
 12633          "204": {
 12634            "description": "APIEmpty is an empty response"
 12635          },
 12636          "403": {
 12637            "description": "APIForbiddenError is a forbidden error response",
 12638            "headers": {
 12639              "message": {
 12640                "type": "string"
 12641              },
 12642              "url": {
 12643                "type": "string"
 12644              }
 12645            }
 12646          },
 12647          "404": {
 12648            "description": "APINotFound is a not found empty response"
 12649          }
 12650        }
 12651      }
 12652    },
 12653    "/user/orgs": {
 12654      "get": {
 12655        "produces": [
 12656          "application/json"
 12657        ],
 12658        "tags": [
 12659          "organization"
 12660        ],
 12661        "summary": "List the current user's organizations",
 12662        "operationId": "orgListCurrentUserOrgs",
 12663        "responses": {
 12664          "200": {
 12665            "description": "OrganizationList",
 12666            "schema": {
 12667              "type": "array",
 12668              "items": {
 12669                "description": "Organization represents an organization",
 12670                "type": "object",
 12671                "properties": {
 12672                  "avatar_url": {
 12673                    "type": "string",
 12674                    "x-go-name": "AvatarURL"
 12675                  },
 12676                  "description": {
 12677                    "type": "string",
 12678                    "x-go-name": "Description"
 12679                  },
 12680                  "full_name": {
 12681                    "type": "string",
 12682                    "x-go-name": "FullName"
 12683                  },
 12684                  "id": {
 12685                    "type": "integer",
 12686                    "format": "int64",
 12687                    "x-go-name": "ID"
 12688                  },
 12689                  "location": {
 12690                    "type": "string",
 12691                    "x-go-name": "Location"
 12692                  },
 12693                  "username": {
 12694                    "type": "string",
 12695                    "x-go-name": "UserName"
 12696                  },
 12697                  "website": {
 12698                    "type": "string",
 12699                    "x-go-name": "Website"
 12700                  }
 12701                },
 12702                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12703              }
 12704            }
 12705          }
 12706        }
 12707      }
 12708    },
 12709    "/user/repos": {
 12710      "get": {
 12711        "produces": [
 12712          "application/json"
 12713        ],
 12714        "tags": [
 12715          "user"
 12716        ],
 12717        "summary": "List the repos that the authenticated user owns or has access to",
 12718        "operationId": "userCurrentListRepos",
 12719        "responses": {
 12720          "200": {
 12721            "description": "RepositoryList",
 12722            "schema": {
 12723              "type": "array",
 12724              "items": {
 12725                "$ref": "#/definitions/Repository"
 12726              }
 12727            }
 12728          }
 12729        }
 12730      },
 12731      "post": {
 12732        "consumes": [
 12733          "application/json"
 12734        ],
 12735        "produces": [
 12736          "application/json"
 12737        ],
 12738        "tags": [
 12739          "repository",
 12740          "user"
 12741        ],
 12742        "summary": "Create a repository",
 12743        "operationId": "createCurrentUserRepo",
 12744        "parameters": [
 12745          {
 12746            "name": "body",
 12747            "in": "body",
 12748            "schema": {
 12749              "description": "CreateRepoOption options when creating repository",
 12750              "type": "object",
 12751              "required": [
 12752                "name"
 12753              ],
 12754              "properties": {
 12755                "auto_init": {
 12756                  "description": "Whether the repository should be auto-intialized?",
 12757                  "type": "boolean",
 12758                  "x-go-name": "AutoInit"
 12759                },
 12760                "description": {
 12761                  "description": "Description of the repository to create",
 12762                  "type": "string",
 12763                  "x-go-name": "Description"
 12764                },
 12765                "gitignores": {
 12766                  "description": "Gitignores to use",
 12767                  "type": "string",
 12768                  "x-go-name": "Gitignores"
 12769                },
 12770                "license": {
 12771                  "description": "License to use",
 12772                  "type": "string",
 12773                  "x-go-name": "License"
 12774                },
 12775                "name": {
 12776                  "description": "Name of the repository to create",
 12777                  "type": "string",
 12778                  "uniqueItems": true,
 12779                  "x-go-name": "Name"
 12780                },
 12781                "private": {
 12782                  "description": "Whether the repository is private",
 12783                  "type": "boolean",
 12784                  "x-go-name": "Private"
 12785                },
 12786                "readme": {
 12787                  "description": "Readme of the repository to create",
 12788                  "type": "string",
 12789                  "x-go-name": "Readme"
 12790                }
 12791              },
 12792              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12793            }
 12794          }
 12795        ],
 12796        "responses": {
 12797          "201": {
 12798            "description": "Repository",
 12799            "schema": {
 12800              "$ref": "#/definitions/Repository"
 12801            }
 12802          }
 12803        }
 12804      }
 12805    },
 12806    "/user/starred": {
 12807      "get": {
 12808        "produces": [
 12809          "application/json"
 12810        ],
 12811        "tags": [
 12812          "user"
 12813        ],
 12814        "summary": "The repos that the authenticated user has starred",
 12815        "operationId": "userCurrentListStarred",
 12816        "responses": {
 12817          "200": {
 12818            "description": "RepositoryList",
 12819            "schema": {
 12820              "type": "array",
 12821              "items": {
 12822                "$ref": "#/definitions/Repository"
 12823              }
 12824            }
 12825          }
 12826        }
 12827      }
 12828    },
 12829    "/user/starred/{owner}/{repo}": {
 12830      "get": {
 12831        "tags": [
 12832          "user"
 12833        ],
 12834        "summary": "Whether the authenticated is starring the repo",
 12835        "operationId": "userCurrentCheckStarring",
 12836        "parameters": [
 12837          {
 12838            "type": "string",
 12839            "description": "owner of the repo",
 12840            "name": "owner",
 12841            "in": "path",
 12842            "required": true
 12843          },
 12844          {
 12845            "type": "string",
 12846            "description": "name of the repo",
 12847            "name": "repo",
 12848            "in": "path",
 12849            "required": true
 12850          }
 12851        ],
 12852        "responses": {
 12853          "204": {
 12854            "description": "APIEmpty is an empty response"
 12855          },
 12856          "404": {
 12857            "description": "APINotFound is a not found empty response"
 12858          }
 12859        }
 12860      },
 12861      "put": {
 12862        "tags": [
 12863          "user"
 12864        ],
 12865        "summary": "Star the given repo",
 12866        "operationId": "userCurrentPutStar",
 12867        "parameters": [
 12868          {
 12869            "type": "string",
 12870            "description": "owner of the repo to star",
 12871            "name": "owner",
 12872            "in": "path",
 12873            "required": true
 12874          },
 12875          {
 12876            "type": "string",
 12877            "description": "name of the repo to star",
 12878            "name": "repo",
 12879            "in": "path",
 12880            "required": true
 12881          }
 12882        ],
 12883        "responses": {
 12884          "204": {
 12885            "description": "APIEmpty is an empty response"
 12886          }
 12887        }
 12888      },
 12889      "delete": {
 12890        "tags": [
 12891          "user"
 12892        ],
 12893        "summary": "Unstar the given repo",
 12894        "operationId": "userCurrentDeleteStar",
 12895        "parameters": [
 12896          {
 12897            "type": "string",
 12898            "description": "owner of the repo to unstar",
 12899            "name": "owner",
 12900            "in": "path",
 12901            "required": true
 12902          },
 12903          {
 12904            "type": "string",
 12905            "description": "name of the repo to unstar",
 12906            "name": "repo",
 12907            "in": "path",
 12908            "required": true
 12909          }
 12910        ],
 12911        "responses": {
 12912          "204": {
 12913            "description": "APIEmpty is an empty response"
 12914          }
 12915        }
 12916      }
 12917    },
 12918    "/user/subscriptions": {
 12919      "get": {
 12920        "produces": [
 12921          "application/json"
 12922        ],
 12923        "tags": [
 12924          "user"
 12925        ],
 12926        "summary": "List repositories watched by the authenticated user",
 12927        "operationId": "userCurrentListSubscriptions",
 12928        "responses": {
 12929          "200": {
 12930            "description": "RepositoryList",
 12931            "schema": {
 12932              "type": "array",
 12933              "items": {
 12934                "$ref": "#/definitions/Repository"
 12935              }
 12936            }
 12937          }
 12938        }
 12939      }
 12940    },
 12941    "/user/times": {
 12942      "get": {
 12943        "produces": [
 12944          "application/json"
 12945        ],
 12946        "tags": [
 12947          "user"
 12948        ],
 12949        "summary": "List the current user's tracked times",
 12950        "operationId": "userCurrentTrackedTimes",
 12951        "responses": {
 12952          "200": {
 12953            "description": "TrackedTimeList",
 12954            "schema": {
 12955              "type": "array",
 12956              "items": {
 12957                "description": "TrackedTime worked time for an issue / pr",
 12958                "type": "object",
 12959                "properties": {
 12960                  "created": {
 12961                    "type": "string",
 12962                    "format": "date-time",
 12963                    "x-go-name": "Created"
 12964                  },
 12965                  "id": {
 12966                    "type": "integer",
 12967                    "format": "int64",
 12968                    "x-go-name": "ID"
 12969                  },
 12970                  "issue_id": {
 12971                    "type": "integer",
 12972                    "format": "int64",
 12973                    "x-go-name": "IssueID"
 12974                  },
 12975                  "time": {
 12976                    "description": "Time in seconds",
 12977                    "type": "integer",
 12978                    "format": "int64",
 12979                    "x-go-name": "Time"
 12980                  },
 12981                  "user_id": {
 12982                    "type": "integer",
 12983                    "format": "int64",
 12984                    "x-go-name": "UserID"
 12985                  }
 12986                },
 12987                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 12988              }
 12989            }
 12990          }
 12991        }
 12992      }
 12993    },
 12994    "/user/{username}/orgs": {
 12995      "get": {
 12996        "produces": [
 12997          "application/json"
 12998        ],
 12999        "tags": [
 13000          "organization"
 13001        ],
 13002        "summary": "List a user's organizations",
 13003        "operationId": "orgListUserOrgs",
 13004        "parameters": [
 13005          {
 13006            "type": "string",
 13007            "description": "username of user",
 13008            "name": "username",
 13009            "in": "path",
 13010            "required": true
 13011          }
 13012        ],
 13013        "responses": {
 13014          "200": {
 13015            "description": "OrganizationList",
 13016            "schema": {
 13017              "type": "array",
 13018              "items": {
 13019                "description": "Organization represents an organization",
 13020                "type": "object",
 13021                "properties": {
 13022                  "avatar_url": {
 13023                    "type": "string",
 13024                    "x-go-name": "AvatarURL"
 13025                  },
 13026                  "description": {
 13027                    "type": "string",
 13028                    "x-go-name": "Description"
 13029                  },
 13030                  "full_name": {
 13031                    "type": "string",
 13032                    "x-go-name": "FullName"
 13033                  },
 13034                  "id": {
 13035                    "type": "integer",
 13036                    "format": "int64",
 13037                    "x-go-name": "ID"
 13038                  },
 13039                  "location": {
 13040                    "type": "string",
 13041                    "x-go-name": "Location"
 13042                  },
 13043                  "username": {
 13044                    "type": "string",
 13045                    "x-go-name": "UserName"
 13046                  },
 13047                  "website": {
 13048                    "type": "string",
 13049                    "x-go-name": "Website"
 13050                  }
 13051                },
 13052                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13053              }
 13054            }
 13055          }
 13056        }
 13057      }
 13058    },
 13059    "/users/search": {
 13060      "get": {
 13061        "produces": [
 13062          "application/json"
 13063        ],
 13064        "tags": [
 13065          "user"
 13066        ],
 13067        "summary": "Search for users",
 13068        "operationId": "userSearch",
 13069        "parameters": [
 13070          {
 13071            "type": "string",
 13072            "description": "keyword",
 13073            "name": "q",
 13074            "in": "query"
 13075          },
 13076          {
 13077            "type": "integer",
 13078            "description": "maximum number of users to return",
 13079            "name": "limit",
 13080            "in": "query"
 13081          }
 13082        ],
 13083        "responses": {
 13084          "200": {
 13085            "description": "UserList",
 13086            "schema": {
 13087              "type": "array",
 13088              "items": {
 13089                "description": "User represents a user",
 13090                "type": "object",
 13091                "properties": {
 13092                  "avatar_url": {
 13093                    "description": "URL to the user's avatar",
 13094                    "type": "string",
 13095                    "x-go-name": "AvatarURL"
 13096                  },
 13097                  "email": {
 13098                    "type": "string",
 13099                    "format": "email",
 13100                    "x-go-name": "Email"
 13101                  },
 13102                  "full_name": {
 13103                    "description": "the user's full name",
 13104                    "type": "string",
 13105                    "x-go-name": "FullName"
 13106                  },
 13107                  "id": {
 13108                    "description": "the user's id",
 13109                    "type": "integer",
 13110                    "format": "int64",
 13111                    "x-go-name": "ID"
 13112                  },
 13113                  "language": {
 13114                    "description": "User locale",
 13115                    "type": "string",
 13116                    "x-go-name": "Language"
 13117                  },
 13118                  "login": {
 13119                    "description": "the user's username",
 13120                    "type": "string",
 13121                    "x-go-name": "UserName"
 13122                  }
 13123                },
 13124                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13125              }
 13126            }
 13127          }
 13128        }
 13129      }
 13130    },
 13131    "/users/{follower}/following/{followee}": {
 13132      "get": {
 13133        "tags": [
 13134          "user"
 13135        ],
 13136        "summary": "Check if one user is following another user",
 13137        "operationId": "userCheckFollowing",
 13138        "parameters": [
 13139          {
 13140            "type": "string",
 13141            "description": "username of following user",
 13142            "name": "follower",
 13143            "in": "path",
 13144            "required": true
 13145          },
 13146          {
 13147            "type": "string",
 13148            "description": "username of followed user",
 13149            "name": "followee",
 13150            "in": "path",
 13151            "required": true
 13152          }
 13153        ],
 13154        "responses": {
 13155          "204": {
 13156            "description": "APIEmpty is an empty response"
 13157          },
 13158          "404": {
 13159            "description": "APINotFound is a not found empty response"
 13160          }
 13161        }
 13162      }
 13163    },
 13164    "/users/{username}": {
 13165      "get": {
 13166        "produces": [
 13167          "application/json"
 13168        ],
 13169        "tags": [
 13170          "user"
 13171        ],
 13172        "summary": "Get a user",
 13173        "operationId": "userGet",
 13174        "parameters": [
 13175          {
 13176            "type": "string",
 13177            "description": "username of user to get",
 13178            "name": "username",
 13179            "in": "path",
 13180            "required": true
 13181          }
 13182        ],
 13183        "responses": {
 13184          "200": {
 13185            "description": "User",
 13186            "schema": {
 13187              "description": "User represents a user",
 13188              "type": "object",
 13189              "properties": {
 13190                "avatar_url": {
 13191                  "description": "URL to the user's avatar",
 13192                  "type": "string",
 13193                  "x-go-name": "AvatarURL"
 13194                },
 13195                "email": {
 13196                  "type": "string",
 13197                  "format": "email",
 13198                  "x-go-name": "Email"
 13199                },
 13200                "full_name": {
 13201                  "description": "the user's full name",
 13202                  "type": "string",
 13203                  "x-go-name": "FullName"
 13204                },
 13205                "id": {
 13206                  "description": "the user's id",
 13207                  "type": "integer",
 13208                  "format": "int64",
 13209                  "x-go-name": "ID"
 13210                },
 13211                "language": {
 13212                  "description": "User locale",
 13213                  "type": "string",
 13214                  "x-go-name": "Language"
 13215                },
 13216                "login": {
 13217                  "description": "the user's username",
 13218                  "type": "string",
 13219                  "x-go-name": "UserName"
 13220                }
 13221              },
 13222              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13223            }
 13224          },
 13225          "404": {
 13226            "description": "APINotFound is a not found empty response"
 13227          }
 13228        }
 13229      }
 13230    },
 13231    "/users/{username}/followers": {
 13232      "get": {
 13233        "produces": [
 13234          "application/json"
 13235        ],
 13236        "tags": [
 13237          "user"
 13238        ],
 13239        "summary": "List the given user's followers",
 13240        "operationId": "userListFollowers",
 13241        "parameters": [
 13242          {
 13243            "type": "string",
 13244            "description": "username of user",
 13245            "name": "username",
 13246            "in": "path",
 13247            "required": true
 13248          }
 13249        ],
 13250        "responses": {
 13251          "200": {
 13252            "description": "UserList",
 13253            "schema": {
 13254              "type": "array",
 13255              "items": {
 13256                "description": "User represents a user",
 13257                "type": "object",
 13258                "properties": {
 13259                  "avatar_url": {
 13260                    "description": "URL to the user's avatar",
 13261                    "type": "string",
 13262                    "x-go-name": "AvatarURL"
 13263                  },
 13264                  "email": {
 13265                    "type": "string",
 13266                    "format": "email",
 13267                    "x-go-name": "Email"
 13268                  },
 13269                  "full_name": {
 13270                    "description": "the user's full name",
 13271                    "type": "string",
 13272                    "x-go-name": "FullName"
 13273                  },
 13274                  "id": {
 13275                    "description": "the user's id",
 13276                    "type": "integer",
 13277                    "format": "int64",
 13278                    "x-go-name": "ID"
 13279                  },
 13280                  "language": {
 13281                    "description": "User locale",
 13282                    "type": "string",
 13283                    "x-go-name": "Language"
 13284                  },
 13285                  "login": {
 13286                    "description": "the user's username",
 13287                    "type": "string",
 13288                    "x-go-name": "UserName"
 13289                  }
 13290                },
 13291                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13292              }
 13293            }
 13294          }
 13295        }
 13296      }
 13297    },
 13298    "/users/{username}/following": {
 13299      "get": {
 13300        "produces": [
 13301          "application/json"
 13302        ],
 13303        "tags": [
 13304          "user"
 13305        ],
 13306        "summary": "List the users that the given user is following",
 13307        "operationId": "userListFollowing",
 13308        "parameters": [
 13309          {
 13310            "type": "string",
 13311            "description": "username of user",
 13312            "name": "username",
 13313            "in": "path",
 13314            "required": true
 13315          }
 13316        ],
 13317        "responses": {
 13318          "200": {
 13319            "description": "UserList",
 13320            "schema": {
 13321              "type": "array",
 13322              "items": {
 13323                "description": "User represents a user",
 13324                "type": "object",
 13325                "properties": {
 13326                  "avatar_url": {
 13327                    "description": "URL to the user's avatar",
 13328                    "type": "string",
 13329                    "x-go-name": "AvatarURL"
 13330                  },
 13331                  "email": {
 13332                    "type": "string",
 13333                    "format": "email",
 13334                    "x-go-name": "Email"
 13335                  },
 13336                  "full_name": {
 13337                    "description": "the user's full name",
 13338                    "type": "string",
 13339                    "x-go-name": "FullName"
 13340                  },
 13341                  "id": {
 13342                    "description": "the user's id",
 13343                    "type": "integer",
 13344                    "format": "int64",
 13345                    "x-go-name": "ID"
 13346                  },
 13347                  "language": {
 13348                    "description": "User locale",
 13349                    "type": "string",
 13350                    "x-go-name": "Language"
 13351                  },
 13352                  "login": {
 13353                    "description": "the user's username",
 13354                    "type": "string",
 13355                    "x-go-name": "UserName"
 13356                  }
 13357                },
 13358                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13359              }
 13360            }
 13361          }
 13362        }
 13363      }
 13364    },
 13365    "/users/{username}/gpg_keys": {
 13366      "get": {
 13367        "produces": [
 13368          "application/json"
 13369        ],
 13370        "tags": [
 13371          "user"
 13372        ],
 13373        "summary": "List the given user's GPG keys",
 13374        "operationId": "userListGPGKeys",
 13375        "parameters": [
 13376          {
 13377            "type": "string",
 13378            "description": "username of user",
 13379            "name": "username",
 13380            "in": "path",
 13381            "required": true
 13382          }
 13383        ],
 13384        "responses": {
 13385          "200": {
 13386            "description": "GPGKeyList",
 13387            "schema": {
 13388              "type": "array",
 13389              "items": {
 13390                "$ref": "#/definitions/GPGKey"
 13391              }
 13392            }
 13393          }
 13394        }
 13395      }
 13396    },
 13397    "/users/{username}/keys": {
 13398      "get": {
 13399        "produces": [
 13400          "application/json"
 13401        ],
 13402        "tags": [
 13403          "user"
 13404        ],
 13405        "summary": "List the given user's public keys",
 13406        "operationId": "userListKeys",
 13407        "parameters": [
 13408          {
 13409            "type": "string",
 13410            "description": "username of user",
 13411            "name": "username",
 13412            "in": "path",
 13413            "required": true
 13414          }
 13415        ],
 13416        "responses": {
 13417          "200": {
 13418            "description": "PublicKeyList",
 13419            "schema": {
 13420              "type": "array",
 13421              "items": {
 13422                "description": "PublicKey publickey is a user key to push code to repository",
 13423                "type": "object",
 13424                "properties": {
 13425                  "created_at": {
 13426                    "type": "string",
 13427                    "format": "date-time",
 13428                    "x-go-name": "Created"
 13429                  },
 13430                  "fingerprint": {
 13431                    "type": "string",
 13432                    "x-go-name": "Fingerprint"
 13433                  },
 13434                  "id": {
 13435                    "type": "integer",
 13436                    "format": "int64",
 13437                    "x-go-name": "ID"
 13438                  },
 13439                  "key": {
 13440                    "type": "string",
 13441                    "x-go-name": "Key"
 13442                  },
 13443                  "title": {
 13444                    "type": "string",
 13445                    "x-go-name": "Title"
 13446                  },
 13447                  "url": {
 13448                    "type": "string",
 13449                    "x-go-name": "URL"
 13450                  }
 13451                },
 13452                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13453              }
 13454            }
 13455          }
 13456        }
 13457      }
 13458    },
 13459    "/users/{username}/repos": {
 13460      "get": {
 13461        "produces": [
 13462          "application/json"
 13463        ],
 13464        "tags": [
 13465          "user"
 13466        ],
 13467        "summary": "List the repos owned by the given user",
 13468        "operationId": "userListRepos",
 13469        "parameters": [
 13470          {
 13471            "type": "string",
 13472            "description": "username of user",
 13473            "name": "username",
 13474            "in": "path",
 13475            "required": true
 13476          }
 13477        ],
 13478        "responses": {
 13479          "200": {
 13480            "description": "RepositoryList",
 13481            "schema": {
 13482              "type": "array",
 13483              "items": {
 13484                "$ref": "#/definitions/Repository"
 13485              }
 13486            }
 13487          }
 13488        }
 13489      }
 13490    },
 13491    "/users/{username}/starred": {
 13492      "get": {
 13493        "produces": [
 13494          "application/json"
 13495        ],
 13496        "tags": [
 13497          "user"
 13498        ],
 13499        "summary": "The repos that the given user has starred",
 13500        "operationId": "userListStarred",
 13501        "parameters": [
 13502          {
 13503            "type": "string",
 13504            "description": "username of user",
 13505            "name": "username",
 13506            "in": "path",
 13507            "required": true
 13508          }
 13509        ],
 13510        "responses": {
 13511          "200": {
 13512            "description": "RepositoryList",
 13513            "schema": {
 13514              "type": "array",
 13515              "items": {
 13516                "$ref": "#/definitions/Repository"
 13517              }
 13518            }
 13519          }
 13520        }
 13521      }
 13522    },
 13523    "/users/{username}/subscriptions": {
 13524      "get": {
 13525        "produces": [
 13526          "application/json"
 13527        ],
 13528        "tags": [
 13529          "user"
 13530        ],
 13531        "summary": "List the repositories watched by a user",
 13532        "operationId": "userListSubscriptions",
 13533        "parameters": [
 13534          {
 13535            "type": "string",
 13536            "description": "username of the user",
 13537            "name": "username",
 13538            "in": "path",
 13539            "required": true
 13540          }
 13541        ],
 13542        "responses": {
 13543          "200": {
 13544            "description": "RepositoryList",
 13545            "schema": {
 13546              "type": "array",
 13547              "items": {
 13548                "$ref": "#/definitions/Repository"
 13549              }
 13550            }
 13551          }
 13552        }
 13553      }
 13554    },
 13555    "/users/{username}/tokens": {
 13556      "get": {
 13557        "produces": [
 13558          "application/json"
 13559        ],
 13560        "tags": [
 13561          "user"
 13562        ],
 13563        "summary": "List the authenticated user's access tokens",
 13564        "operationId": "userGetTokens",
 13565        "parameters": [
 13566          {
 13567            "type": "string",
 13568            "description": "username of user",
 13569            "name": "username",
 13570            "in": "path",
 13571            "required": true
 13572          }
 13573        ],
 13574        "responses": {
 13575          "200": {
 13576            "description": "AccessTokenList represents a list of API access token."
 13577          }
 13578        }
 13579      },
 13580      "post": {
 13581        "consumes": [
 13582          "application/json"
 13583        ],
 13584        "produces": [
 13585          "application/json"
 13586        ],
 13587        "tags": [
 13588          "user"
 13589        ],
 13590        "summary": "Create an access token",
 13591        "operationId": "userCreateToken",
 13592        "parameters": [
 13593          {
 13594            "type": "string",
 13595            "x-go-name": "Name",
 13596            "description": "username of user",
 13597            "name": "username",
 13598            "in": "path",
 13599            "required": true
 13600          }
 13601        ],
 13602        "responses": {
 13603          "200": {
 13604            "description": "AccessToken represents a API access token.",
 13605            "headers": {
 13606              "id": {
 13607                "type": "integer",
 13608                "format": "int64"
 13609              },
 13610              "name": {
 13611                "type": "string"
 13612              },
 13613              "sha1": {
 13614                "type": "string"
 13615              }
 13616            }
 13617          }
 13618        }
 13619      }
 13620    },
 13621    "/users/{username}/tokens/{token}": {
 13622      "delete": {
 13623        "produces": [
 13624          "application/json"
 13625        ],
 13626        "tags": [
 13627          "user"
 13628        ],
 13629        "summary": "delete an access token",
 13630        "operationId": "userDeleteAccessToken",
 13631        "parameters": [
 13632          {
 13633            "type": "string",
 13634            "description": "username of user",
 13635            "name": "username",
 13636            "in": "path",
 13637            "required": true
 13638          },
 13639          {
 13640            "type": "integer",
 13641            "description": "token to be deleted",
 13642            "name": "token",
 13643            "in": "path",
 13644            "required": true
 13645          }
 13646        ],
 13647        "responses": {
 13648          "204": {
 13649            "description": "APIEmpty is an empty response"
 13650          }
 13651        }
 13652      }
 13653    },
 13654    "/version": {
 13655      "get": {
 13656        "produces": [
 13657          "application/json"
 13658        ],
 13659        "tags": [
 13660          "miscellaneous"
 13661        ],
 13662        "summary": "Returns the version of the Gitea application",
 13663        "operationId": "getVersion",
 13664        "responses": {
 13665          "200": {
 13666            "description": "ServerVersion",
 13667            "schema": {
 13668              "description": "ServerVersion wraps the version of the server",
 13669              "type": "object",
 13670              "properties": {
 13671                "version": {
 13672                  "type": "string",
 13673                  "x-go-name": "Version"
 13674                }
 13675              },
 13676              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13677            }
 13678          }
 13679        }
 13680      }
 13681    }
 13682  },
 13683  "definitions": {
 13684    "AddCollaboratorOption": {
 13685      "description": "AddCollaboratorOption options when adding a user as a collaborator of a repository",
 13686      "type": "object",
 13687      "properties": {
 13688        "permission": {
 13689          "type": "string",
 13690          "x-go-name": "Permission"
 13691        }
 13692      },
 13693      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13694    },
 13695    "AddTimeOption": {
 13696      "description": "AddTimeOption options for adding time to an issue",
 13697      "type": "object",
 13698      "required": [
 13699        "time"
 13700      ],
 13701      "properties": {
 13702        "time": {
 13703          "description": "time in seconds",
 13704          "type": "integer",
 13705          "format": "int64",
 13706          "x-go-name": "Time"
 13707        }
 13708      },
 13709      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13710    },
 13711    "Attachment": {
 13712      "description": "Attachment a generic attachment",
 13713      "type": "object",
 13714      "properties": {
 13715        "browser_download_url": {
 13716          "type": "string",
 13717          "x-go-name": "DownloadURL"
 13718        },
 13719        "created_at": {
 13720          "type": "string",
 13721          "format": "date-time",
 13722          "x-go-name": "Created"
 13723        },
 13724        "download_count": {
 13725          "type": "integer",
 13726          "format": "int64",
 13727          "x-go-name": "DownloadCount"
 13728        },
 13729        "id": {
 13730          "type": "integer",
 13731          "format": "int64",
 13732          "x-go-name": "ID"
 13733        },
 13734        "name": {
 13735          "type": "string",
 13736          "x-go-name": "Name"
 13737        },
 13738        "size": {
 13739          "type": "integer",
 13740          "format": "int64",
 13741          "x-go-name": "Size"
 13742        },
 13743        "uuid": {
 13744          "type": "string",
 13745          "x-go-name": "UUID"
 13746        }
 13747      },
 13748      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13749    },
 13750    "Branch": {
 13751      "description": "Branch represents a repository branch",
 13752      "type": "object",
 13753      "properties": {
 13754        "commit": {
 13755          "description": "PayloadCommit represents a commit",
 13756          "type": "object",
 13757          "properties": {
 13758            "author": {
 13759              "description": "PayloadUser represents the author or committer of a commit",
 13760              "type": "object",
 13761              "properties": {
 13762                "email": {
 13763                  "type": "string",
 13764                  "format": "email",
 13765                  "x-go-name": "Email"
 13766                },
 13767                "name": {
 13768                  "description": "Full name of the commit author",
 13769                  "type": "string",
 13770                  "x-go-name": "Name"
 13771                },
 13772                "username": {
 13773                  "type": "string",
 13774                  "x-go-name": "UserName"
 13775                }
 13776              },
 13777              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13778            },
 13779            "committer": {
 13780              "description": "PayloadUser represents the author or committer of a commit",
 13781              "type": "object",
 13782              "properties": {
 13783                "email": {
 13784                  "type": "string",
 13785                  "format": "email",
 13786                  "x-go-name": "Email"
 13787                },
 13788                "name": {
 13789                  "description": "Full name of the commit author",
 13790                  "type": "string",
 13791                  "x-go-name": "Name"
 13792                },
 13793                "username": {
 13794                  "type": "string",
 13795                  "x-go-name": "UserName"
 13796                }
 13797              },
 13798              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13799            },
 13800            "id": {
 13801              "description": "sha1 hash of the commit",
 13802              "type": "string",
 13803              "x-go-name": "ID"
 13804            },
 13805            "message": {
 13806              "type": "string",
 13807              "x-go-name": "Message"
 13808            },
 13809            "timestamp": {
 13810              "type": "string",
 13811              "format": "date-time",
 13812              "x-go-name": "Timestamp"
 13813            },
 13814            "url": {
 13815              "type": "string",
 13816              "x-go-name": "URL"
 13817            },
 13818            "verification": {
 13819              "description": "PayloadCommitVerification represents the GPG verification of a commit",
 13820              "type": "object",
 13821              "properties": {
 13822                "payload": {
 13823                  "type": "string",
 13824                  "x-go-name": "Payload"
 13825                },
 13826                "reason": {
 13827                  "type": "string",
 13828                  "x-go-name": "Reason"
 13829                },
 13830                "signature": {
 13831                  "type": "string",
 13832                  "x-go-name": "Signature"
 13833                },
 13834                "verified": {
 13835                  "type": "boolean",
 13836                  "x-go-name": "Verified"
 13837                }
 13838              },
 13839              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13840            }
 13841          },
 13842          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13843        },
 13844        "name": {
 13845          "type": "string",
 13846          "x-go-name": "Name"
 13847        }
 13848      },
 13849      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13850    },
 13851    "Comment": {
 13852      "description": "Comment represents a comment on a commit or issue",
 13853      "type": "object",
 13854      "properties": {
 13855        "body": {
 13856          "type": "string",
 13857          "x-go-name": "Body"
 13858        },
 13859        "created_at": {
 13860          "type": "string",
 13861          "format": "date-time",
 13862          "x-go-name": "Created"
 13863        },
 13864        "html_url": {
 13865          "type": "string",
 13866          "x-go-name": "HTMLURL"
 13867        },
 13868        "id": {
 13869          "type": "integer",
 13870          "format": "int64",
 13871          "x-go-name": "ID"
 13872        },
 13873        "issue_url": {
 13874          "type": "string",
 13875          "x-go-name": "IssueURL"
 13876        },
 13877        "pull_request_url": {
 13878          "type": "string",
 13879          "x-go-name": "PRURL"
 13880        },
 13881        "updated_at": {
 13882          "type": "string",
 13883          "format": "date-time",
 13884          "x-go-name": "Updated"
 13885        },
 13886        "user": {
 13887          "description": "User represents a user",
 13888          "type": "object",
 13889          "properties": {
 13890            "avatar_url": {
 13891              "description": "URL to the user's avatar",
 13892              "type": "string",
 13893              "x-go-name": "AvatarURL"
 13894            },
 13895            "email": {
 13896              "type": "string",
 13897              "format": "email",
 13898              "x-go-name": "Email"
 13899            },
 13900            "full_name": {
 13901              "description": "the user's full name",
 13902              "type": "string",
 13903              "x-go-name": "FullName"
 13904            },
 13905            "id": {
 13906              "description": "the user's id",
 13907              "type": "integer",
 13908              "format": "int64",
 13909              "x-go-name": "ID"
 13910            },
 13911            "language": {
 13912              "description": "User locale",
 13913              "type": "string",
 13914              "x-go-name": "Language"
 13915            },
 13916            "login": {
 13917              "description": "the user's username",
 13918              "type": "string",
 13919              "x-go-name": "UserName"
 13920            }
 13921          },
 13922          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13923        }
 13924      },
 13925      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13926    },
 13927    "CreateEmailOption": {
 13928      "description": "CreateEmailOption options when creating email addresses",
 13929      "type": "object",
 13930      "properties": {
 13931        "emails": {
 13932          "description": "email addresses to add",
 13933          "type": "array",
 13934          "items": {
 13935            "type": "string"
 13936          },
 13937          "x-go-name": "Emails"
 13938        }
 13939      },
 13940      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13941    },
 13942    "CreateForkOption": {
 13943      "description": "CreateForkOption options for creating a fork",
 13944      "type": "object",
 13945      "properties": {
 13946        "organization": {
 13947          "description": "organization name, if forking into an organization",
 13948          "type": "string",
 13949          "x-go-name": "Organization"
 13950        }
 13951      },
 13952      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13953    },
 13954    "CreateGPGKeyOption": {
 13955      "description": "CreateGPGKeyOption options create user GPG key",
 13956      "type": "object",
 13957      "required": [
 13958        "armored_public_key"
 13959      ],
 13960      "properties": {
 13961        "armored_public_key": {
 13962          "description": "An armored GPG key to add",
 13963          "type": "string",
 13964          "uniqueItems": true,
 13965          "x-go-name": "ArmoredKey"
 13966        }
 13967      },
 13968      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 13969    },
 13970    "CreateHookOption": {
 13971      "description": "CreateHookOption options when create a hook",
 13972      "type": "object",
 13973      "required": [
 13974        "type",
 13975        "config"
 13976      ],
 13977      "properties": {
 13978        "active": {
 13979          "type": "boolean",
 13980          "default": false,
 13981          "x-go-name": "Active"
 13982        },
 13983        "config": {
 13984          "type": "object",
 13985          "additionalProperties": {
 13986            "type": "string"
 13987          },
 13988          "x-go-name": "Config"
 13989        },
 13990        "events": {
 13991          "type": "array",
 13992          "items": {
 13993            "type": "string"
 13994          },
 13995          "x-go-name": "Events"
 13996        },
 13997        "type": {
 13998          "type": "string",
 13999          "enum": [
 14000            "gitea",
 14001            "gogs",
 14002            "slack",
 14003            "discord"
 14004          ],
 14005          "x-go-name": "Type"
 14006        }
 14007      },
 14008      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14009    },
 14010    "CreateIssueCommentOption": {
 14011      "description": "CreateIssueCommentOption options for creating a comment on an issue",
 14012      "type": "object",
 14013      "required": [
 14014        "body"
 14015      ],
 14016      "properties": {
 14017        "body": {
 14018          "type": "string",
 14019          "x-go-name": "Body"
 14020        }
 14021      },
 14022      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14023    },
 14024    "CreateIssueOption": {
 14025      "description": "CreateIssueOption options to create one issue",
 14026      "type": "object",
 14027      "required": [
 14028        "title"
 14029      ],
 14030      "properties": {
 14031        "assignee": {
 14032          "description": "username of assignee",
 14033          "type": "string",
 14034          "x-go-name": "Assignee"
 14035        },
 14036        "assignees": {
 14037          "type": "array",
 14038          "items": {
 14039            "type": "string"
 14040          },
 14041          "x-go-name": "Assignees"
 14042        },
 14043        "body": {
 14044          "type": "string",
 14045          "x-go-name": "Body"
 14046        },
 14047        "closed": {
 14048          "type": "boolean",
 14049          "x-go-name": "Closed"
 14050        },
 14051        "due_date": {
 14052          "type": "string",
 14053          "format": "date-time",
 14054          "x-go-name": "Deadline"
 14055        },
 14056        "labels": {
 14057          "description": "list of label ids",
 14058          "type": "array",
 14059          "items": {
 14060            "type": "integer",
 14061            "format": "int64"
 14062          },
 14063          "x-go-name": "Labels"
 14064        },
 14065        "milestone": {
 14066          "description": "milestone id",
 14067          "type": "integer",
 14068          "format": "int64",
 14069          "x-go-name": "Milestone"
 14070        },
 14071        "title": {
 14072          "type": "string",
 14073          "x-go-name": "Title"
 14074        }
 14075      },
 14076      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14077    },
 14078    "CreateKeyOption": {
 14079      "description": "CreateKeyOption options when creating a key",
 14080      "type": "object",
 14081      "required": [
 14082        "title",
 14083        "key"
 14084      ],
 14085      "properties": {
 14086        "key": {
 14087          "description": "An armored SSH key to add",
 14088          "type": "string",
 14089          "uniqueItems": true,
 14090          "x-go-name": "Key"
 14091        },
 14092        "read_only": {
 14093          "description": "Describe if the key has only read access or read/write",
 14094          "type": "boolean",
 14095          "x-go-name": "ReadOnly"
 14096        },
 14097        "title": {
 14098          "description": "Title of the key to add",
 14099          "type": "string",
 14100          "uniqueItems": true,
 14101          "x-go-name": "Title"
 14102        }
 14103      },
 14104      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14105    },
 14106    "CreateLabelOption": {
 14107      "description": "CreateLabelOption options for creating a label",
 14108      "type": "object",
 14109      "required": [
 14110        "name",
 14111        "color"
 14112      ],
 14113      "properties": {
 14114        "color": {
 14115          "type": "string",
 14116          "x-go-name": "Color",
 14117          "example": "#00aabb"
 14118        },
 14119        "name": {
 14120          "type": "string",
 14121          "x-go-name": "Name"
 14122        }
 14123      },
 14124      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14125    },
 14126    "CreateMilestoneOption": {
 14127      "description": "CreateMilestoneOption options for creating a milestone",
 14128      "type": "object",
 14129      "properties": {
 14130        "description": {
 14131          "type": "string",
 14132          "x-go-name": "Description"
 14133        },
 14134        "due_on": {
 14135          "type": "string",
 14136          "format": "date-time",
 14137          "x-go-name": "Deadline"
 14138        },
 14139        "title": {
 14140          "type": "string",
 14141          "x-go-name": "Title"
 14142        }
 14143      },
 14144      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14145    },
 14146    "CreateOrgOption": {
 14147      "description": "CreateOrgOption options for creating an organization",
 14148      "type": "object",
 14149      "required": [
 14150        "username"
 14151      ],
 14152      "properties": {
 14153        "description": {
 14154          "type": "string",
 14155          "x-go-name": "Description"
 14156        },
 14157        "full_name": {
 14158          "type": "string",
 14159          "x-go-name": "FullName"
 14160        },
 14161        "location": {
 14162          "type": "string",
 14163          "x-go-name": "Location"
 14164        },
 14165        "username": {
 14166          "type": "string",
 14167          "x-go-name": "UserName"
 14168        },
 14169        "website": {
 14170          "type": "string",
 14171          "x-go-name": "Website"
 14172        }
 14173      },
 14174      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14175    },
 14176    "CreatePullRequestOption": {
 14177      "description": "CreatePullRequestOption options when creating a pull request",
 14178      "type": "object",
 14179      "properties": {
 14180        "assignee": {
 14181          "type": "string",
 14182          "x-go-name": "Assignee"
 14183        },
 14184        "assignees": {
 14185          "type": "array",
 14186          "items": {
 14187            "type": "string"
 14188          },
 14189          "x-go-name": "Assignees"
 14190        },
 14191        "base": {
 14192          "type": "string",
 14193          "x-go-name": "Base"
 14194        },
 14195        "body": {
 14196          "type": "string",
 14197          "x-go-name": "Body"
 14198        },
 14199        "due_date": {
 14200          "type": "string",
 14201          "format": "date-time",
 14202          "x-go-name": "Deadline"
 14203        },
 14204        "head": {
 14205          "type": "string",
 14206          "x-go-name": "Head"
 14207        },
 14208        "labels": {
 14209          "type": "array",
 14210          "items": {
 14211            "type": "integer",
 14212            "format": "int64"
 14213          },
 14214          "x-go-name": "Labels"
 14215        },
 14216        "milestone": {
 14217          "type": "integer",
 14218          "format": "int64",
 14219          "x-go-name": "Milestone"
 14220        },
 14221        "title": {
 14222          "type": "string",
 14223          "x-go-name": "Title"
 14224        }
 14225      },
 14226      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14227    },
 14228    "CreateReleaseOption": {
 14229      "description": "CreateReleaseOption options when creating a release",
 14230      "type": "object",
 14231      "required": [
 14232        "tag_name"
 14233      ],
 14234      "properties": {
 14235        "body": {
 14236          "type": "string",
 14237          "x-go-name": "Note"
 14238        },
 14239        "draft": {
 14240          "type": "boolean",
 14241          "x-go-name": "IsDraft"
 14242        },
 14243        "name": {
 14244          "type": "string",
 14245          "x-go-name": "Title"
 14246        },
 14247        "prerelease": {
 14248          "type": "boolean",
 14249          "x-go-name": "IsPrerelease"
 14250        },
 14251        "tag_name": {
 14252          "type": "string",
 14253          "x-go-name": "TagName"
 14254        },
 14255        "target_commitish": {
 14256          "type": "string",
 14257          "x-go-name": "Target"
 14258        }
 14259      },
 14260      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14261    },
 14262    "CreateRepoOption": {
 14263      "description": "CreateRepoOption options when creating repository",
 14264      "type": "object",
 14265      "required": [
 14266        "name"
 14267      ],
 14268      "properties": {
 14269        "auto_init": {
 14270          "description": "Whether the repository should be auto-intialized?",
 14271          "type": "boolean",
 14272          "x-go-name": "AutoInit"
 14273        },
 14274        "description": {
 14275          "description": "Description of the repository to create",
 14276          "type": "string",
 14277          "x-go-name": "Description"
 14278        },
 14279        "gitignores": {
 14280          "description": "Gitignores to use",
 14281          "type": "string",
 14282          "x-go-name": "Gitignores"
 14283        },
 14284        "license": {
 14285          "description": "License to use",
 14286          "type": "string",
 14287          "x-go-name": "License"
 14288        },
 14289        "name": {
 14290          "description": "Name of the repository to create",
 14291          "type": "string",
 14292          "uniqueItems": true,
 14293          "x-go-name": "Name"
 14294        },
 14295        "private": {
 14296          "description": "Whether the repository is private",
 14297          "type": "boolean",
 14298          "x-go-name": "Private"
 14299        },
 14300        "readme": {
 14301          "description": "Readme of the repository to create",
 14302          "type": "string",
 14303          "x-go-name": "Readme"
 14304        }
 14305      },
 14306      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14307    },
 14308    "CreateStatusOption": {
 14309      "description": "CreateStatusOption holds the information needed to create a new Status for a Commit",
 14310      "type": "object",
 14311      "properties": {
 14312        "context": {
 14313          "type": "string",
 14314          "x-go-name": "Context"
 14315        },
 14316        "description": {
 14317          "type": "string",
 14318          "x-go-name": "Description"
 14319        },
 14320        "state": {
 14321          "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 14322          "type": "string",
 14323          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14324        },
 14325        "target_url": {
 14326          "type": "string",
 14327          "x-go-name": "TargetURL"
 14328        }
 14329      },
 14330      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14331    },
 14332    "CreateTeamOption": {
 14333      "description": "CreateTeamOption options for creating a team",
 14334      "type": "object",
 14335      "required": [
 14336        "name"
 14337      ],
 14338      "properties": {
 14339        "description": {
 14340          "type": "string",
 14341          "x-go-name": "Description"
 14342        },
 14343        "name": {
 14344          "type": "string",
 14345          "x-go-name": "Name"
 14346        },
 14347        "permission": {
 14348          "type": "string",
 14349          "enum": [
 14350            "read",
 14351            "write",
 14352            "admin"
 14353          ],
 14354          "x-go-name": "Permission"
 14355        }
 14356      },
 14357      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14358    },
 14359    "CreateUserOption": {
 14360      "description": "CreateUserOption create user options",
 14361      "type": "object",
 14362      "required": [
 14363        "username",
 14364        "email",
 14365        "password"
 14366      ],
 14367      "properties": {
 14368        "email": {
 14369          "type": "string",
 14370          "format": "email",
 14371          "x-go-name": "Email"
 14372        },
 14373        "full_name": {
 14374          "type": "string",
 14375          "x-go-name": "FullName"
 14376        },
 14377        "login_name": {
 14378          "type": "string",
 14379          "x-go-name": "LoginName"
 14380        },
 14381        "password": {
 14382          "type": "string",
 14383          "x-go-name": "Password"
 14384        },
 14385        "send_notify": {
 14386          "type": "boolean",
 14387          "x-go-name": "SendNotify"
 14388        },
 14389        "source_id": {
 14390          "type": "integer",
 14391          "format": "int64",
 14392          "x-go-name": "SourceID"
 14393        },
 14394        "username": {
 14395          "type": "string",
 14396          "x-go-name": "Username"
 14397        }
 14398      },
 14399      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14400    },
 14401    "DeleteEmailOption": {
 14402      "description": "DeleteEmailOption options when deleting email addresses",
 14403      "type": "object",
 14404      "properties": {
 14405        "emails": {
 14406          "description": "email addresses to delete",
 14407          "type": "array",
 14408          "items": {
 14409            "type": "string"
 14410          },
 14411          "x-go-name": "Emails"
 14412        }
 14413      },
 14414      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14415    },
 14416    "DeployKey": {
 14417      "description": "DeployKey a deploy key",
 14418      "type": "object",
 14419      "properties": {
 14420        "created_at": {
 14421          "type": "string",
 14422          "format": "date-time",
 14423          "x-go-name": "Created"
 14424        },
 14425        "id": {
 14426          "type": "integer",
 14427          "format": "int64",
 14428          "x-go-name": "ID"
 14429        },
 14430        "key": {
 14431          "type": "string",
 14432          "x-go-name": "Key"
 14433        },
 14434        "read_only": {
 14435          "type": "boolean",
 14436          "x-go-name": "ReadOnly"
 14437        },
 14438        "title": {
 14439          "type": "string",
 14440          "x-go-name": "Title"
 14441        },
 14442        "url": {
 14443          "type": "string",
 14444          "x-go-name": "URL"
 14445        }
 14446      },
 14447      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14448    },
 14449    "EditAttachmentOptions": {
 14450      "description": "EditAttachmentOptions options for editing attachments",
 14451      "type": "object",
 14452      "properties": {
 14453        "name": {
 14454          "type": "string",
 14455          "x-go-name": "Name"
 14456        }
 14457      },
 14458      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14459    },
 14460    "EditHookOption": {
 14461      "description": "EditHookOption options when modify one hook",
 14462      "type": "object",
 14463      "properties": {
 14464        "active": {
 14465          "type": "boolean",
 14466          "x-go-name": "Active"
 14467        },
 14468        "config": {
 14469          "type": "object",
 14470          "additionalProperties": {
 14471            "type": "string"
 14472          },
 14473          "x-go-name": "Config"
 14474        },
 14475        "events": {
 14476          "type": "array",
 14477          "items": {
 14478            "type": "string"
 14479          },
 14480          "x-go-name": "Events"
 14481        }
 14482      },
 14483      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14484    },
 14485    "EditIssueCommentOption": {
 14486      "description": "EditIssueCommentOption options for editing a comment",
 14487      "type": "object",
 14488      "required": [
 14489        "body"
 14490      ],
 14491      "properties": {
 14492        "body": {
 14493          "type": "string",
 14494          "x-go-name": "Body"
 14495        }
 14496      },
 14497      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14498    },
 14499    "EditIssueOption": {
 14500      "description": "EditIssueOption options for editing an issue",
 14501      "type": "object",
 14502      "properties": {
 14503        "assignee": {
 14504          "type": "string",
 14505          "x-go-name": "Assignee"
 14506        },
 14507        "assignees": {
 14508          "type": "array",
 14509          "items": {
 14510            "type": "string"
 14511          },
 14512          "x-go-name": "Assignees"
 14513        },
 14514        "body": {
 14515          "type": "string",
 14516          "x-go-name": "Body"
 14517        },
 14518        "due_date": {
 14519          "type": "string",
 14520          "format": "date-time",
 14521          "x-go-name": "Deadline"
 14522        },
 14523        "milestone": {
 14524          "type": "integer",
 14525          "format": "int64",
 14526          "x-go-name": "Milestone"
 14527        },
 14528        "state": {
 14529          "type": "string",
 14530          "x-go-name": "State"
 14531        },
 14532        "title": {
 14533          "type": "string",
 14534          "x-go-name": "Title"
 14535        }
 14536      },
 14537      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14538    },
 14539    "EditLabelOption": {
 14540      "description": "EditLabelOption options for editing a label",
 14541      "type": "object",
 14542      "properties": {
 14543        "color": {
 14544          "type": "string",
 14545          "x-go-name": "Color"
 14546        },
 14547        "name": {
 14548          "type": "string",
 14549          "x-go-name": "Name"
 14550        }
 14551      },
 14552      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14553    },
 14554    "EditMilestoneOption": {
 14555      "description": "EditMilestoneOption options for editing a milestone",
 14556      "type": "object",
 14557      "properties": {
 14558        "description": {
 14559          "type": "string",
 14560          "x-go-name": "Description"
 14561        },
 14562        "due_on": {
 14563          "type": "string",
 14564          "format": "date-time",
 14565          "x-go-name": "Deadline"
 14566        },
 14567        "state": {
 14568          "type": "string",
 14569          "x-go-name": "State"
 14570        },
 14571        "title": {
 14572          "type": "string",
 14573          "x-go-name": "Title"
 14574        }
 14575      },
 14576      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14577    },
 14578    "EditOrgOption": {
 14579      "description": "EditOrgOption options for editing an organization",
 14580      "type": "object",
 14581      "properties": {
 14582        "description": {
 14583          "type": "string",
 14584          "x-go-name": "Description"
 14585        },
 14586        "full_name": {
 14587          "type": "string",
 14588          "x-go-name": "FullName"
 14589        },
 14590        "location": {
 14591          "type": "string",
 14592          "x-go-name": "Location"
 14593        },
 14594        "website": {
 14595          "type": "string",
 14596          "x-go-name": "Website"
 14597        }
 14598      },
 14599      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14600    },
 14601    "EditPullRequestOption": {
 14602      "description": "EditPullRequestOption options when modify pull request",
 14603      "type": "object",
 14604      "properties": {
 14605        "assignee": {
 14606          "type": "string",
 14607          "x-go-name": "Assignee"
 14608        },
 14609        "assignees": {
 14610          "type": "array",
 14611          "items": {
 14612            "type": "string"
 14613          },
 14614          "x-go-name": "Assignees"
 14615        },
 14616        "body": {
 14617          "type": "string",
 14618          "x-go-name": "Body"
 14619        },
 14620        "due_date": {
 14621          "type": "string",
 14622          "format": "date-time",
 14623          "x-go-name": "Deadline"
 14624        },
 14625        "labels": {
 14626          "type": "array",
 14627          "items": {
 14628            "type": "integer",
 14629            "format": "int64"
 14630          },
 14631          "x-go-name": "Labels"
 14632        },
 14633        "milestone": {
 14634          "type": "integer",
 14635          "format": "int64",
 14636          "x-go-name": "Milestone"
 14637        },
 14638        "state": {
 14639          "type": "string",
 14640          "x-go-name": "State"
 14641        },
 14642        "title": {
 14643          "type": "string",
 14644          "x-go-name": "Title"
 14645        }
 14646      },
 14647      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14648    },
 14649    "EditReleaseOption": {
 14650      "description": "EditReleaseOption options when editing a release",
 14651      "type": "object",
 14652      "properties": {
 14653        "body": {
 14654          "type": "string",
 14655          "x-go-name": "Note"
 14656        },
 14657        "draft": {
 14658          "type": "boolean",
 14659          "x-go-name": "IsDraft"
 14660        },
 14661        "name": {
 14662          "type": "string",
 14663          "x-go-name": "Title"
 14664        },
 14665        "prerelease": {
 14666          "type": "boolean",
 14667          "x-go-name": "IsPrerelease"
 14668        },
 14669        "tag_name": {
 14670          "type": "string",
 14671          "x-go-name": "TagName"
 14672        },
 14673        "target_commitish": {
 14674          "type": "string",
 14675          "x-go-name": "Target"
 14676        }
 14677      },
 14678      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14679    },
 14680    "EditTeamOption": {
 14681      "description": "EditTeamOption options for editing a team",
 14682      "type": "object",
 14683      "required": [
 14684        "name"
 14685      ],
 14686      "properties": {
 14687        "description": {
 14688          "type": "string",
 14689          "x-go-name": "Description"
 14690        },
 14691        "name": {
 14692          "type": "string",
 14693          "x-go-name": "Name"
 14694        },
 14695        "permission": {
 14696          "type": "string",
 14697          "enum": [
 14698            "read",
 14699            "write",
 14700            "admin"
 14701          ],
 14702          "x-go-name": "Permission"
 14703        }
 14704      },
 14705      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14706    },
 14707    "EditUserOption": {
 14708      "description": "EditUserOption edit user options",
 14709      "type": "object",
 14710      "required": [
 14711        "email"
 14712      ],
 14713      "properties": {
 14714        "active": {
 14715          "type": "boolean",
 14716          "x-go-name": "Active"
 14717        },
 14718        "admin": {
 14719          "type": "boolean",
 14720          "x-go-name": "Admin"
 14721        },
 14722        "allow_git_hook": {
 14723          "type": "boolean",
 14724          "x-go-name": "AllowGitHook"
 14725        },
 14726        "allow_import_local": {
 14727          "type": "boolean",
 14728          "x-go-name": "AllowImportLocal"
 14729        },
 14730        "email": {
 14731          "type": "string",
 14732          "format": "email",
 14733          "x-go-name": "Email"
 14734        },
 14735        "full_name": {
 14736          "type": "string",
 14737          "x-go-name": "FullName"
 14738        },
 14739        "location": {
 14740          "type": "string",
 14741          "x-go-name": "Location"
 14742        },
 14743        "login_name": {
 14744          "type": "string",
 14745          "x-go-name": "LoginName"
 14746        },
 14747        "max_repo_creation": {
 14748          "type": "integer",
 14749          "format": "int64",
 14750          "x-go-name": "MaxRepoCreation"
 14751        },
 14752        "password": {
 14753          "type": "string",
 14754          "x-go-name": "Password"
 14755        },
 14756        "source_id": {
 14757          "type": "integer",
 14758          "format": "int64",
 14759          "x-go-name": "SourceID"
 14760        },
 14761        "website": {
 14762          "type": "string",
 14763          "x-go-name": "Website"
 14764        }
 14765      },
 14766      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14767    },
 14768    "Email": {
 14769      "description": "Email an email address belonging to a user",
 14770      "type": "object",
 14771      "properties": {
 14772        "email": {
 14773          "type": "string",
 14774          "format": "email",
 14775          "x-go-name": "Email"
 14776        },
 14777        "primary": {
 14778          "type": "boolean",
 14779          "x-go-name": "Primary"
 14780        },
 14781        "verified": {
 14782          "type": "boolean",
 14783          "x-go-name": "Verified"
 14784        }
 14785      },
 14786      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14787    },
 14788    "GPGKey": {
 14789      "description": "GPGKey a user GPG key to sign commit and tag in repository",
 14790      "type": "object",
 14791      "properties": {
 14792        "can_certify": {
 14793          "type": "boolean",
 14794          "x-go-name": "CanCertify"
 14795        },
 14796        "can_encrypt_comms": {
 14797          "type": "boolean",
 14798          "x-go-name": "CanEncryptComms"
 14799        },
 14800        "can_encrypt_storage": {
 14801          "type": "boolean",
 14802          "x-go-name": "CanEncryptStorage"
 14803        },
 14804        "can_sign": {
 14805          "type": "boolean",
 14806          "x-go-name": "CanSign"
 14807        },
 14808        "created_at": {
 14809          "type": "string",
 14810          "format": "date-time",
 14811          "x-go-name": "Created"
 14812        },
 14813        "emails": {
 14814          "type": "array",
 14815          "items": {
 14816            "description": "GPGKeyEmail an email attached to a GPGKey",
 14817            "type": "object",
 14818            "properties": {
 14819              "email": {
 14820                "type": "string",
 14821                "x-go-name": "Email"
 14822              },
 14823              "verified": {
 14824                "type": "boolean",
 14825                "x-go-name": "Verified"
 14826              }
 14827            },
 14828            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14829          },
 14830          "x-go-name": "Emails"
 14831        },
 14832        "expires_at": {
 14833          "type": "string",
 14834          "format": "date-time",
 14835          "x-go-name": "Expires"
 14836        },
 14837        "id": {
 14838          "type": "integer",
 14839          "format": "int64",
 14840          "x-go-name": "ID"
 14841        },
 14842        "key_id": {
 14843          "type": "string",
 14844          "x-go-name": "KeyID"
 14845        },
 14846        "primary_key_id": {
 14847          "type": "string",
 14848          "x-go-name": "PrimaryKeyID"
 14849        },
 14850        "public_key": {
 14851          "type": "string",
 14852          "x-go-name": "PublicKey"
 14853        },
 14854        "subkeys": {
 14855          "type": "array",
 14856          "items": {
 14857            "description": "GPGKey a user GPG key to sign commit and tag in repository",
 14858            "type": "object",
 14859            "properties": {
 14860              "can_certify": {
 14861                "type": "boolean",
 14862                "x-go-name": "CanCertify"
 14863              },
 14864              "can_encrypt_comms": {
 14865                "type": "boolean",
 14866                "x-go-name": "CanEncryptComms"
 14867              },
 14868              "can_encrypt_storage": {
 14869                "type": "boolean",
 14870                "x-go-name": "CanEncryptStorage"
 14871              },
 14872              "can_sign": {
 14873                "type": "boolean",
 14874                "x-go-name": "CanSign"
 14875              },
 14876              "created_at": {
 14877                "type": "string",
 14878                "format": "date-time",
 14879                "x-go-name": "Created"
 14880              },
 14881              "emails": {
 14882                "type": "array",
 14883                "items": {
 14884                  "description": "GPGKeyEmail an email attached to a GPGKey",
 14885                  "type": "object",
 14886                  "properties": {
 14887                    "email": {
 14888                      "type": "string",
 14889                      "x-go-name": "Email"
 14890                    },
 14891                    "verified": {
 14892                      "type": "boolean",
 14893                      "x-go-name": "Verified"
 14894                    }
 14895                  },
 14896                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14897                },
 14898                "x-go-name": "Emails"
 14899              },
 14900              "expires_at": {
 14901                "type": "string",
 14902                "format": "date-time",
 14903                "x-go-name": "Expires"
 14904              },
 14905              "id": {
 14906                "type": "integer",
 14907                "format": "int64",
 14908                "x-go-name": "ID"
 14909              },
 14910              "key_id": {
 14911                "type": "string",
 14912                "x-go-name": "KeyID"
 14913              },
 14914              "primary_key_id": {
 14915                "type": "string",
 14916                "x-go-name": "PrimaryKeyID"
 14917              },
 14918              "public_key": {
 14919                "type": "string",
 14920                "x-go-name": "PublicKey"
 14921              },
 14922              "subkeys": {
 14923                "type": "array",
 14924                "items": {
 14925                  "$ref": "#/definitions/GPGKey"
 14926                },
 14927                "x-go-name": "SubsKey"
 14928              }
 14929            },
 14930            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14931          },
 14932          "x-go-name": "SubsKey"
 14933        }
 14934      },
 14935      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14936    },
 14937    "GPGKeyEmail": {
 14938      "description": "GPGKeyEmail an email attached to a GPGKey",
 14939      "type": "object",
 14940      "properties": {
 14941        "email": {
 14942          "type": "string",
 14943          "x-go-name": "Email"
 14944        },
 14945        "verified": {
 14946          "type": "boolean",
 14947          "x-go-name": "Verified"
 14948        }
 14949      },
 14950      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14951    },
 14952    "Issue": {
 14953      "description": "Issue represents an issue in a repository",
 14954      "type": "object",
 14955      "properties": {
 14956        "assignee": {
 14957          "description": "User represents a user",
 14958          "type": "object",
 14959          "properties": {
 14960            "avatar_url": {
 14961              "description": "URL to the user's avatar",
 14962              "type": "string",
 14963              "x-go-name": "AvatarURL"
 14964            },
 14965            "email": {
 14966              "type": "string",
 14967              "format": "email",
 14968              "x-go-name": "Email"
 14969            },
 14970            "full_name": {
 14971              "description": "the user's full name",
 14972              "type": "string",
 14973              "x-go-name": "FullName"
 14974            },
 14975            "id": {
 14976              "description": "the user's id",
 14977              "type": "integer",
 14978              "format": "int64",
 14979              "x-go-name": "ID"
 14980            },
 14981            "language": {
 14982              "description": "User locale",
 14983              "type": "string",
 14984              "x-go-name": "Language"
 14985            },
 14986            "login": {
 14987              "description": "the user's username",
 14988              "type": "string",
 14989              "x-go-name": "UserName"
 14990            }
 14991          },
 14992          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 14993        },
 14994        "assignees": {
 14995          "type": "array",
 14996          "items": {
 14997            "description": "User represents a user",
 14998            "type": "object",
 14999            "properties": {
 15000              "avatar_url": {
 15001                "description": "URL to the user's avatar",
 15002                "type": "string",
 15003                "x-go-name": "AvatarURL"
 15004              },
 15005              "email": {
 15006                "type": "string",
 15007                "format": "email",
 15008                "x-go-name": "Email"
 15009              },
 15010              "full_name": {
 15011                "description": "the user's full name",
 15012                "type": "string",
 15013                "x-go-name": "FullName"
 15014              },
 15015              "id": {
 15016                "description": "the user's id",
 15017                "type": "integer",
 15018                "format": "int64",
 15019                "x-go-name": "ID"
 15020              },
 15021              "language": {
 15022                "description": "User locale",
 15023                "type": "string",
 15024                "x-go-name": "Language"
 15025              },
 15026              "login": {
 15027                "description": "the user's username",
 15028                "type": "string",
 15029                "x-go-name": "UserName"
 15030              }
 15031            },
 15032            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15033          },
 15034          "x-go-name": "Assignees"
 15035        },
 15036        "body": {
 15037          "type": "string",
 15038          "x-go-name": "Body"
 15039        },
 15040        "closed_at": {
 15041          "type": "string",
 15042          "format": "date-time",
 15043          "x-go-name": "Closed"
 15044        },
 15045        "comments": {
 15046          "type": "integer",
 15047          "format": "int64",
 15048          "x-go-name": "Comments"
 15049        },
 15050        "created_at": {
 15051          "type": "string",
 15052          "format": "date-time",
 15053          "x-go-name": "Created"
 15054        },
 15055        "due_date": {
 15056          "type": "string",
 15057          "format": "date-time",
 15058          "x-go-name": "Deadline"
 15059        },
 15060        "id": {
 15061          "type": "integer",
 15062          "format": "int64",
 15063          "x-go-name": "ID"
 15064        },
 15065        "labels": {
 15066          "type": "array",
 15067          "items": {
 15068            "description": "Label a label to an issue or a pr",
 15069            "type": "object",
 15070            "properties": {
 15071              "color": {
 15072                "type": "string",
 15073                "x-go-name": "Color",
 15074                "example": "00aabb"
 15075              },
 15076              "id": {
 15077                "type": "integer",
 15078                "format": "int64",
 15079                "x-go-name": "ID"
 15080              },
 15081              "name": {
 15082                "type": "string",
 15083                "x-go-name": "Name"
 15084              },
 15085              "url": {
 15086                "type": "string",
 15087                "x-go-name": "URL"
 15088              }
 15089            },
 15090            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15091          },
 15092          "x-go-name": "Labels"
 15093        },
 15094        "milestone": {
 15095          "description": "Milestone milestone is a collection of issues on one repository",
 15096          "type": "object",
 15097          "properties": {
 15098            "closed_at": {
 15099              "type": "string",
 15100              "format": "date-time",
 15101              "x-go-name": "Closed"
 15102            },
 15103            "closed_issues": {
 15104              "type": "integer",
 15105              "format": "int64",
 15106              "x-go-name": "ClosedIssues"
 15107            },
 15108            "description": {
 15109              "type": "string",
 15110              "x-go-name": "Description"
 15111            },
 15112            "due_on": {
 15113              "type": "string",
 15114              "format": "date-time",
 15115              "x-go-name": "Deadline"
 15116            },
 15117            "id": {
 15118              "type": "integer",
 15119              "format": "int64",
 15120              "x-go-name": "ID"
 15121            },
 15122            "open_issues": {
 15123              "type": "integer",
 15124              "format": "int64",
 15125              "x-go-name": "OpenIssues"
 15126            },
 15127            "state": {
 15128              "description": "StateType issue state type",
 15129              "type": "string",
 15130              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15131            },
 15132            "title": {
 15133              "type": "string",
 15134              "x-go-name": "Title"
 15135            }
 15136          },
 15137          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15138        },
 15139        "number": {
 15140          "type": "integer",
 15141          "format": "int64",
 15142          "x-go-name": "Index"
 15143        },
 15144        "pull_request": {
 15145          "description": "PullRequestMeta PR info if an issue is a PR",
 15146          "type": "object",
 15147          "properties": {
 15148            "merged": {
 15149              "type": "boolean",
 15150              "x-go-name": "HasMerged"
 15151            },
 15152            "merged_at": {
 15153              "type": "string",
 15154              "format": "date-time",
 15155              "x-go-name": "Merged"
 15156            }
 15157          },
 15158          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15159        },
 15160        "state": {
 15161          "description": "StateType issue state type",
 15162          "type": "string",
 15163          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15164        },
 15165        "title": {
 15166          "type": "string",
 15167          "x-go-name": "Title"
 15168        },
 15169        "updated_at": {
 15170          "type": "string",
 15171          "format": "date-time",
 15172          "x-go-name": "Updated"
 15173        },
 15174        "url": {
 15175          "type": "string",
 15176          "x-go-name": "URL"
 15177        },
 15178        "user": {
 15179          "description": "User represents a user",
 15180          "type": "object",
 15181          "properties": {
 15182            "avatar_url": {
 15183              "description": "URL to the user's avatar",
 15184              "type": "string",
 15185              "x-go-name": "AvatarURL"
 15186            },
 15187            "email": {
 15188              "type": "string",
 15189              "format": "email",
 15190              "x-go-name": "Email"
 15191            },
 15192            "full_name": {
 15193              "description": "the user's full name",
 15194              "type": "string",
 15195              "x-go-name": "FullName"
 15196            },
 15197            "id": {
 15198              "description": "the user's id",
 15199              "type": "integer",
 15200              "format": "int64",
 15201              "x-go-name": "ID"
 15202            },
 15203            "language": {
 15204              "description": "User locale",
 15205              "type": "string",
 15206              "x-go-name": "Language"
 15207            },
 15208            "login": {
 15209              "description": "the user's username",
 15210              "type": "string",
 15211              "x-go-name": "UserName"
 15212            }
 15213          },
 15214          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15215        }
 15216      },
 15217      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15218    },
 15219    "IssueLabelsOption": {
 15220      "description": "IssueLabelsOption a collection of labels",
 15221      "type": "object",
 15222      "properties": {
 15223        "labels": {
 15224          "description": "list of label IDs",
 15225          "type": "array",
 15226          "items": {
 15227            "type": "integer",
 15228            "format": "int64"
 15229          },
 15230          "x-go-name": "Labels"
 15231        }
 15232      },
 15233      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15234    },
 15235    "Label": {
 15236      "description": "Label a label to an issue or a pr",
 15237      "type": "object",
 15238      "properties": {
 15239        "color": {
 15240          "type": "string",
 15241          "x-go-name": "Color",
 15242          "example": "00aabb"
 15243        },
 15244        "id": {
 15245          "type": "integer",
 15246          "format": "int64",
 15247          "x-go-name": "ID"
 15248        },
 15249        "name": {
 15250          "type": "string",
 15251          "x-go-name": "Name"
 15252        },
 15253        "url": {
 15254          "type": "string",
 15255          "x-go-name": "URL"
 15256        }
 15257      },
 15258      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15259    },
 15260    "MarkdownOption": {
 15261      "description": "MarkdownOption markdown options",
 15262      "type": "object",
 15263      "properties": {
 15264        "Context": {
 15265          "description": "Context to render\n\nin: body",
 15266          "type": "string"
 15267        },
 15268        "Mode": {
 15269          "description": "Mode to render\n\nin: body",
 15270          "type": "string"
 15271        },
 15272        "Text": {
 15273          "description": "Text markdown to render\n\nin: body",
 15274          "type": "string"
 15275        },
 15276        "Wiki": {
 15277          "description": "Is it a wiki page ?\n\nin: body",
 15278          "type": "boolean"
 15279        }
 15280      },
 15281      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15282    },
 15283    "MigrateRepoForm": {
 15284      "description": "MigrateRepoForm form for migrating repository",
 15285      "type": "object",
 15286      "required": [
 15287        "clone_addr",
 15288        "uid",
 15289        "repo_name"
 15290      ],
 15291      "properties": {
 15292        "auth_password": {
 15293          "type": "string",
 15294          "x-go-name": "AuthPassword"
 15295        },
 15296        "auth_username": {
 15297          "type": "string",
 15298          "x-go-name": "AuthUsername"
 15299        },
 15300        "clone_addr": {
 15301          "type": "string",
 15302          "x-go-name": "CloneAddr"
 15303        },
 15304        "description": {
 15305          "type": "string",
 15306          "x-go-name": "Description"
 15307        },
 15308        "mirror": {
 15309          "type": "boolean",
 15310          "x-go-name": "Mirror"
 15311        },
 15312        "private": {
 15313          "type": "boolean",
 15314          "x-go-name": "Private"
 15315        },
 15316        "repo_name": {
 15317          "type": "string",
 15318          "x-go-name": "RepoName"
 15319        },
 15320        "uid": {
 15321          "type": "integer",
 15322          "format": "int64",
 15323          "x-go-name": "UID"
 15324        }
 15325      },
 15326      "x-go-package": "code.gitea.io/gitea/modules/auth"
 15327    },
 15328    "Milestone": {
 15329      "description": "Milestone milestone is a collection of issues on one repository",
 15330      "type": "object",
 15331      "properties": {
 15332        "closed_at": {
 15333          "type": "string",
 15334          "format": "date-time",
 15335          "x-go-name": "Closed"
 15336        },
 15337        "closed_issues": {
 15338          "type": "integer",
 15339          "format": "int64",
 15340          "x-go-name": "ClosedIssues"
 15341        },
 15342        "description": {
 15343          "type": "string",
 15344          "x-go-name": "Description"
 15345        },
 15346        "due_on": {
 15347          "type": "string",
 15348          "format": "date-time",
 15349          "x-go-name": "Deadline"
 15350        },
 15351        "id": {
 15352          "type": "integer",
 15353          "format": "int64",
 15354          "x-go-name": "ID"
 15355        },
 15356        "open_issues": {
 15357          "type": "integer",
 15358          "format": "int64",
 15359          "x-go-name": "OpenIssues"
 15360        },
 15361        "state": {
 15362          "description": "StateType issue state type",
 15363          "type": "string",
 15364          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15365        },
 15366        "title": {
 15367          "type": "string",
 15368          "x-go-name": "Title"
 15369        }
 15370      },
 15371      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15372    },
 15373    "Organization": {
 15374      "description": "Organization represents an organization",
 15375      "type": "object",
 15376      "properties": {
 15377        "avatar_url": {
 15378          "type": "string",
 15379          "x-go-name": "AvatarURL"
 15380        },
 15381        "description": {
 15382          "type": "string",
 15383          "x-go-name": "Description"
 15384        },
 15385        "full_name": {
 15386          "type": "string",
 15387          "x-go-name": "FullName"
 15388        },
 15389        "id": {
 15390          "type": "integer",
 15391          "format": "int64",
 15392          "x-go-name": "ID"
 15393        },
 15394        "location": {
 15395          "type": "string",
 15396          "x-go-name": "Location"
 15397        },
 15398        "username": {
 15399          "type": "string",
 15400          "x-go-name": "UserName"
 15401        },
 15402        "website": {
 15403          "type": "string",
 15404          "x-go-name": "Website"
 15405        }
 15406      },
 15407      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15408    },
 15409    "PRBranchInfo": {
 15410      "description": "PRBranchInfo information about a branch",
 15411      "type": "object",
 15412      "properties": {
 15413        "label": {
 15414          "type": "string",
 15415          "x-go-name": "Name"
 15416        },
 15417        "ref": {
 15418          "type": "string",
 15419          "x-go-name": "Ref"
 15420        },
 15421        "repo": {
 15422          "$ref": "#/definitions/Repository"
 15423        },
 15424        "repo_id": {
 15425          "type": "integer",
 15426          "format": "int64",
 15427          "x-go-name": "RepoID"
 15428        },
 15429        "sha": {
 15430          "type": "string",
 15431          "x-go-name": "Sha"
 15432        }
 15433      },
 15434      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15435    },
 15436    "PayloadCommit": {
 15437      "description": "PayloadCommit represents a commit",
 15438      "type": "object",
 15439      "properties": {
 15440        "author": {
 15441          "description": "PayloadUser represents the author or committer of a commit",
 15442          "type": "object",
 15443          "properties": {
 15444            "email": {
 15445              "type": "string",
 15446              "format": "email",
 15447              "x-go-name": "Email"
 15448            },
 15449            "name": {
 15450              "description": "Full name of the commit author",
 15451              "type": "string",
 15452              "x-go-name": "Name"
 15453            },
 15454            "username": {
 15455              "type": "string",
 15456              "x-go-name": "UserName"
 15457            }
 15458          },
 15459          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15460        },
 15461        "committer": {
 15462          "description": "PayloadUser represents the author or committer of a commit",
 15463          "type": "object",
 15464          "properties": {
 15465            "email": {
 15466              "type": "string",
 15467              "format": "email",
 15468              "x-go-name": "Email"
 15469            },
 15470            "name": {
 15471              "description": "Full name of the commit author",
 15472              "type": "string",
 15473              "x-go-name": "Name"
 15474            },
 15475            "username": {
 15476              "type": "string",
 15477              "x-go-name": "UserName"
 15478            }
 15479          },
 15480          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15481        },
 15482        "id": {
 15483          "description": "sha1 hash of the commit",
 15484          "type": "string",
 15485          "x-go-name": "ID"
 15486        },
 15487        "message": {
 15488          "type": "string",
 15489          "x-go-name": "Message"
 15490        },
 15491        "timestamp": {
 15492          "type": "string",
 15493          "format": "date-time",
 15494          "x-go-name": "Timestamp"
 15495        },
 15496        "url": {
 15497          "type": "string",
 15498          "x-go-name": "URL"
 15499        },
 15500        "verification": {
 15501          "description": "PayloadCommitVerification represents the GPG verification of a commit",
 15502          "type": "object",
 15503          "properties": {
 15504            "payload": {
 15505              "type": "string",
 15506              "x-go-name": "Payload"
 15507            },
 15508            "reason": {
 15509              "type": "string",
 15510              "x-go-name": "Reason"
 15511            },
 15512            "signature": {
 15513              "type": "string",
 15514              "x-go-name": "Signature"
 15515            },
 15516            "verified": {
 15517              "type": "boolean",
 15518              "x-go-name": "Verified"
 15519            }
 15520          },
 15521          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15522        }
 15523      },
 15524      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15525    },
 15526    "PayloadCommitVerification": {
 15527      "description": "PayloadCommitVerification represents the GPG verification of a commit",
 15528      "type": "object",
 15529      "properties": {
 15530        "payload": {
 15531          "type": "string",
 15532          "x-go-name": "Payload"
 15533        },
 15534        "reason": {
 15535          "type": "string",
 15536          "x-go-name": "Reason"
 15537        },
 15538        "signature": {
 15539          "type": "string",
 15540          "x-go-name": "Signature"
 15541        },
 15542        "verified": {
 15543          "type": "boolean",
 15544          "x-go-name": "Verified"
 15545        }
 15546      },
 15547      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15548    },
 15549    "PayloadUser": {
 15550      "description": "PayloadUser represents the author or committer of a commit",
 15551      "type": "object",
 15552      "properties": {
 15553        "email": {
 15554          "type": "string",
 15555          "format": "email",
 15556          "x-go-name": "Email"
 15557        },
 15558        "name": {
 15559          "description": "Full name of the commit author",
 15560          "type": "string",
 15561          "x-go-name": "Name"
 15562        },
 15563        "username": {
 15564          "type": "string",
 15565          "x-go-name": "UserName"
 15566        }
 15567      },
 15568      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15569    },
 15570    "Permission": {
 15571      "description": "Permission represents a set of permissions",
 15572      "type": "object",
 15573      "properties": {
 15574        "admin": {
 15575          "type": "boolean",
 15576          "x-go-name": "Admin"
 15577        },
 15578        "pull": {
 15579          "type": "boolean",
 15580          "x-go-name": "Pull"
 15581        },
 15582        "push": {
 15583          "type": "boolean",
 15584          "x-go-name": "Push"
 15585        }
 15586      },
 15587      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15588    },
 15589    "PublicKey": {
 15590      "description": "PublicKey publickey is a user key to push code to repository",
 15591      "type": "object",
 15592      "properties": {
 15593        "created_at": {
 15594          "type": "string",
 15595          "format": "date-time",
 15596          "x-go-name": "Created"
 15597        },
 15598        "fingerprint": {
 15599          "type": "string",
 15600          "x-go-name": "Fingerprint"
 15601        },
 15602        "id": {
 15603          "type": "integer",
 15604          "format": "int64",
 15605          "x-go-name": "ID"
 15606        },
 15607        "key": {
 15608          "type": "string",
 15609          "x-go-name": "Key"
 15610        },
 15611        "title": {
 15612          "type": "string",
 15613          "x-go-name": "Title"
 15614        },
 15615        "url": {
 15616          "type": "string",
 15617          "x-go-name": "URL"
 15618        }
 15619      },
 15620      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15621    },
 15622    "PullRequest": {
 15623      "description": "PullRequest represents a pull request",
 15624      "type": "object",
 15625      "properties": {
 15626        "assignee": {
 15627          "description": "User represents a user",
 15628          "type": "object",
 15629          "properties": {
 15630            "avatar_url": {
 15631              "description": "URL to the user's avatar",
 15632              "type": "string",
 15633              "x-go-name": "AvatarURL"
 15634            },
 15635            "email": {
 15636              "type": "string",
 15637              "format": "email",
 15638              "x-go-name": "Email"
 15639            },
 15640            "full_name": {
 15641              "description": "the user's full name",
 15642              "type": "string",
 15643              "x-go-name": "FullName"
 15644            },
 15645            "id": {
 15646              "description": "the user's id",
 15647              "type": "integer",
 15648              "format": "int64",
 15649              "x-go-name": "ID"
 15650            },
 15651            "language": {
 15652              "description": "User locale",
 15653              "type": "string",
 15654              "x-go-name": "Language"
 15655            },
 15656            "login": {
 15657              "description": "the user's username",
 15658              "type": "string",
 15659              "x-go-name": "UserName"
 15660            }
 15661          },
 15662          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15663        },
 15664        "assignees": {
 15665          "type": "array",
 15666          "items": {
 15667            "description": "User represents a user",
 15668            "type": "object",
 15669            "properties": {
 15670              "avatar_url": {
 15671                "description": "URL to the user's avatar",
 15672                "type": "string",
 15673                "x-go-name": "AvatarURL"
 15674              },
 15675              "email": {
 15676                "type": "string",
 15677                "format": "email",
 15678                "x-go-name": "Email"
 15679              },
 15680              "full_name": {
 15681                "description": "the user's full name",
 15682                "type": "string",
 15683                "x-go-name": "FullName"
 15684              },
 15685              "id": {
 15686                "description": "the user's id",
 15687                "type": "integer",
 15688                "format": "int64",
 15689                "x-go-name": "ID"
 15690              },
 15691              "language": {
 15692                "description": "User locale",
 15693                "type": "string",
 15694                "x-go-name": "Language"
 15695              },
 15696              "login": {
 15697                "description": "the user's username",
 15698                "type": "string",
 15699                "x-go-name": "UserName"
 15700              }
 15701            },
 15702            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15703          },
 15704          "x-go-name": "Assignees"
 15705        },
 15706        "base": {
 15707          "description": "PRBranchInfo information about a branch",
 15708          "type": "object",
 15709          "properties": {
 15710            "label": {
 15711              "type": "string",
 15712              "x-go-name": "Name"
 15713            },
 15714            "ref": {
 15715              "type": "string",
 15716              "x-go-name": "Ref"
 15717            },
 15718            "repo": {
 15719              "$ref": "#/definitions/Repository"
 15720            },
 15721            "repo_id": {
 15722              "type": "integer",
 15723              "format": "int64",
 15724              "x-go-name": "RepoID"
 15725            },
 15726            "sha": {
 15727              "type": "string",
 15728              "x-go-name": "Sha"
 15729            }
 15730          },
 15731          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15732        },
 15733        "body": {
 15734          "type": "string",
 15735          "x-go-name": "Body"
 15736        },
 15737        "closed_at": {
 15738          "type": "string",
 15739          "format": "date-time",
 15740          "x-go-name": "Closed"
 15741        },
 15742        "comments": {
 15743          "type": "integer",
 15744          "format": "int64",
 15745          "x-go-name": "Comments"
 15746        },
 15747        "created_at": {
 15748          "type": "string",
 15749          "format": "date-time",
 15750          "x-go-name": "Created"
 15751        },
 15752        "diff_url": {
 15753          "type": "string",
 15754          "x-go-name": "DiffURL"
 15755        },
 15756        "due_date": {
 15757          "type": "string",
 15758          "format": "date-time",
 15759          "x-go-name": "Deadline"
 15760        },
 15761        "head": {
 15762          "description": "PRBranchInfo information about a branch",
 15763          "type": "object",
 15764          "properties": {
 15765            "label": {
 15766              "type": "string",
 15767              "x-go-name": "Name"
 15768            },
 15769            "ref": {
 15770              "type": "string",
 15771              "x-go-name": "Ref"
 15772            },
 15773            "repo": {
 15774              "$ref": "#/definitions/Repository"
 15775            },
 15776            "repo_id": {
 15777              "type": "integer",
 15778              "format": "int64",
 15779              "x-go-name": "RepoID"
 15780            },
 15781            "sha": {
 15782              "type": "string",
 15783              "x-go-name": "Sha"
 15784            }
 15785          },
 15786          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15787        },
 15788        "html_url": {
 15789          "type": "string",
 15790          "x-go-name": "HTMLURL"
 15791        },
 15792        "id": {
 15793          "type": "integer",
 15794          "format": "int64",
 15795          "x-go-name": "ID"
 15796        },
 15797        "labels": {
 15798          "type": "array",
 15799          "items": {
 15800            "description": "Label a label to an issue or a pr",
 15801            "type": "object",
 15802            "properties": {
 15803              "color": {
 15804                "type": "string",
 15805                "x-go-name": "Color",
 15806                "example": "00aabb"
 15807              },
 15808              "id": {
 15809                "type": "integer",
 15810                "format": "int64",
 15811                "x-go-name": "ID"
 15812              },
 15813              "name": {
 15814                "type": "string",
 15815                "x-go-name": "Name"
 15816              },
 15817              "url": {
 15818                "type": "string",
 15819                "x-go-name": "URL"
 15820              }
 15821            },
 15822            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15823          },
 15824          "x-go-name": "Labels"
 15825        },
 15826        "merge_base": {
 15827          "type": "string",
 15828          "x-go-name": "MergeBase"
 15829        },
 15830        "merge_commit_sha": {
 15831          "type": "string",
 15832          "x-go-name": "MergedCommitID"
 15833        },
 15834        "mergeable": {
 15835          "type": "boolean",
 15836          "x-go-name": "Mergeable"
 15837        },
 15838        "merged": {
 15839          "type": "boolean",
 15840          "x-go-name": "HasMerged"
 15841        },
 15842        "merged_at": {
 15843          "type": "string",
 15844          "format": "date-time",
 15845          "x-go-name": "Merged"
 15846        },
 15847        "merged_by": {
 15848          "description": "User represents a user",
 15849          "type": "object",
 15850          "properties": {
 15851            "avatar_url": {
 15852              "description": "URL to the user's avatar",
 15853              "type": "string",
 15854              "x-go-name": "AvatarURL"
 15855            },
 15856            "email": {
 15857              "type": "string",
 15858              "format": "email",
 15859              "x-go-name": "Email"
 15860            },
 15861            "full_name": {
 15862              "description": "the user's full name",
 15863              "type": "string",
 15864              "x-go-name": "FullName"
 15865            },
 15866            "id": {
 15867              "description": "the user's id",
 15868              "type": "integer",
 15869              "format": "int64",
 15870              "x-go-name": "ID"
 15871            },
 15872            "language": {
 15873              "description": "User locale",
 15874              "type": "string",
 15875              "x-go-name": "Language"
 15876            },
 15877            "login": {
 15878              "description": "the user's username",
 15879              "type": "string",
 15880              "x-go-name": "UserName"
 15881            }
 15882          },
 15883          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15884        },
 15885        "milestone": {
 15886          "description": "Milestone milestone is a collection of issues on one repository",
 15887          "type": "object",
 15888          "properties": {
 15889            "closed_at": {
 15890              "type": "string",
 15891              "format": "date-time",
 15892              "x-go-name": "Closed"
 15893            },
 15894            "closed_issues": {
 15895              "type": "integer",
 15896              "format": "int64",
 15897              "x-go-name": "ClosedIssues"
 15898            },
 15899            "description": {
 15900              "type": "string",
 15901              "x-go-name": "Description"
 15902            },
 15903            "due_on": {
 15904              "type": "string",
 15905              "format": "date-time",
 15906              "x-go-name": "Deadline"
 15907            },
 15908            "id": {
 15909              "type": "integer",
 15910              "format": "int64",
 15911              "x-go-name": "ID"
 15912            },
 15913            "open_issues": {
 15914              "type": "integer",
 15915              "format": "int64",
 15916              "x-go-name": "OpenIssues"
 15917            },
 15918            "state": {
 15919              "description": "StateType issue state type",
 15920              "type": "string",
 15921              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15922            },
 15923            "title": {
 15924              "type": "string",
 15925              "x-go-name": "Title"
 15926            }
 15927          },
 15928          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15929        },
 15930        "number": {
 15931          "type": "integer",
 15932          "format": "int64",
 15933          "x-go-name": "Index"
 15934        },
 15935        "patch_url": {
 15936          "type": "string",
 15937          "x-go-name": "PatchURL"
 15938        },
 15939        "state": {
 15940          "description": "StateType issue state type",
 15941          "type": "string",
 15942          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15943        },
 15944        "title": {
 15945          "type": "string",
 15946          "x-go-name": "Title"
 15947        },
 15948        "updated_at": {
 15949          "type": "string",
 15950          "format": "date-time",
 15951          "x-go-name": "Updated"
 15952        },
 15953        "url": {
 15954          "type": "string",
 15955          "x-go-name": "URL"
 15956        },
 15957        "user": {
 15958          "description": "User represents a user",
 15959          "type": "object",
 15960          "properties": {
 15961            "avatar_url": {
 15962              "description": "URL to the user's avatar",
 15963              "type": "string",
 15964              "x-go-name": "AvatarURL"
 15965            },
 15966            "email": {
 15967              "type": "string",
 15968              "format": "email",
 15969              "x-go-name": "Email"
 15970            },
 15971            "full_name": {
 15972              "description": "the user's full name",
 15973              "type": "string",
 15974              "x-go-name": "FullName"
 15975            },
 15976            "id": {
 15977              "description": "the user's id",
 15978              "type": "integer",
 15979              "format": "int64",
 15980              "x-go-name": "ID"
 15981            },
 15982            "language": {
 15983              "description": "User locale",
 15984              "type": "string",
 15985              "x-go-name": "Language"
 15986            },
 15987            "login": {
 15988              "description": "the user's username",
 15989              "type": "string",
 15990              "x-go-name": "UserName"
 15991            }
 15992          },
 15993          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15994        }
 15995      },
 15996      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 15997    },
 15998    "PullRequestMeta": {
 15999      "description": "PullRequestMeta PR info if an issue is a PR",
 16000      "type": "object",
 16001      "properties": {
 16002        "merged": {
 16003          "type": "boolean",
 16004          "x-go-name": "HasMerged"
 16005        },
 16006        "merged_at": {
 16007          "type": "string",
 16008          "format": "date-time",
 16009          "x-go-name": "Merged"
 16010        }
 16011      },
 16012      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16013    },
 16014    "Release": {
 16015      "description": "Release represents a repository release",
 16016      "type": "object",
 16017      "properties": {
 16018        "assets": {
 16019          "type": "array",
 16020          "items": {
 16021            "description": "Attachment a generic attachment",
 16022            "type": "object",
 16023            "properties": {
 16024              "browser_download_url": {
 16025                "type": "string",
 16026                "x-go-name": "DownloadURL"
 16027              },
 16028              "created_at": {
 16029                "type": "string",
 16030                "format": "date-time",
 16031                "x-go-name": "Created"
 16032              },
 16033              "download_count": {
 16034                "type": "integer",
 16035                "format": "int64",
 16036                "x-go-name": "DownloadCount"
 16037              },
 16038              "id": {
 16039                "type": "integer",
 16040                "format": "int64",
 16041                "x-go-name": "ID"
 16042              },
 16043              "name": {
 16044                "type": "string",
 16045                "x-go-name": "Name"
 16046              },
 16047              "size": {
 16048                "type": "integer",
 16049                "format": "int64",
 16050                "x-go-name": "Size"
 16051              },
 16052              "uuid": {
 16053                "type": "string",
 16054                "x-go-name": "UUID"
 16055              }
 16056            },
 16057            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16058          },
 16059          "x-go-name": "Attachments"
 16060        },
 16061        "author": {
 16062          "description": "User represents a user",
 16063          "type": "object",
 16064          "properties": {
 16065            "avatar_url": {
 16066              "description": "URL to the user's avatar",
 16067              "type": "string",
 16068              "x-go-name": "AvatarURL"
 16069            },
 16070            "email": {
 16071              "type": "string",
 16072              "format": "email",
 16073              "x-go-name": "Email"
 16074            },
 16075            "full_name": {
 16076              "description": "the user's full name",
 16077              "type": "string",
 16078              "x-go-name": "FullName"
 16079            },
 16080            "id": {
 16081              "description": "the user's id",
 16082              "type": "integer",
 16083              "format": "int64",
 16084              "x-go-name": "ID"
 16085            },
 16086            "language": {
 16087              "description": "User locale",
 16088              "type": "string",
 16089              "x-go-name": "Language"
 16090            },
 16091            "login": {
 16092              "description": "the user's username",
 16093              "type": "string",
 16094              "x-go-name": "UserName"
 16095            }
 16096          },
 16097          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16098        },
 16099        "body": {
 16100          "type": "string",
 16101          "x-go-name": "Note"
 16102        },
 16103        "created_at": {
 16104          "type": "string",
 16105          "format": "date-time",
 16106          "x-go-name": "CreatedAt"
 16107        },
 16108        "draft": {
 16109          "type": "boolean",
 16110          "x-go-name": "IsDraft"
 16111        },
 16112        "id": {
 16113          "type": "integer",
 16114          "format": "int64",
 16115          "x-go-name": "ID"
 16116        },
 16117        "name": {
 16118          "type": "string",
 16119          "x-go-name": "Title"
 16120        },
 16121        "prerelease": {
 16122          "type": "boolean",
 16123          "x-go-name": "IsPrerelease"
 16124        },
 16125        "published_at": {
 16126          "type": "string",
 16127          "format": "date-time",
 16128          "x-go-name": "PublishedAt"
 16129        },
 16130        "tag_name": {
 16131          "type": "string",
 16132          "x-go-name": "TagName"
 16133        },
 16134        "tarball_url": {
 16135          "type": "string",
 16136          "x-go-name": "TarURL"
 16137        },
 16138        "target_commitish": {
 16139          "type": "string",
 16140          "x-go-name": "Target"
 16141        },
 16142        "url": {
 16143          "type": "string",
 16144          "x-go-name": "URL"
 16145        },
 16146        "zipball_url": {
 16147          "type": "string",
 16148          "x-go-name": "ZipURL"
 16149        }
 16150      },
 16151      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16152    },
 16153    "Repository": {
 16154      "description": "Repository represents a repository",
 16155      "type": "object",
 16156      "properties": {
 16157        "clone_url": {
 16158          "type": "string",
 16159          "x-go-name": "CloneURL"
 16160        },
 16161        "created_at": {
 16162          "type": "string",
 16163          "format": "date-time",
 16164          "x-go-name": "Created"
 16165        },
 16166        "default_branch": {
 16167          "type": "string",
 16168          "x-go-name": "DefaultBranch"
 16169        },
 16170        "description": {
 16171          "type": "string",
 16172          "x-go-name": "Description"
 16173        },
 16174        "empty": {
 16175          "type": "boolean",
 16176          "x-go-name": "Empty"
 16177        },
 16178        "fork": {
 16179          "type": "boolean",
 16180          "x-go-name": "Fork"
 16181        },
 16182        "forks_count": {
 16183          "type": "integer",
 16184          "format": "int64",
 16185          "x-go-name": "Forks"
 16186        },
 16187        "full_name": {
 16188          "type": "string",
 16189          "x-go-name": "FullName"
 16190        },
 16191        "html_url": {
 16192          "type": "string",
 16193          "x-go-name": "HTMLURL"
 16194        },
 16195        "id": {
 16196          "type": "integer",
 16197          "format": "int64",
 16198          "x-go-name": "ID"
 16199        },
 16200        "mirror": {
 16201          "type": "boolean",
 16202          "x-go-name": "Mirror"
 16203        },
 16204        "name": {
 16205          "type": "string",
 16206          "x-go-name": "Name"
 16207        },
 16208        "open_issues_count": {
 16209          "type": "integer",
 16210          "format": "int64",
 16211          "x-go-name": "OpenIssues"
 16212        },
 16213        "owner": {
 16214          "description": "User represents a user",
 16215          "type": "object",
 16216          "properties": {
 16217            "avatar_url": {
 16218              "description": "URL to the user's avatar",
 16219              "type": "string",
 16220              "x-go-name": "AvatarURL"
 16221            },
 16222            "email": {
 16223              "type": "string",
 16224              "format": "email",
 16225              "x-go-name": "Email"
 16226            },
 16227            "full_name": {
 16228              "description": "the user's full name",
 16229              "type": "string",
 16230              "x-go-name": "FullName"
 16231            },
 16232            "id": {
 16233              "description": "the user's id",
 16234              "type": "integer",
 16235              "format": "int64",
 16236              "x-go-name": "ID"
 16237            },
 16238            "language": {
 16239              "description": "User locale",
 16240              "type": "string",
 16241              "x-go-name": "Language"
 16242            },
 16243            "login": {
 16244              "description": "the user's username",
 16245              "type": "string",
 16246              "x-go-name": "UserName"
 16247            }
 16248          },
 16249          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16250        },
 16251        "parent": {
 16252          "$ref": "#/definitions/Repository"
 16253        },
 16254        "permissions": {
 16255          "description": "Permission represents a set of permissions",
 16256          "type": "object",
 16257          "properties": {
 16258            "admin": {
 16259              "type": "boolean",
 16260              "x-go-name": "Admin"
 16261            },
 16262            "pull": {
 16263              "type": "boolean",
 16264              "x-go-name": "Pull"
 16265            },
 16266            "push": {
 16267              "type": "boolean",
 16268              "x-go-name": "Push"
 16269            }
 16270          },
 16271          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16272        },
 16273        "private": {
 16274          "type": "boolean",
 16275          "x-go-name": "Private"
 16276        },
 16277        "size": {
 16278          "type": "integer",
 16279          "format": "int64",
 16280          "x-go-name": "Size"
 16281        },
 16282        "ssh_url": {
 16283          "type": "string",
 16284          "x-go-name": "SSHURL"
 16285        },
 16286        "stars_count": {
 16287          "type": "integer",
 16288          "format": "int64",
 16289          "x-go-name": "Stars"
 16290        },
 16291        "updated_at": {
 16292          "type": "string",
 16293          "format": "date-time",
 16294          "x-go-name": "Updated"
 16295        },
 16296        "watchers_count": {
 16297          "type": "integer",
 16298          "format": "int64",
 16299          "x-go-name": "Watchers"
 16300        },
 16301        "website": {
 16302          "type": "string",
 16303          "x-go-name": "Website"
 16304        }
 16305      },
 16306      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16307    },
 16308    "SearchResults": {
 16309      "description": "SearchResults results of a successful search",
 16310      "type": "object",
 16311      "properties": {
 16312        "data": {
 16313          "type": "array",
 16314          "items": {
 16315            "description": "Repository represents a repository",
 16316            "type": "object",
 16317            "properties": {
 16318              "clone_url": {
 16319                "type": "string",
 16320                "x-go-name": "CloneURL"
 16321              },
 16322              "created_at": {
 16323                "type": "string",
 16324                "format": "date-time",
 16325                "x-go-name": "Created"
 16326              },
 16327              "default_branch": {
 16328                "type": "string",
 16329                "x-go-name": "DefaultBranch"
 16330              },
 16331              "description": {
 16332                "type": "string",
 16333                "x-go-name": "Description"
 16334              },
 16335              "empty": {
 16336                "type": "boolean",
 16337                "x-go-name": "Empty"
 16338              },
 16339              "fork": {
 16340                "type": "boolean",
 16341                "x-go-name": "Fork"
 16342              },
 16343              "forks_count": {
 16344                "type": "integer",
 16345                "format": "int64",
 16346                "x-go-name": "Forks"
 16347              },
 16348              "full_name": {
 16349                "type": "string",
 16350                "x-go-name": "FullName"
 16351              },
 16352              "html_url": {
 16353                "type": "string",
 16354                "x-go-name": "HTMLURL"
 16355              },
 16356              "id": {
 16357                "type": "integer",
 16358                "format": "int64",
 16359                "x-go-name": "ID"
 16360              },
 16361              "mirror": {
 16362                "type": "boolean",
 16363                "x-go-name": "Mirror"
 16364              },
 16365              "name": {
 16366                "type": "string",
 16367                "x-go-name": "Name"
 16368              },
 16369              "open_issues_count": {
 16370                "type": "integer",
 16371                "format": "int64",
 16372                "x-go-name": "OpenIssues"
 16373              },
 16374              "owner": {
 16375                "description": "User represents a user",
 16376                "type": "object",
 16377                "properties": {
 16378                  "avatar_url": {
 16379                    "description": "URL to the user's avatar",
 16380                    "type": "string",
 16381                    "x-go-name": "AvatarURL"
 16382                  },
 16383                  "email": {
 16384                    "type": "string",
 16385                    "format": "email",
 16386                    "x-go-name": "Email"
 16387                  },
 16388                  "full_name": {
 16389                    "description": "the user's full name",
 16390                    "type": "string",
 16391                    "x-go-name": "FullName"
 16392                  },
 16393                  "id": {
 16394                    "description": "the user's id",
 16395                    "type": "integer",
 16396                    "format": "int64",
 16397                    "x-go-name": "ID"
 16398                  },
 16399                  "language": {
 16400                    "description": "User locale",
 16401                    "type": "string",
 16402                    "x-go-name": "Language"
 16403                  },
 16404                  "login": {
 16405                    "description": "the user's username",
 16406                    "type": "string",
 16407                    "x-go-name": "UserName"
 16408                  }
 16409                },
 16410                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16411              },
 16412              "parent": {
 16413                "$ref": "#/definitions/Repository"
 16414              },
 16415              "permissions": {
 16416                "description": "Permission represents a set of permissions",
 16417                "type": "object",
 16418                "properties": {
 16419                  "admin": {
 16420                    "type": "boolean",
 16421                    "x-go-name": "Admin"
 16422                  },
 16423                  "pull": {
 16424                    "type": "boolean",
 16425                    "x-go-name": "Pull"
 16426                  },
 16427                  "push": {
 16428                    "type": "boolean",
 16429                    "x-go-name": "Push"
 16430                  }
 16431                },
 16432                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16433              },
 16434              "private": {
 16435                "type": "boolean",
 16436                "x-go-name": "Private"
 16437              },
 16438              "size": {
 16439                "type": "integer",
 16440                "format": "int64",
 16441                "x-go-name": "Size"
 16442              },
 16443              "ssh_url": {
 16444                "type": "string",
 16445                "x-go-name": "SSHURL"
 16446              },
 16447              "stars_count": {
 16448                "type": "integer",
 16449                "format": "int64",
 16450                "x-go-name": "Stars"
 16451              },
 16452              "updated_at": {
 16453                "type": "string",
 16454                "format": "date-time",
 16455                "x-go-name": "Updated"
 16456              },
 16457              "watchers_count": {
 16458                "type": "integer",
 16459                "format": "int64",
 16460                "x-go-name": "Watchers"
 16461              },
 16462              "website": {
 16463                "type": "string",
 16464                "x-go-name": "Website"
 16465              }
 16466            },
 16467            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16468          },
 16469          "x-go-name": "Data"
 16470        },
 16471        "ok": {
 16472          "type": "boolean",
 16473          "x-go-name": "OK"
 16474        }
 16475      },
 16476      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16477    },
 16478    "ServerVersion": {
 16479      "description": "ServerVersion wraps the version of the server",
 16480      "type": "object",
 16481      "properties": {
 16482        "version": {
 16483          "type": "string",
 16484          "x-go-name": "Version"
 16485        }
 16486      },
 16487      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16488    },
 16489    "StateType": {
 16490      "description": "StateType issue state type",
 16491      "type": "string",
 16492      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16493    },
 16494    "Status": {
 16495      "description": "Status holds a single Status of a single Commit",
 16496      "type": "object",
 16497      "properties": {
 16498        "context": {
 16499          "type": "string",
 16500          "x-go-name": "Context"
 16501        },
 16502        "created_at": {
 16503          "type": "string",
 16504          "format": "date-time",
 16505          "x-go-name": "Created"
 16506        },
 16507        "creator": {
 16508          "description": "User represents a user",
 16509          "type": "object",
 16510          "properties": {
 16511            "avatar_url": {
 16512              "description": "URL to the user's avatar",
 16513              "type": "string",
 16514              "x-go-name": "AvatarURL"
 16515            },
 16516            "email": {
 16517              "type": "string",
 16518              "format": "email",
 16519              "x-go-name": "Email"
 16520            },
 16521            "full_name": {
 16522              "description": "the user's full name",
 16523              "type": "string",
 16524              "x-go-name": "FullName"
 16525            },
 16526            "id": {
 16527              "description": "the user's id",
 16528              "type": "integer",
 16529              "format": "int64",
 16530              "x-go-name": "ID"
 16531            },
 16532            "language": {
 16533              "description": "User locale",
 16534              "type": "string",
 16535              "x-go-name": "Language"
 16536            },
 16537            "login": {
 16538              "description": "the user's username",
 16539              "type": "string",
 16540              "x-go-name": "UserName"
 16541            }
 16542          },
 16543          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16544        },
 16545        "description": {
 16546          "type": "string",
 16547          "x-go-name": "Description"
 16548        },
 16549        "id": {
 16550          "type": "integer",
 16551          "format": "int64",
 16552          "x-go-name": "ID"
 16553        },
 16554        "status": {
 16555          "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 16556          "type": "string",
 16557          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16558        },
 16559        "target_url": {
 16560          "type": "string",
 16561          "x-go-name": "TargetURL"
 16562        },
 16563        "updated_at": {
 16564          "type": "string",
 16565          "format": "date-time",
 16566          "x-go-name": "Updated"
 16567        },
 16568        "url": {
 16569          "type": "string",
 16570          "x-go-name": "URL"
 16571        }
 16572      },
 16573      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16574    },
 16575    "StatusState": {
 16576      "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 16577      "type": "string",
 16578      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16579    },
 16580    "Team": {
 16581      "description": "Team represents a team in an organization",
 16582      "type": "object",
 16583      "properties": {
 16584        "description": {
 16585          "type": "string",
 16586          "x-go-name": "Description"
 16587        },
 16588        "id": {
 16589          "type": "integer",
 16590          "format": "int64",
 16591          "x-go-name": "ID"
 16592        },
 16593        "name": {
 16594          "type": "string",
 16595          "x-go-name": "Name"
 16596        },
 16597        "permission": {
 16598          "type": "string",
 16599          "enum": [
 16600            "none",
 16601            "read",
 16602            "write",
 16603            "admin",
 16604            "owner"
 16605          ],
 16606          "x-go-name": "Permission"
 16607        }
 16608      },
 16609      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16610    },
 16611    "TrackedTime": {
 16612      "description": "TrackedTime worked time for an issue / pr",
 16613      "type": "object",
 16614      "properties": {
 16615        "created": {
 16616          "type": "string",
 16617          "format": "date-time",
 16618          "x-go-name": "Created"
 16619        },
 16620        "id": {
 16621          "type": "integer",
 16622          "format": "int64",
 16623          "x-go-name": "ID"
 16624        },
 16625        "issue_id": {
 16626          "type": "integer",
 16627          "format": "int64",
 16628          "x-go-name": "IssueID"
 16629        },
 16630        "time": {
 16631          "description": "Time in seconds",
 16632          "type": "integer",
 16633          "format": "int64",
 16634          "x-go-name": "Time"
 16635        },
 16636        "user_id": {
 16637          "type": "integer",
 16638          "format": "int64",
 16639          "x-go-name": "UserID"
 16640        }
 16641      },
 16642      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16643    },
 16644    "User": {
 16645      "description": "User represents a user",
 16646      "type": "object",
 16647      "properties": {
 16648        "avatar_url": {
 16649          "description": "URL to the user's avatar",
 16650          "type": "string",
 16651          "x-go-name": "AvatarURL"
 16652        },
 16653        "email": {
 16654          "type": "string",
 16655          "format": "email",
 16656          "x-go-name": "Email"
 16657        },
 16658        "full_name": {
 16659          "description": "the user's full name",
 16660          "type": "string",
 16661          "x-go-name": "FullName"
 16662        },
 16663        "id": {
 16664          "description": "the user's id",
 16665          "type": "integer",
 16666          "format": "int64",
 16667          "x-go-name": "ID"
 16668        },
 16669        "language": {
 16670          "description": "User locale",
 16671          "type": "string",
 16672          "x-go-name": "Language"
 16673        },
 16674        "login": {
 16675          "description": "the user's username",
 16676          "type": "string",
 16677          "x-go-name": "UserName"
 16678        }
 16679      },
 16680      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16681    },
 16682    "WatchInfo": {
 16683      "description": "WatchInfo represents an API watch status of one repository",
 16684      "type": "object",
 16685      "properties": {
 16686        "created_at": {
 16687          "type": "string",
 16688          "format": "date-time",
 16689          "x-go-name": "CreatedAt"
 16690        },
 16691        "ignored": {
 16692          "type": "boolean",
 16693          "x-go-name": "Ignored"
 16694        },
 16695        "reason": {
 16696          "type": "object",
 16697          "x-go-name": "Reason"
 16698        },
 16699        "repository_url": {
 16700          "type": "string",
 16701          "x-go-name": "RepositoryURL"
 16702        },
 16703        "subscribed": {
 16704          "type": "boolean",
 16705          "x-go-name": "Subscribed"
 16706        },
 16707        "url": {
 16708          "type": "string",
 16709          "x-go-name": "URL"
 16710        }
 16711      },
 16712      "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16713    }
 16714  },
 16715  "responses": {
 16716    "AccessToken": {
 16717      "description": "AccessToken represents a API access token.",
 16718      "headers": {
 16719        "id": {
 16720          "type": "integer",
 16721          "format": "int64"
 16722        },
 16723        "name": {
 16724          "type": "string"
 16725        },
 16726        "sha1": {
 16727          "type": "string"
 16728        }
 16729      }
 16730    },
 16731    "AccessTokenList": {
 16732      "description": "AccessTokenList represents a list of API access token."
 16733    },
 16734    "Attachment": {
 16735      "description": "Attachment",
 16736      "schema": {
 16737        "description": "Attachment a generic attachment",
 16738        "type": "object",
 16739        "properties": {
 16740          "browser_download_url": {
 16741            "type": "string",
 16742            "x-go-name": "DownloadURL"
 16743          },
 16744          "created_at": {
 16745            "type": "string",
 16746            "format": "date-time",
 16747            "x-go-name": "Created"
 16748          },
 16749          "download_count": {
 16750            "type": "integer",
 16751            "format": "int64",
 16752            "x-go-name": "DownloadCount"
 16753          },
 16754          "id": {
 16755            "type": "integer",
 16756            "format": "int64",
 16757            "x-go-name": "ID"
 16758          },
 16759          "name": {
 16760            "type": "string",
 16761            "x-go-name": "Name"
 16762          },
 16763          "size": {
 16764            "type": "integer",
 16765            "format": "int64",
 16766            "x-go-name": "Size"
 16767          },
 16768          "uuid": {
 16769            "type": "string",
 16770            "x-go-name": "UUID"
 16771          }
 16772        },
 16773        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16774      }
 16775    },
 16776    "AttachmentList": {
 16777      "description": "AttachmentList",
 16778      "schema": {
 16779        "type": "array",
 16780        "items": {
 16781          "description": "Attachment a generic attachment",
 16782          "type": "object",
 16783          "properties": {
 16784            "browser_download_url": {
 16785              "type": "string",
 16786              "x-go-name": "DownloadURL"
 16787            },
 16788            "created_at": {
 16789              "type": "string",
 16790              "format": "date-time",
 16791              "x-go-name": "Created"
 16792            },
 16793            "download_count": {
 16794              "type": "integer",
 16795              "format": "int64",
 16796              "x-go-name": "DownloadCount"
 16797            },
 16798            "id": {
 16799              "type": "integer",
 16800              "format": "int64",
 16801              "x-go-name": "ID"
 16802            },
 16803            "name": {
 16804              "type": "string",
 16805              "x-go-name": "Name"
 16806            },
 16807            "size": {
 16808              "type": "integer",
 16809              "format": "int64",
 16810              "x-go-name": "Size"
 16811            },
 16812            "uuid": {
 16813              "type": "string",
 16814              "x-go-name": "UUID"
 16815            }
 16816          },
 16817          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16818        }
 16819      }
 16820    },
 16821    "Branch": {
 16822      "description": "Branch",
 16823      "schema": {
 16824        "description": "Branch represents a repository branch",
 16825        "type": "object",
 16826        "properties": {
 16827          "commit": {
 16828            "description": "PayloadCommit represents a commit",
 16829            "type": "object",
 16830            "properties": {
 16831              "author": {
 16832                "description": "PayloadUser represents the author or committer of a commit",
 16833                "type": "object",
 16834                "properties": {
 16835                  "email": {
 16836                    "type": "string",
 16837                    "format": "email",
 16838                    "x-go-name": "Email"
 16839                  },
 16840                  "name": {
 16841                    "description": "Full name of the commit author",
 16842                    "type": "string",
 16843                    "x-go-name": "Name"
 16844                  },
 16845                  "username": {
 16846                    "type": "string",
 16847                    "x-go-name": "UserName"
 16848                  }
 16849                },
 16850                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16851              },
 16852              "committer": {
 16853                "description": "PayloadUser represents the author or committer of a commit",
 16854                "type": "object",
 16855                "properties": {
 16856                  "email": {
 16857                    "type": "string",
 16858                    "format": "email",
 16859                    "x-go-name": "Email"
 16860                  },
 16861                  "name": {
 16862                    "description": "Full name of the commit author",
 16863                    "type": "string",
 16864                    "x-go-name": "Name"
 16865                  },
 16866                  "username": {
 16867                    "type": "string",
 16868                    "x-go-name": "UserName"
 16869                  }
 16870                },
 16871                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16872              },
 16873              "id": {
 16874                "description": "sha1 hash of the commit",
 16875                "type": "string",
 16876                "x-go-name": "ID"
 16877              },
 16878              "message": {
 16879                "type": "string",
 16880                "x-go-name": "Message"
 16881              },
 16882              "timestamp": {
 16883                "type": "string",
 16884                "format": "date-time",
 16885                "x-go-name": "Timestamp"
 16886              },
 16887              "url": {
 16888                "type": "string",
 16889                "x-go-name": "URL"
 16890              },
 16891              "verification": {
 16892                "description": "PayloadCommitVerification represents the GPG verification of a commit",
 16893                "type": "object",
 16894                "properties": {
 16895                  "payload": {
 16896                    "type": "string",
 16897                    "x-go-name": "Payload"
 16898                  },
 16899                  "reason": {
 16900                    "type": "string",
 16901                    "x-go-name": "Reason"
 16902                  },
 16903                  "signature": {
 16904                    "type": "string",
 16905                    "x-go-name": "Signature"
 16906                  },
 16907                  "verified": {
 16908                    "type": "boolean",
 16909                    "x-go-name": "Verified"
 16910                  }
 16911                },
 16912                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16913              }
 16914            },
 16915            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16916          },
 16917          "name": {
 16918            "type": "string",
 16919            "x-go-name": "Name"
 16920          }
 16921        },
 16922        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16923      }
 16924    },
 16925    "BranchList": {
 16926      "description": "BranchList",
 16927      "schema": {
 16928        "type": "array",
 16929        "items": {
 16930          "description": "Branch represents a repository branch",
 16931          "type": "object",
 16932          "properties": {
 16933            "commit": {
 16934              "description": "PayloadCommit represents a commit",
 16935              "type": "object",
 16936              "properties": {
 16937                "author": {
 16938                  "description": "PayloadUser represents the author or committer of a commit",
 16939                  "type": "object",
 16940                  "properties": {
 16941                    "email": {
 16942                      "type": "string",
 16943                      "format": "email",
 16944                      "x-go-name": "Email"
 16945                    },
 16946                    "name": {
 16947                      "description": "Full name of the commit author",
 16948                      "type": "string",
 16949                      "x-go-name": "Name"
 16950                    },
 16951                    "username": {
 16952                      "type": "string",
 16953                      "x-go-name": "UserName"
 16954                    }
 16955                  },
 16956                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16957                },
 16958                "committer": {
 16959                  "description": "PayloadUser represents the author or committer of a commit",
 16960                  "type": "object",
 16961                  "properties": {
 16962                    "email": {
 16963                      "type": "string",
 16964                      "format": "email",
 16965                      "x-go-name": "Email"
 16966                    },
 16967                    "name": {
 16968                      "description": "Full name of the commit author",
 16969                      "type": "string",
 16970                      "x-go-name": "Name"
 16971                    },
 16972                    "username": {
 16973                      "type": "string",
 16974                      "x-go-name": "UserName"
 16975                    }
 16976                  },
 16977                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 16978                },
 16979                "id": {
 16980                  "description": "sha1 hash of the commit",
 16981                  "type": "string",
 16982                  "x-go-name": "ID"
 16983                },
 16984                "message": {
 16985                  "type": "string",
 16986                  "x-go-name": "Message"
 16987                },
 16988                "timestamp": {
 16989                  "type": "string",
 16990                  "format": "date-time",
 16991                  "x-go-name": "Timestamp"
 16992                },
 16993                "url": {
 16994                  "type": "string",
 16995                  "x-go-name": "URL"
 16996                },
 16997                "verification": {
 16998                  "description": "PayloadCommitVerification represents the GPG verification of a commit",
 16999                  "type": "object",
 17000                  "properties": {
 17001                    "payload": {
 17002                      "type": "string",
 17003                      "x-go-name": "Payload"
 17004                    },
 17005                    "reason": {
 17006                      "type": "string",
 17007                      "x-go-name": "Reason"
 17008                    },
 17009                    "signature": {
 17010                      "type": "string",
 17011                      "x-go-name": "Signature"
 17012                    },
 17013                    "verified": {
 17014                      "type": "boolean",
 17015                      "x-go-name": "Verified"
 17016                    }
 17017                  },
 17018                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17019                }
 17020              },
 17021              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17022            },
 17023            "name": {
 17024              "type": "string",
 17025              "x-go-name": "Name"
 17026            }
 17027          },
 17028          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17029        }
 17030      }
 17031    },
 17032    "Comment": {
 17033      "description": "Comment",
 17034      "schema": {
 17035        "description": "Comment represents a comment on a commit or issue",
 17036        "type": "object",
 17037        "properties": {
 17038          "body": {
 17039            "type": "string",
 17040            "x-go-name": "Body"
 17041          },
 17042          "created_at": {
 17043            "type": "string",
 17044            "format": "date-time",
 17045            "x-go-name": "Created"
 17046          },
 17047          "html_url": {
 17048            "type": "string",
 17049            "x-go-name": "HTMLURL"
 17050          },
 17051          "id": {
 17052            "type": "integer",
 17053            "format": "int64",
 17054            "x-go-name": "ID"
 17055          },
 17056          "issue_url": {
 17057            "type": "string",
 17058            "x-go-name": "IssueURL"
 17059          },
 17060          "pull_request_url": {
 17061            "type": "string",
 17062            "x-go-name": "PRURL"
 17063          },
 17064          "updated_at": {
 17065            "type": "string",
 17066            "format": "date-time",
 17067            "x-go-name": "Updated"
 17068          },
 17069          "user": {
 17070            "description": "User represents a user",
 17071            "type": "object",
 17072            "properties": {
 17073              "avatar_url": {
 17074                "description": "URL to the user's avatar",
 17075                "type": "string",
 17076                "x-go-name": "AvatarURL"
 17077              },
 17078              "email": {
 17079                "type": "string",
 17080                "format": "email",
 17081                "x-go-name": "Email"
 17082              },
 17083              "full_name": {
 17084                "description": "the user's full name",
 17085                "type": "string",
 17086                "x-go-name": "FullName"
 17087              },
 17088              "id": {
 17089                "description": "the user's id",
 17090                "type": "integer",
 17091                "format": "int64",
 17092                "x-go-name": "ID"
 17093              },
 17094              "language": {
 17095                "description": "User locale",
 17096                "type": "string",
 17097                "x-go-name": "Language"
 17098              },
 17099              "login": {
 17100                "description": "the user's username",
 17101                "type": "string",
 17102                "x-go-name": "UserName"
 17103              }
 17104            },
 17105            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17106          }
 17107        },
 17108        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17109      }
 17110    },
 17111    "CommentList": {
 17112      "description": "CommentList",
 17113      "schema": {
 17114        "type": "array",
 17115        "items": {
 17116          "description": "Comment represents a comment on a commit or issue",
 17117          "type": "object",
 17118          "properties": {
 17119            "body": {
 17120              "type": "string",
 17121              "x-go-name": "Body"
 17122            },
 17123            "created_at": {
 17124              "type": "string",
 17125              "format": "date-time",
 17126              "x-go-name": "Created"
 17127            },
 17128            "html_url": {
 17129              "type": "string",
 17130              "x-go-name": "HTMLURL"
 17131            },
 17132            "id": {
 17133              "type": "integer",
 17134              "format": "int64",
 17135              "x-go-name": "ID"
 17136            },
 17137            "issue_url": {
 17138              "type": "string",
 17139              "x-go-name": "IssueURL"
 17140            },
 17141            "pull_request_url": {
 17142              "type": "string",
 17143              "x-go-name": "PRURL"
 17144            },
 17145            "updated_at": {
 17146              "type": "string",
 17147              "format": "date-time",
 17148              "x-go-name": "Updated"
 17149            },
 17150            "user": {
 17151              "description": "User represents a user",
 17152              "type": "object",
 17153              "properties": {
 17154                "avatar_url": {
 17155                  "description": "URL to the user's avatar",
 17156                  "type": "string",
 17157                  "x-go-name": "AvatarURL"
 17158                },
 17159                "email": {
 17160                  "type": "string",
 17161                  "format": "email",
 17162                  "x-go-name": "Email"
 17163                },
 17164                "full_name": {
 17165                  "description": "the user's full name",
 17166                  "type": "string",
 17167                  "x-go-name": "FullName"
 17168                },
 17169                "id": {
 17170                  "description": "the user's id",
 17171                  "type": "integer",
 17172                  "format": "int64",
 17173                  "x-go-name": "ID"
 17174                },
 17175                "language": {
 17176                  "description": "User locale",
 17177                  "type": "string",
 17178                  "x-go-name": "Language"
 17179                },
 17180                "login": {
 17181                  "description": "the user's username",
 17182                  "type": "string",
 17183                  "x-go-name": "UserName"
 17184                }
 17185              },
 17186              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17187            }
 17188          },
 17189          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17190        }
 17191      }
 17192    },
 17193    "DeployKey": {
 17194      "description": "DeployKey",
 17195      "schema": {
 17196        "description": "DeployKey a deploy key",
 17197        "type": "object",
 17198        "properties": {
 17199          "created_at": {
 17200            "type": "string",
 17201            "format": "date-time",
 17202            "x-go-name": "Created"
 17203          },
 17204          "id": {
 17205            "type": "integer",
 17206            "format": "int64",
 17207            "x-go-name": "ID"
 17208          },
 17209          "key": {
 17210            "type": "string",
 17211            "x-go-name": "Key"
 17212          },
 17213          "read_only": {
 17214            "type": "boolean",
 17215            "x-go-name": "ReadOnly"
 17216          },
 17217          "title": {
 17218            "type": "string",
 17219            "x-go-name": "Title"
 17220          },
 17221          "url": {
 17222            "type": "string",
 17223            "x-go-name": "URL"
 17224          }
 17225        },
 17226        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17227      }
 17228    },
 17229    "DeployKeyList": {
 17230      "description": "DeployKeyList",
 17231      "schema": {
 17232        "type": "array",
 17233        "items": {
 17234          "description": "DeployKey a deploy key",
 17235          "type": "object",
 17236          "properties": {
 17237            "created_at": {
 17238              "type": "string",
 17239              "format": "date-time",
 17240              "x-go-name": "Created"
 17241            },
 17242            "id": {
 17243              "type": "integer",
 17244              "format": "int64",
 17245              "x-go-name": "ID"
 17246            },
 17247            "key": {
 17248              "type": "string",
 17249              "x-go-name": "Key"
 17250            },
 17251            "read_only": {
 17252              "type": "boolean",
 17253              "x-go-name": "ReadOnly"
 17254            },
 17255            "title": {
 17256              "type": "string",
 17257              "x-go-name": "Title"
 17258            },
 17259            "url": {
 17260              "type": "string",
 17261              "x-go-name": "URL"
 17262            }
 17263          },
 17264          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17265        }
 17266      }
 17267    },
 17268    "EmailList": {
 17269      "description": "EmailList",
 17270      "schema": {
 17271        "type": "array",
 17272        "items": {
 17273          "description": "Email an email address belonging to a user",
 17274          "type": "object",
 17275          "properties": {
 17276            "email": {
 17277              "type": "string",
 17278              "format": "email",
 17279              "x-go-name": "Email"
 17280            },
 17281            "primary": {
 17282              "type": "boolean",
 17283              "x-go-name": "Primary"
 17284            },
 17285            "verified": {
 17286              "type": "boolean",
 17287              "x-go-name": "Verified"
 17288            }
 17289          },
 17290          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17291        }
 17292      }
 17293    },
 17294    "GPGKey": {
 17295      "description": "GPGKey",
 17296      "schema": {
 17297        "$ref": "#/definitions/GPGKey"
 17298      }
 17299    },
 17300    "GPGKeyList": {
 17301      "description": "GPGKeyList",
 17302      "schema": {
 17303        "type": "array",
 17304        "items": {
 17305          "$ref": "#/definitions/GPGKey"
 17306        }
 17307      }
 17308    },
 17309    "Hook": {
 17310      "description": "Hook",
 17311      "schema": {
 17312        "type": "array",
 17313        "items": {
 17314          "description": "Branch represents a repository branch",
 17315          "type": "object",
 17316          "properties": {
 17317            "commit": {
 17318              "description": "PayloadCommit represents a commit",
 17319              "type": "object",
 17320              "properties": {
 17321                "author": {
 17322                  "description": "PayloadUser represents the author or committer of a commit",
 17323                  "type": "object",
 17324                  "properties": {
 17325                    "email": {
 17326                      "type": "string",
 17327                      "format": "email",
 17328                      "x-go-name": "Email"
 17329                    },
 17330                    "name": {
 17331                      "description": "Full name of the commit author",
 17332                      "type": "string",
 17333                      "x-go-name": "Name"
 17334                    },
 17335                    "username": {
 17336                      "type": "string",
 17337                      "x-go-name": "UserName"
 17338                    }
 17339                  },
 17340                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17341                },
 17342                "committer": {
 17343                  "description": "PayloadUser represents the author or committer of a commit",
 17344                  "type": "object",
 17345                  "properties": {
 17346                    "email": {
 17347                      "type": "string",
 17348                      "format": "email",
 17349                      "x-go-name": "Email"
 17350                    },
 17351                    "name": {
 17352                      "description": "Full name of the commit author",
 17353                      "type": "string",
 17354                      "x-go-name": "Name"
 17355                    },
 17356                    "username": {
 17357                      "type": "string",
 17358                      "x-go-name": "UserName"
 17359                    }
 17360                  },
 17361                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17362                },
 17363                "id": {
 17364                  "description": "sha1 hash of the commit",
 17365                  "type": "string",
 17366                  "x-go-name": "ID"
 17367                },
 17368                "message": {
 17369                  "type": "string",
 17370                  "x-go-name": "Message"
 17371                },
 17372                "timestamp": {
 17373                  "type": "string",
 17374                  "format": "date-time",
 17375                  "x-go-name": "Timestamp"
 17376                },
 17377                "url": {
 17378                  "type": "string",
 17379                  "x-go-name": "URL"
 17380                },
 17381                "verification": {
 17382                  "description": "PayloadCommitVerification represents the GPG verification of a commit",
 17383                  "type": "object",
 17384                  "properties": {
 17385                    "payload": {
 17386                      "type": "string",
 17387                      "x-go-name": "Payload"
 17388                    },
 17389                    "reason": {
 17390                      "type": "string",
 17391                      "x-go-name": "Reason"
 17392                    },
 17393                    "signature": {
 17394                      "type": "string",
 17395                      "x-go-name": "Signature"
 17396                    },
 17397                    "verified": {
 17398                      "type": "boolean",
 17399                      "x-go-name": "Verified"
 17400                    }
 17401                  },
 17402                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17403                }
 17404              },
 17405              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17406            },
 17407            "name": {
 17408              "type": "string",
 17409              "x-go-name": "Name"
 17410            }
 17411          },
 17412          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17413        }
 17414      }
 17415    },
 17416    "HookList": {
 17417      "description": "HookList",
 17418      "schema": {
 17419        "type": "array",
 17420        "items": {
 17421          "description": "Branch represents a repository branch",
 17422          "type": "object",
 17423          "properties": {
 17424            "commit": {
 17425              "description": "PayloadCommit represents a commit",
 17426              "type": "object",
 17427              "properties": {
 17428                "author": {
 17429                  "description": "PayloadUser represents the author or committer of a commit",
 17430                  "type": "object",
 17431                  "properties": {
 17432                    "email": {
 17433                      "type": "string",
 17434                      "format": "email",
 17435                      "x-go-name": "Email"
 17436                    },
 17437                    "name": {
 17438                      "description": "Full name of the commit author",
 17439                      "type": "string",
 17440                      "x-go-name": "Name"
 17441                    },
 17442                    "username": {
 17443                      "type": "string",
 17444                      "x-go-name": "UserName"
 17445                    }
 17446                  },
 17447                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17448                },
 17449                "committer": {
 17450                  "description": "PayloadUser represents the author or committer of a commit",
 17451                  "type": "object",
 17452                  "properties": {
 17453                    "email": {
 17454                      "type": "string",
 17455                      "format": "email",
 17456                      "x-go-name": "Email"
 17457                    },
 17458                    "name": {
 17459                      "description": "Full name of the commit author",
 17460                      "type": "string",
 17461                      "x-go-name": "Name"
 17462                    },
 17463                    "username": {
 17464                      "type": "string",
 17465                      "x-go-name": "UserName"
 17466                    }
 17467                  },
 17468                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17469                },
 17470                "id": {
 17471                  "description": "sha1 hash of the commit",
 17472                  "type": "string",
 17473                  "x-go-name": "ID"
 17474                },
 17475                "message": {
 17476                  "type": "string",
 17477                  "x-go-name": "Message"
 17478                },
 17479                "timestamp": {
 17480                  "type": "string",
 17481                  "format": "date-time",
 17482                  "x-go-name": "Timestamp"
 17483                },
 17484                "url": {
 17485                  "type": "string",
 17486                  "x-go-name": "URL"
 17487                },
 17488                "verification": {
 17489                  "description": "PayloadCommitVerification represents the GPG verification of a commit",
 17490                  "type": "object",
 17491                  "properties": {
 17492                    "payload": {
 17493                      "type": "string",
 17494                      "x-go-name": "Payload"
 17495                    },
 17496                    "reason": {
 17497                      "type": "string",
 17498                      "x-go-name": "Reason"
 17499                    },
 17500                    "signature": {
 17501                      "type": "string",
 17502                      "x-go-name": "Signature"
 17503                    },
 17504                    "verified": {
 17505                      "type": "boolean",
 17506                      "x-go-name": "Verified"
 17507                    }
 17508                  },
 17509                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17510                }
 17511              },
 17512              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17513            },
 17514            "name": {
 17515              "type": "string",
 17516              "x-go-name": "Name"
 17517            }
 17518          },
 17519          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17520        }
 17521      }
 17522    },
 17523    "Issue": {
 17524      "description": "Issue",
 17525      "schema": {
 17526        "description": "Issue represents an issue in a repository",
 17527        "type": "object",
 17528        "properties": {
 17529          "assignee": {
 17530            "description": "User represents a user",
 17531            "type": "object",
 17532            "properties": {
 17533              "avatar_url": {
 17534                "description": "URL to the user's avatar",
 17535                "type": "string",
 17536                "x-go-name": "AvatarURL"
 17537              },
 17538              "email": {
 17539                "type": "string",
 17540                "format": "email",
 17541                "x-go-name": "Email"
 17542              },
 17543              "full_name": {
 17544                "description": "the user's full name",
 17545                "type": "string",
 17546                "x-go-name": "FullName"
 17547              },
 17548              "id": {
 17549                "description": "the user's id",
 17550                "type": "integer",
 17551                "format": "int64",
 17552                "x-go-name": "ID"
 17553              },
 17554              "language": {
 17555                "description": "User locale",
 17556                "type": "string",
 17557                "x-go-name": "Language"
 17558              },
 17559              "login": {
 17560                "description": "the user's username",
 17561                "type": "string",
 17562                "x-go-name": "UserName"
 17563              }
 17564            },
 17565            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17566          },
 17567          "assignees": {
 17568            "type": "array",
 17569            "items": {
 17570              "description": "User represents a user",
 17571              "type": "object",
 17572              "properties": {
 17573                "avatar_url": {
 17574                  "description": "URL to the user's avatar",
 17575                  "type": "string",
 17576                  "x-go-name": "AvatarURL"
 17577                },
 17578                "email": {
 17579                  "type": "string",
 17580                  "format": "email",
 17581                  "x-go-name": "Email"
 17582                },
 17583                "full_name": {
 17584                  "description": "the user's full name",
 17585                  "type": "string",
 17586                  "x-go-name": "FullName"
 17587                },
 17588                "id": {
 17589                  "description": "the user's id",
 17590                  "type": "integer",
 17591                  "format": "int64",
 17592                  "x-go-name": "ID"
 17593                },
 17594                "language": {
 17595                  "description": "User locale",
 17596                  "type": "string",
 17597                  "x-go-name": "Language"
 17598                },
 17599                "login": {
 17600                  "description": "the user's username",
 17601                  "type": "string",
 17602                  "x-go-name": "UserName"
 17603                }
 17604              },
 17605              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17606            },
 17607            "x-go-name": "Assignees"
 17608          },
 17609          "body": {
 17610            "type": "string",
 17611            "x-go-name": "Body"
 17612          },
 17613          "closed_at": {
 17614            "type": "string",
 17615            "format": "date-time",
 17616            "x-go-name": "Closed"
 17617          },
 17618          "comments": {
 17619            "type": "integer",
 17620            "format": "int64",
 17621            "x-go-name": "Comments"
 17622          },
 17623          "created_at": {
 17624            "type": "string",
 17625            "format": "date-time",
 17626            "x-go-name": "Created"
 17627          },
 17628          "due_date": {
 17629            "type": "string",
 17630            "format": "date-time",
 17631            "x-go-name": "Deadline"
 17632          },
 17633          "id": {
 17634            "type": "integer",
 17635            "format": "int64",
 17636            "x-go-name": "ID"
 17637          },
 17638          "labels": {
 17639            "type": "array",
 17640            "items": {
 17641              "description": "Label a label to an issue or a pr",
 17642              "type": "object",
 17643              "properties": {
 17644                "color": {
 17645                  "type": "string",
 17646                  "x-go-name": "Color",
 17647                  "example": "00aabb"
 17648                },
 17649                "id": {
 17650                  "type": "integer",
 17651                  "format": "int64",
 17652                  "x-go-name": "ID"
 17653                },
 17654                "name": {
 17655                  "type": "string",
 17656                  "x-go-name": "Name"
 17657                },
 17658                "url": {
 17659                  "type": "string",
 17660                  "x-go-name": "URL"
 17661                }
 17662              },
 17663              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17664            },
 17665            "x-go-name": "Labels"
 17666          },
 17667          "milestone": {
 17668            "description": "Milestone milestone is a collection of issues on one repository",
 17669            "type": "object",
 17670            "properties": {
 17671              "closed_at": {
 17672                "type": "string",
 17673                "format": "date-time",
 17674                "x-go-name": "Closed"
 17675              },
 17676              "closed_issues": {
 17677                "type": "integer",
 17678                "format": "int64",
 17679                "x-go-name": "ClosedIssues"
 17680              },
 17681              "description": {
 17682                "type": "string",
 17683                "x-go-name": "Description"
 17684              },
 17685              "due_on": {
 17686                "type": "string",
 17687                "format": "date-time",
 17688                "x-go-name": "Deadline"
 17689              },
 17690              "id": {
 17691                "type": "integer",
 17692                "format": "int64",
 17693                "x-go-name": "ID"
 17694              },
 17695              "open_issues": {
 17696                "type": "integer",
 17697                "format": "int64",
 17698                "x-go-name": "OpenIssues"
 17699              },
 17700              "state": {
 17701                "description": "StateType issue state type",
 17702                "type": "string",
 17703                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17704              },
 17705              "title": {
 17706                "type": "string",
 17707                "x-go-name": "Title"
 17708              }
 17709            },
 17710            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17711          },
 17712          "number": {
 17713            "type": "integer",
 17714            "format": "int64",
 17715            "x-go-name": "Index"
 17716          },
 17717          "pull_request": {
 17718            "description": "PullRequestMeta PR info if an issue is a PR",
 17719            "type": "object",
 17720            "properties": {
 17721              "merged": {
 17722                "type": "boolean",
 17723                "x-go-name": "HasMerged"
 17724              },
 17725              "merged_at": {
 17726                "type": "string",
 17727                "format": "date-time",
 17728                "x-go-name": "Merged"
 17729              }
 17730            },
 17731            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17732          },
 17733          "state": {
 17734            "description": "StateType issue state type",
 17735            "type": "string",
 17736            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17737          },
 17738          "title": {
 17739            "type": "string",
 17740            "x-go-name": "Title"
 17741          },
 17742          "updated_at": {
 17743            "type": "string",
 17744            "format": "date-time",
 17745            "x-go-name": "Updated"
 17746          },
 17747          "url": {
 17748            "type": "string",
 17749            "x-go-name": "URL"
 17750          },
 17751          "user": {
 17752            "description": "User represents a user",
 17753            "type": "object",
 17754            "properties": {
 17755              "avatar_url": {
 17756                "description": "URL to the user's avatar",
 17757                "type": "string",
 17758                "x-go-name": "AvatarURL"
 17759              },
 17760              "email": {
 17761                "type": "string",
 17762                "format": "email",
 17763                "x-go-name": "Email"
 17764              },
 17765              "full_name": {
 17766                "description": "the user's full name",
 17767                "type": "string",
 17768                "x-go-name": "FullName"
 17769              },
 17770              "id": {
 17771                "description": "the user's id",
 17772                "type": "integer",
 17773                "format": "int64",
 17774                "x-go-name": "ID"
 17775              },
 17776              "language": {
 17777                "description": "User locale",
 17778                "type": "string",
 17779                "x-go-name": "Language"
 17780              },
 17781              "login": {
 17782                "description": "the user's username",
 17783                "type": "string",
 17784                "x-go-name": "UserName"
 17785              }
 17786            },
 17787            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17788          }
 17789        },
 17790        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17791      }
 17792    },
 17793    "IssueList": {
 17794      "description": "IssueList",
 17795      "schema": {
 17796        "type": "array",
 17797        "items": {
 17798          "description": "Issue represents an issue in a repository",
 17799          "type": "object",
 17800          "properties": {
 17801            "assignee": {
 17802              "description": "User represents a user",
 17803              "type": "object",
 17804              "properties": {
 17805                "avatar_url": {
 17806                  "description": "URL to the user's avatar",
 17807                  "type": "string",
 17808                  "x-go-name": "AvatarURL"
 17809                },
 17810                "email": {
 17811                  "type": "string",
 17812                  "format": "email",
 17813                  "x-go-name": "Email"
 17814                },
 17815                "full_name": {
 17816                  "description": "the user's full name",
 17817                  "type": "string",
 17818                  "x-go-name": "FullName"
 17819                },
 17820                "id": {
 17821                  "description": "the user's id",
 17822                  "type": "integer",
 17823                  "format": "int64",
 17824                  "x-go-name": "ID"
 17825                },
 17826                "language": {
 17827                  "description": "User locale",
 17828                  "type": "string",
 17829                  "x-go-name": "Language"
 17830                },
 17831                "login": {
 17832                  "description": "the user's username",
 17833                  "type": "string",
 17834                  "x-go-name": "UserName"
 17835                }
 17836              },
 17837              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17838            },
 17839            "assignees": {
 17840              "type": "array",
 17841              "items": {
 17842                "description": "User represents a user",
 17843                "type": "object",
 17844                "properties": {
 17845                  "avatar_url": {
 17846                    "description": "URL to the user's avatar",
 17847                    "type": "string",
 17848                    "x-go-name": "AvatarURL"
 17849                  },
 17850                  "email": {
 17851                    "type": "string",
 17852                    "format": "email",
 17853                    "x-go-name": "Email"
 17854                  },
 17855                  "full_name": {
 17856                    "description": "the user's full name",
 17857                    "type": "string",
 17858                    "x-go-name": "FullName"
 17859                  },
 17860                  "id": {
 17861                    "description": "the user's id",
 17862                    "type": "integer",
 17863                    "format": "int64",
 17864                    "x-go-name": "ID"
 17865                  },
 17866                  "language": {
 17867                    "description": "User locale",
 17868                    "type": "string",
 17869                    "x-go-name": "Language"
 17870                  },
 17871                  "login": {
 17872                    "description": "the user's username",
 17873                    "type": "string",
 17874                    "x-go-name": "UserName"
 17875                  }
 17876                },
 17877                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17878              },
 17879              "x-go-name": "Assignees"
 17880            },
 17881            "body": {
 17882              "type": "string",
 17883              "x-go-name": "Body"
 17884            },
 17885            "closed_at": {
 17886              "type": "string",
 17887              "format": "date-time",
 17888              "x-go-name": "Closed"
 17889            },
 17890            "comments": {
 17891              "type": "integer",
 17892              "format": "int64",
 17893              "x-go-name": "Comments"
 17894            },
 17895            "created_at": {
 17896              "type": "string",
 17897              "format": "date-time",
 17898              "x-go-name": "Created"
 17899            },
 17900            "due_date": {
 17901              "type": "string",
 17902              "format": "date-time",
 17903              "x-go-name": "Deadline"
 17904            },
 17905            "id": {
 17906              "type": "integer",
 17907              "format": "int64",
 17908              "x-go-name": "ID"
 17909            },
 17910            "labels": {
 17911              "type": "array",
 17912              "items": {
 17913                "description": "Label a label to an issue or a pr",
 17914                "type": "object",
 17915                "properties": {
 17916                  "color": {
 17917                    "type": "string",
 17918                    "x-go-name": "Color",
 17919                    "example": "00aabb"
 17920                  },
 17921                  "id": {
 17922                    "type": "integer",
 17923                    "format": "int64",
 17924                    "x-go-name": "ID"
 17925                  },
 17926                  "name": {
 17927                    "type": "string",
 17928                    "x-go-name": "Name"
 17929                  },
 17930                  "url": {
 17931                    "type": "string",
 17932                    "x-go-name": "URL"
 17933                  }
 17934                },
 17935                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17936              },
 17937              "x-go-name": "Labels"
 17938            },
 17939            "milestone": {
 17940              "description": "Milestone milestone is a collection of issues on one repository",
 17941              "type": "object",
 17942              "properties": {
 17943                "closed_at": {
 17944                  "type": "string",
 17945                  "format": "date-time",
 17946                  "x-go-name": "Closed"
 17947                },
 17948                "closed_issues": {
 17949                  "type": "integer",
 17950                  "format": "int64",
 17951                  "x-go-name": "ClosedIssues"
 17952                },
 17953                "description": {
 17954                  "type": "string",
 17955                  "x-go-name": "Description"
 17956                },
 17957                "due_on": {
 17958                  "type": "string",
 17959                  "format": "date-time",
 17960                  "x-go-name": "Deadline"
 17961                },
 17962                "id": {
 17963                  "type": "integer",
 17964                  "format": "int64",
 17965                  "x-go-name": "ID"
 17966                },
 17967                "open_issues": {
 17968                  "type": "integer",
 17969                  "format": "int64",
 17970                  "x-go-name": "OpenIssues"
 17971                },
 17972                "state": {
 17973                  "description": "StateType issue state type",
 17974                  "type": "string",
 17975                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17976                },
 17977                "title": {
 17978                  "type": "string",
 17979                  "x-go-name": "Title"
 17980                }
 17981              },
 17982              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 17983            },
 17984            "number": {
 17985              "type": "integer",
 17986              "format": "int64",
 17987              "x-go-name": "Index"
 17988            },
 17989            "pull_request": {
 17990              "description": "PullRequestMeta PR info if an issue is a PR",
 17991              "type": "object",
 17992              "properties": {
 17993                "merged": {
 17994                  "type": "boolean",
 17995                  "x-go-name": "HasMerged"
 17996                },
 17997                "merged_at": {
 17998                  "type": "string",
 17999                  "format": "date-time",
 18000                  "x-go-name": "Merged"
 18001                }
 18002              },
 18003              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18004            },
 18005            "state": {
 18006              "description": "StateType issue state type",
 18007              "type": "string",
 18008              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18009            },
 18010            "title": {
 18011              "type": "string",
 18012              "x-go-name": "Title"
 18013            },
 18014            "updated_at": {
 18015              "type": "string",
 18016              "format": "date-time",
 18017              "x-go-name": "Updated"
 18018            },
 18019            "url": {
 18020              "type": "string",
 18021              "x-go-name": "URL"
 18022            },
 18023            "user": {
 18024              "description": "User represents a user",
 18025              "type": "object",
 18026              "properties": {
 18027                "avatar_url": {
 18028                  "description": "URL to the user's avatar",
 18029                  "type": "string",
 18030                  "x-go-name": "AvatarURL"
 18031                },
 18032                "email": {
 18033                  "type": "string",
 18034                  "format": "email",
 18035                  "x-go-name": "Email"
 18036                },
 18037                "full_name": {
 18038                  "description": "the user's full name",
 18039                  "type": "string",
 18040                  "x-go-name": "FullName"
 18041                },
 18042                "id": {
 18043                  "description": "the user's id",
 18044                  "type": "integer",
 18045                  "format": "int64",
 18046                  "x-go-name": "ID"
 18047                },
 18048                "language": {
 18049                  "description": "User locale",
 18050                  "type": "string",
 18051                  "x-go-name": "Language"
 18052                },
 18053                "login": {
 18054                  "description": "the user's username",
 18055                  "type": "string",
 18056                  "x-go-name": "UserName"
 18057                }
 18058              },
 18059              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18060            }
 18061          },
 18062          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18063        }
 18064      }
 18065    },
 18066    "Label": {
 18067      "description": "Label",
 18068      "schema": {
 18069        "description": "Label a label to an issue or a pr",
 18070        "type": "object",
 18071        "properties": {
 18072          "color": {
 18073            "type": "string",
 18074            "x-go-name": "Color",
 18075            "example": "00aabb"
 18076          },
 18077          "id": {
 18078            "type": "integer",
 18079            "format": "int64",
 18080            "x-go-name": "ID"
 18081          },
 18082          "name": {
 18083            "type": "string",
 18084            "x-go-name": "Name"
 18085          },
 18086          "url": {
 18087            "type": "string",
 18088            "x-go-name": "URL"
 18089          }
 18090        },
 18091        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18092      }
 18093    },
 18094    "LabelList": {
 18095      "description": "LabelList",
 18096      "schema": {
 18097        "type": "array",
 18098        "items": {
 18099          "description": "Label a label to an issue or a pr",
 18100          "type": "object",
 18101          "properties": {
 18102            "color": {
 18103              "type": "string",
 18104              "x-go-name": "Color",
 18105              "example": "00aabb"
 18106            },
 18107            "id": {
 18108              "type": "integer",
 18109              "format": "int64",
 18110              "x-go-name": "ID"
 18111            },
 18112            "name": {
 18113              "type": "string",
 18114              "x-go-name": "Name"
 18115            },
 18116            "url": {
 18117              "type": "string",
 18118              "x-go-name": "URL"
 18119            }
 18120          },
 18121          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18122        }
 18123      }
 18124    },
 18125    "MarkdownRender": {
 18126      "description": "MarkdownRender is a rendered markdown document"
 18127    },
 18128    "Milestone": {
 18129      "description": "Milestone",
 18130      "schema": {
 18131        "description": "Milestone milestone is a collection of issues on one repository",
 18132        "type": "object",
 18133        "properties": {
 18134          "closed_at": {
 18135            "type": "string",
 18136            "format": "date-time",
 18137            "x-go-name": "Closed"
 18138          },
 18139          "closed_issues": {
 18140            "type": "integer",
 18141            "format": "int64",
 18142            "x-go-name": "ClosedIssues"
 18143          },
 18144          "description": {
 18145            "type": "string",
 18146            "x-go-name": "Description"
 18147          },
 18148          "due_on": {
 18149            "type": "string",
 18150            "format": "date-time",
 18151            "x-go-name": "Deadline"
 18152          },
 18153          "id": {
 18154            "type": "integer",
 18155            "format": "int64",
 18156            "x-go-name": "ID"
 18157          },
 18158          "open_issues": {
 18159            "type": "integer",
 18160            "format": "int64",
 18161            "x-go-name": "OpenIssues"
 18162          },
 18163          "state": {
 18164            "description": "StateType issue state type",
 18165            "type": "string",
 18166            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18167          },
 18168          "title": {
 18169            "type": "string",
 18170            "x-go-name": "Title"
 18171          }
 18172        },
 18173        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18174      }
 18175    },
 18176    "MilestoneList": {
 18177      "description": "MilestoneList",
 18178      "schema": {
 18179        "type": "array",
 18180        "items": {
 18181          "description": "Milestone milestone is a collection of issues on one repository",
 18182          "type": "object",
 18183          "properties": {
 18184            "closed_at": {
 18185              "type": "string",
 18186              "format": "date-time",
 18187              "x-go-name": "Closed"
 18188            },
 18189            "closed_issues": {
 18190              "type": "integer",
 18191              "format": "int64",
 18192              "x-go-name": "ClosedIssues"
 18193            },
 18194            "description": {
 18195              "type": "string",
 18196              "x-go-name": "Description"
 18197            },
 18198            "due_on": {
 18199              "type": "string",
 18200              "format": "date-time",
 18201              "x-go-name": "Deadline"
 18202            },
 18203            "id": {
 18204              "type": "integer",
 18205              "format": "int64",
 18206              "x-go-name": "ID"
 18207            },
 18208            "open_issues": {
 18209              "type": "integer",
 18210              "format": "int64",
 18211              "x-go-name": "OpenIssues"
 18212            },
 18213            "state": {
 18214              "description": "StateType issue state type",
 18215              "type": "string",
 18216              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18217            },
 18218            "title": {
 18219              "type": "string",
 18220              "x-go-name": "Title"
 18221            }
 18222          },
 18223          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18224        }
 18225      }
 18226    },
 18227    "Organization": {
 18228      "description": "Organization",
 18229      "schema": {
 18230        "description": "Organization represents an organization",
 18231        "type": "object",
 18232        "properties": {
 18233          "avatar_url": {
 18234            "type": "string",
 18235            "x-go-name": "AvatarURL"
 18236          },
 18237          "description": {
 18238            "type": "string",
 18239            "x-go-name": "Description"
 18240          },
 18241          "full_name": {
 18242            "type": "string",
 18243            "x-go-name": "FullName"
 18244          },
 18245          "id": {
 18246            "type": "integer",
 18247            "format": "int64",
 18248            "x-go-name": "ID"
 18249          },
 18250          "location": {
 18251            "type": "string",
 18252            "x-go-name": "Location"
 18253          },
 18254          "username": {
 18255            "type": "string",
 18256            "x-go-name": "UserName"
 18257          },
 18258          "website": {
 18259            "type": "string",
 18260            "x-go-name": "Website"
 18261          }
 18262        },
 18263        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18264      }
 18265    },
 18266    "OrganizationList": {
 18267      "description": "OrganizationList",
 18268      "schema": {
 18269        "type": "array",
 18270        "items": {
 18271          "description": "Organization represents an organization",
 18272          "type": "object",
 18273          "properties": {
 18274            "avatar_url": {
 18275              "type": "string",
 18276              "x-go-name": "AvatarURL"
 18277            },
 18278            "description": {
 18279              "type": "string",
 18280              "x-go-name": "Description"
 18281            },
 18282            "full_name": {
 18283              "type": "string",
 18284              "x-go-name": "FullName"
 18285            },
 18286            "id": {
 18287              "type": "integer",
 18288              "format": "int64",
 18289              "x-go-name": "ID"
 18290            },
 18291            "location": {
 18292              "type": "string",
 18293              "x-go-name": "Location"
 18294            },
 18295            "username": {
 18296              "type": "string",
 18297              "x-go-name": "UserName"
 18298            },
 18299            "website": {
 18300              "type": "string",
 18301              "x-go-name": "Website"
 18302            }
 18303          },
 18304          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18305        }
 18306      }
 18307    },
 18308    "PublicKey": {
 18309      "description": "PublicKey",
 18310      "schema": {
 18311        "description": "PublicKey publickey is a user key to push code to repository",
 18312        "type": "object",
 18313        "properties": {
 18314          "created_at": {
 18315            "type": "string",
 18316            "format": "date-time",
 18317            "x-go-name": "Created"
 18318          },
 18319          "fingerprint": {
 18320            "type": "string",
 18321            "x-go-name": "Fingerprint"
 18322          },
 18323          "id": {
 18324            "type": "integer",
 18325            "format": "int64",
 18326            "x-go-name": "ID"
 18327          },
 18328          "key": {
 18329            "type": "string",
 18330            "x-go-name": "Key"
 18331          },
 18332          "title": {
 18333            "type": "string",
 18334            "x-go-name": "Title"
 18335          },
 18336          "url": {
 18337            "type": "string",
 18338            "x-go-name": "URL"
 18339          }
 18340        },
 18341        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18342      }
 18343    },
 18344    "PublicKeyList": {
 18345      "description": "PublicKeyList",
 18346      "schema": {
 18347        "type": "array",
 18348        "items": {
 18349          "description": "PublicKey publickey is a user key to push code to repository",
 18350          "type": "object",
 18351          "properties": {
 18352            "created_at": {
 18353              "type": "string",
 18354              "format": "date-time",
 18355              "x-go-name": "Created"
 18356            },
 18357            "fingerprint": {
 18358              "type": "string",
 18359              "x-go-name": "Fingerprint"
 18360            },
 18361            "id": {
 18362              "type": "integer",
 18363              "format": "int64",
 18364              "x-go-name": "ID"
 18365            },
 18366            "key": {
 18367              "type": "string",
 18368              "x-go-name": "Key"
 18369            },
 18370            "title": {
 18371              "type": "string",
 18372              "x-go-name": "Title"
 18373            },
 18374            "url": {
 18375              "type": "string",
 18376              "x-go-name": "URL"
 18377            }
 18378          },
 18379          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18380        }
 18381      }
 18382    },
 18383    "PullRequest": {
 18384      "description": "PullRequest",
 18385      "schema": {
 18386        "description": "PullRequest represents a pull request",
 18387        "type": "object",
 18388        "properties": {
 18389          "assignee": {
 18390            "description": "User represents a user",
 18391            "type": "object",
 18392            "properties": {
 18393              "avatar_url": {
 18394                "description": "URL to the user's avatar",
 18395                "type": "string",
 18396                "x-go-name": "AvatarURL"
 18397              },
 18398              "email": {
 18399                "type": "string",
 18400                "format": "email",
 18401                "x-go-name": "Email"
 18402              },
 18403              "full_name": {
 18404                "description": "the user's full name",
 18405                "type": "string",
 18406                "x-go-name": "FullName"
 18407              },
 18408              "id": {
 18409                "description": "the user's id",
 18410                "type": "integer",
 18411                "format": "int64",
 18412                "x-go-name": "ID"
 18413              },
 18414              "language": {
 18415                "description": "User locale",
 18416                "type": "string",
 18417                "x-go-name": "Language"
 18418              },
 18419              "login": {
 18420                "description": "the user's username",
 18421                "type": "string",
 18422                "x-go-name": "UserName"
 18423              }
 18424            },
 18425            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18426          },
 18427          "assignees": {
 18428            "type": "array",
 18429            "items": {
 18430              "description": "User represents a user",
 18431              "type": "object",
 18432              "properties": {
 18433                "avatar_url": {
 18434                  "description": "URL to the user's avatar",
 18435                  "type": "string",
 18436                  "x-go-name": "AvatarURL"
 18437                },
 18438                "email": {
 18439                  "type": "string",
 18440                  "format": "email",
 18441                  "x-go-name": "Email"
 18442                },
 18443                "full_name": {
 18444                  "description": "the user's full name",
 18445                  "type": "string",
 18446                  "x-go-name": "FullName"
 18447                },
 18448                "id": {
 18449                  "description": "the user's id",
 18450                  "type": "integer",
 18451                  "format": "int64",
 18452                  "x-go-name": "ID"
 18453                },
 18454                "language": {
 18455                  "description": "User locale",
 18456                  "type": "string",
 18457                  "x-go-name": "Language"
 18458                },
 18459                "login": {
 18460                  "description": "the user's username",
 18461                  "type": "string",
 18462                  "x-go-name": "UserName"
 18463                }
 18464              },
 18465              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18466            },
 18467            "x-go-name": "Assignees"
 18468          },
 18469          "base": {
 18470            "description": "PRBranchInfo information about a branch",
 18471            "type": "object",
 18472            "properties": {
 18473              "label": {
 18474                "type": "string",
 18475                "x-go-name": "Name"
 18476              },
 18477              "ref": {
 18478                "type": "string",
 18479                "x-go-name": "Ref"
 18480              },
 18481              "repo": {
 18482                "$ref": "#/definitions/Repository"
 18483              },
 18484              "repo_id": {
 18485                "type": "integer",
 18486                "format": "int64",
 18487                "x-go-name": "RepoID"
 18488              },
 18489              "sha": {
 18490                "type": "string",
 18491                "x-go-name": "Sha"
 18492              }
 18493            },
 18494            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18495          },
 18496          "body": {
 18497            "type": "string",
 18498            "x-go-name": "Body"
 18499          },
 18500          "closed_at": {
 18501            "type": "string",
 18502            "format": "date-time",
 18503            "x-go-name": "Closed"
 18504          },
 18505          "comments": {
 18506            "type": "integer",
 18507            "format": "int64",
 18508            "x-go-name": "Comments"
 18509          },
 18510          "created_at": {
 18511            "type": "string",
 18512            "format": "date-time",
 18513            "x-go-name": "Created"
 18514          },
 18515          "diff_url": {
 18516            "type": "string",
 18517            "x-go-name": "DiffURL"
 18518          },
 18519          "due_date": {
 18520            "type": "string",
 18521            "format": "date-time",
 18522            "x-go-name": "Deadline"
 18523          },
 18524          "head": {
 18525            "description": "PRBranchInfo information about a branch",
 18526            "type": "object",
 18527            "properties": {
 18528              "label": {
 18529                "type": "string",
 18530                "x-go-name": "Name"
 18531              },
 18532              "ref": {
 18533                "type": "string",
 18534                "x-go-name": "Ref"
 18535              },
 18536              "repo": {
 18537                "$ref": "#/definitions/Repository"
 18538              },
 18539              "repo_id": {
 18540                "type": "integer",
 18541                "format": "int64",
 18542                "x-go-name": "RepoID"
 18543              },
 18544              "sha": {
 18545                "type": "string",
 18546                "x-go-name": "Sha"
 18547              }
 18548            },
 18549            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18550          },
 18551          "html_url": {
 18552            "type": "string",
 18553            "x-go-name": "HTMLURL"
 18554          },
 18555          "id": {
 18556            "type": "integer",
 18557            "format": "int64",
 18558            "x-go-name": "ID"
 18559          },
 18560          "labels": {
 18561            "type": "array",
 18562            "items": {
 18563              "description": "Label a label to an issue or a pr",
 18564              "type": "object",
 18565              "properties": {
 18566                "color": {
 18567                  "type": "string",
 18568                  "x-go-name": "Color",
 18569                  "example": "00aabb"
 18570                },
 18571                "id": {
 18572                  "type": "integer",
 18573                  "format": "int64",
 18574                  "x-go-name": "ID"
 18575                },
 18576                "name": {
 18577                  "type": "string",
 18578                  "x-go-name": "Name"
 18579                },
 18580                "url": {
 18581                  "type": "string",
 18582                  "x-go-name": "URL"
 18583                }
 18584              },
 18585              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18586            },
 18587            "x-go-name": "Labels"
 18588          },
 18589          "merge_base": {
 18590            "type": "string",
 18591            "x-go-name": "MergeBase"
 18592          },
 18593          "merge_commit_sha": {
 18594            "type": "string",
 18595            "x-go-name": "MergedCommitID"
 18596          },
 18597          "mergeable": {
 18598            "type": "boolean",
 18599            "x-go-name": "Mergeable"
 18600          },
 18601          "merged": {
 18602            "type": "boolean",
 18603            "x-go-name": "HasMerged"
 18604          },
 18605          "merged_at": {
 18606            "type": "string",
 18607            "format": "date-time",
 18608            "x-go-name": "Merged"
 18609          },
 18610          "merged_by": {
 18611            "description": "User represents a user",
 18612            "type": "object",
 18613            "properties": {
 18614              "avatar_url": {
 18615                "description": "URL to the user's avatar",
 18616                "type": "string",
 18617                "x-go-name": "AvatarURL"
 18618              },
 18619              "email": {
 18620                "type": "string",
 18621                "format": "email",
 18622                "x-go-name": "Email"
 18623              },
 18624              "full_name": {
 18625                "description": "the user's full name",
 18626                "type": "string",
 18627                "x-go-name": "FullName"
 18628              },
 18629              "id": {
 18630                "description": "the user's id",
 18631                "type": "integer",
 18632                "format": "int64",
 18633                "x-go-name": "ID"
 18634              },
 18635              "language": {
 18636                "description": "User locale",
 18637                "type": "string",
 18638                "x-go-name": "Language"
 18639              },
 18640              "login": {
 18641                "description": "the user's username",
 18642                "type": "string",
 18643                "x-go-name": "UserName"
 18644              }
 18645            },
 18646            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18647          },
 18648          "milestone": {
 18649            "description": "Milestone milestone is a collection of issues on one repository",
 18650            "type": "object",
 18651            "properties": {
 18652              "closed_at": {
 18653                "type": "string",
 18654                "format": "date-time",
 18655                "x-go-name": "Closed"
 18656              },
 18657              "closed_issues": {
 18658                "type": "integer",
 18659                "format": "int64",
 18660                "x-go-name": "ClosedIssues"
 18661              },
 18662              "description": {
 18663                "type": "string",
 18664                "x-go-name": "Description"
 18665              },
 18666              "due_on": {
 18667                "type": "string",
 18668                "format": "date-time",
 18669                "x-go-name": "Deadline"
 18670              },
 18671              "id": {
 18672                "type": "integer",
 18673                "format": "int64",
 18674                "x-go-name": "ID"
 18675              },
 18676              "open_issues": {
 18677                "type": "integer",
 18678                "format": "int64",
 18679                "x-go-name": "OpenIssues"
 18680              },
 18681              "state": {
 18682                "description": "StateType issue state type",
 18683                "type": "string",
 18684                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18685              },
 18686              "title": {
 18687                "type": "string",
 18688                "x-go-name": "Title"
 18689              }
 18690            },
 18691            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18692          },
 18693          "number": {
 18694            "type": "integer",
 18695            "format": "int64",
 18696            "x-go-name": "Index"
 18697          },
 18698          "patch_url": {
 18699            "type": "string",
 18700            "x-go-name": "PatchURL"
 18701          },
 18702          "state": {
 18703            "description": "StateType issue state type",
 18704            "type": "string",
 18705            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18706          },
 18707          "title": {
 18708            "type": "string",
 18709            "x-go-name": "Title"
 18710          },
 18711          "updated_at": {
 18712            "type": "string",
 18713            "format": "date-time",
 18714            "x-go-name": "Updated"
 18715          },
 18716          "url": {
 18717            "type": "string",
 18718            "x-go-name": "URL"
 18719          },
 18720          "user": {
 18721            "description": "User represents a user",
 18722            "type": "object",
 18723            "properties": {
 18724              "avatar_url": {
 18725                "description": "URL to the user's avatar",
 18726                "type": "string",
 18727                "x-go-name": "AvatarURL"
 18728              },
 18729              "email": {
 18730                "type": "string",
 18731                "format": "email",
 18732                "x-go-name": "Email"
 18733              },
 18734              "full_name": {
 18735                "description": "the user's full name",
 18736                "type": "string",
 18737                "x-go-name": "FullName"
 18738              },
 18739              "id": {
 18740                "description": "the user's id",
 18741                "type": "integer",
 18742                "format": "int64",
 18743                "x-go-name": "ID"
 18744              },
 18745              "language": {
 18746                "description": "User locale",
 18747                "type": "string",
 18748                "x-go-name": "Language"
 18749              },
 18750              "login": {
 18751                "description": "the user's username",
 18752                "type": "string",
 18753                "x-go-name": "UserName"
 18754              }
 18755            },
 18756            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18757          }
 18758        },
 18759        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18760      }
 18761    },
 18762    "PullRequestList": {
 18763      "description": "PullRequestList",
 18764      "schema": {
 18765        "type": "array",
 18766        "items": {
 18767          "description": "PullRequest represents a pull request",
 18768          "type": "object",
 18769          "properties": {
 18770            "assignee": {
 18771              "description": "User represents a user",
 18772              "type": "object",
 18773              "properties": {
 18774                "avatar_url": {
 18775                  "description": "URL to the user's avatar",
 18776                  "type": "string",
 18777                  "x-go-name": "AvatarURL"
 18778                },
 18779                "email": {
 18780                  "type": "string",
 18781                  "format": "email",
 18782                  "x-go-name": "Email"
 18783                },
 18784                "full_name": {
 18785                  "description": "the user's full name",
 18786                  "type": "string",
 18787                  "x-go-name": "FullName"
 18788                },
 18789                "id": {
 18790                  "description": "the user's id",
 18791                  "type": "integer",
 18792                  "format": "int64",
 18793                  "x-go-name": "ID"
 18794                },
 18795                "language": {
 18796                  "description": "User locale",
 18797                  "type": "string",
 18798                  "x-go-name": "Language"
 18799                },
 18800                "login": {
 18801                  "description": "the user's username",
 18802                  "type": "string",
 18803                  "x-go-name": "UserName"
 18804                }
 18805              },
 18806              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18807            },
 18808            "assignees": {
 18809              "type": "array",
 18810              "items": {
 18811                "description": "User represents a user",
 18812                "type": "object",
 18813                "properties": {
 18814                  "avatar_url": {
 18815                    "description": "URL to the user's avatar",
 18816                    "type": "string",
 18817                    "x-go-name": "AvatarURL"
 18818                  },
 18819                  "email": {
 18820                    "type": "string",
 18821                    "format": "email",
 18822                    "x-go-name": "Email"
 18823                  },
 18824                  "full_name": {
 18825                    "description": "the user's full name",
 18826                    "type": "string",
 18827                    "x-go-name": "FullName"
 18828                  },
 18829                  "id": {
 18830                    "description": "the user's id",
 18831                    "type": "integer",
 18832                    "format": "int64",
 18833                    "x-go-name": "ID"
 18834                  },
 18835                  "language": {
 18836                    "description": "User locale",
 18837                    "type": "string",
 18838                    "x-go-name": "Language"
 18839                  },
 18840                  "login": {
 18841                    "description": "the user's username",
 18842                    "type": "string",
 18843                    "x-go-name": "UserName"
 18844                  }
 18845                },
 18846                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18847              },
 18848              "x-go-name": "Assignees"
 18849            },
 18850            "base": {
 18851              "description": "PRBranchInfo information about a branch",
 18852              "type": "object",
 18853              "properties": {
 18854                "label": {
 18855                  "type": "string",
 18856                  "x-go-name": "Name"
 18857                },
 18858                "ref": {
 18859                  "type": "string",
 18860                  "x-go-name": "Ref"
 18861                },
 18862                "repo": {
 18863                  "$ref": "#/definitions/Repository"
 18864                },
 18865                "repo_id": {
 18866                  "type": "integer",
 18867                  "format": "int64",
 18868                  "x-go-name": "RepoID"
 18869                },
 18870                "sha": {
 18871                  "type": "string",
 18872                  "x-go-name": "Sha"
 18873                }
 18874              },
 18875              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18876            },
 18877            "body": {
 18878              "type": "string",
 18879              "x-go-name": "Body"
 18880            },
 18881            "closed_at": {
 18882              "type": "string",
 18883              "format": "date-time",
 18884              "x-go-name": "Closed"
 18885            },
 18886            "comments": {
 18887              "type": "integer",
 18888              "format": "int64",
 18889              "x-go-name": "Comments"
 18890            },
 18891            "created_at": {
 18892              "type": "string",
 18893              "format": "date-time",
 18894              "x-go-name": "Created"
 18895            },
 18896            "diff_url": {
 18897              "type": "string",
 18898              "x-go-name": "DiffURL"
 18899            },
 18900            "due_date": {
 18901              "type": "string",
 18902              "format": "date-time",
 18903              "x-go-name": "Deadline"
 18904            },
 18905            "head": {
 18906              "description": "PRBranchInfo information about a branch",
 18907              "type": "object",
 18908              "properties": {
 18909                "label": {
 18910                  "type": "string",
 18911                  "x-go-name": "Name"
 18912                },
 18913                "ref": {
 18914                  "type": "string",
 18915                  "x-go-name": "Ref"
 18916                },
 18917                "repo": {
 18918                  "$ref": "#/definitions/Repository"
 18919                },
 18920                "repo_id": {
 18921                  "type": "integer",
 18922                  "format": "int64",
 18923                  "x-go-name": "RepoID"
 18924                },
 18925                "sha": {
 18926                  "type": "string",
 18927                  "x-go-name": "Sha"
 18928                }
 18929              },
 18930              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18931            },
 18932            "html_url": {
 18933              "type": "string",
 18934              "x-go-name": "HTMLURL"
 18935            },
 18936            "id": {
 18937              "type": "integer",
 18938              "format": "int64",
 18939              "x-go-name": "ID"
 18940            },
 18941            "labels": {
 18942              "type": "array",
 18943              "items": {
 18944                "description": "Label a label to an issue or a pr",
 18945                "type": "object",
 18946                "properties": {
 18947                  "color": {
 18948                    "type": "string",
 18949                    "x-go-name": "Color",
 18950                    "example": "00aabb"
 18951                  },
 18952                  "id": {
 18953                    "type": "integer",
 18954                    "format": "int64",
 18955                    "x-go-name": "ID"
 18956                  },
 18957                  "name": {
 18958                    "type": "string",
 18959                    "x-go-name": "Name"
 18960                  },
 18961                  "url": {
 18962                    "type": "string",
 18963                    "x-go-name": "URL"
 18964                  }
 18965                },
 18966                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 18967              },
 18968              "x-go-name": "Labels"
 18969            },
 18970            "merge_base": {
 18971              "type": "string",
 18972              "x-go-name": "MergeBase"
 18973            },
 18974            "merge_commit_sha": {
 18975              "type": "string",
 18976              "x-go-name": "MergedCommitID"
 18977            },
 18978            "mergeable": {
 18979              "type": "boolean",
 18980              "x-go-name": "Mergeable"
 18981            },
 18982            "merged": {
 18983              "type": "boolean",
 18984              "x-go-name": "HasMerged"
 18985            },
 18986            "merged_at": {
 18987              "type": "string",
 18988              "format": "date-time",
 18989              "x-go-name": "Merged"
 18990            },
 18991            "merged_by": {
 18992              "description": "User represents a user",
 18993              "type": "object",
 18994              "properties": {
 18995                "avatar_url": {
 18996                  "description": "URL to the user's avatar",
 18997                  "type": "string",
 18998                  "x-go-name": "AvatarURL"
 18999                },
 19000                "email": {
 19001                  "type": "string",
 19002                  "format": "email",
 19003                  "x-go-name": "Email"
 19004                },
 19005                "full_name": {
 19006                  "description": "the user's full name",
 19007                  "type": "string",
 19008                  "x-go-name": "FullName"
 19009                },
 19010                "id": {
 19011                  "description": "the user's id",
 19012                  "type": "integer",
 19013                  "format": "int64",
 19014                  "x-go-name": "ID"
 19015                },
 19016                "language": {
 19017                  "description": "User locale",
 19018                  "type": "string",
 19019                  "x-go-name": "Language"
 19020                },
 19021                "login": {
 19022                  "description": "the user's username",
 19023                  "type": "string",
 19024                  "x-go-name": "UserName"
 19025                }
 19026              },
 19027              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19028            },
 19029            "milestone": {
 19030              "description": "Milestone milestone is a collection of issues on one repository",
 19031              "type": "object",
 19032              "properties": {
 19033                "closed_at": {
 19034                  "type": "string",
 19035                  "format": "date-time",
 19036                  "x-go-name": "Closed"
 19037                },
 19038                "closed_issues": {
 19039                  "type": "integer",
 19040                  "format": "int64",
 19041                  "x-go-name": "ClosedIssues"
 19042                },
 19043                "description": {
 19044                  "type": "string",
 19045                  "x-go-name": "Description"
 19046                },
 19047                "due_on": {
 19048                  "type": "string",
 19049                  "format": "date-time",
 19050                  "x-go-name": "Deadline"
 19051                },
 19052                "id": {
 19053                  "type": "integer",
 19054                  "format": "int64",
 19055                  "x-go-name": "ID"
 19056                },
 19057                "open_issues": {
 19058                  "type": "integer",
 19059                  "format": "int64",
 19060                  "x-go-name": "OpenIssues"
 19061                },
 19062                "state": {
 19063                  "description": "StateType issue state type",
 19064                  "type": "string",
 19065                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19066                },
 19067                "title": {
 19068                  "type": "string",
 19069                  "x-go-name": "Title"
 19070                }
 19071              },
 19072              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19073            },
 19074            "number": {
 19075              "type": "integer",
 19076              "format": "int64",
 19077              "x-go-name": "Index"
 19078            },
 19079            "patch_url": {
 19080              "type": "string",
 19081              "x-go-name": "PatchURL"
 19082            },
 19083            "state": {
 19084              "description": "StateType issue state type",
 19085              "type": "string",
 19086              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19087            },
 19088            "title": {
 19089              "type": "string",
 19090              "x-go-name": "Title"
 19091            },
 19092            "updated_at": {
 19093              "type": "string",
 19094              "format": "date-time",
 19095              "x-go-name": "Updated"
 19096            },
 19097            "url": {
 19098              "type": "string",
 19099              "x-go-name": "URL"
 19100            },
 19101            "user": {
 19102              "description": "User represents a user",
 19103              "type": "object",
 19104              "properties": {
 19105                "avatar_url": {
 19106                  "description": "URL to the user's avatar",
 19107                  "type": "string",
 19108                  "x-go-name": "AvatarURL"
 19109                },
 19110                "email": {
 19111                  "type": "string",
 19112                  "format": "email",
 19113                  "x-go-name": "Email"
 19114                },
 19115                "full_name": {
 19116                  "description": "the user's full name",
 19117                  "type": "string",
 19118                  "x-go-name": "FullName"
 19119                },
 19120                "id": {
 19121                  "description": "the user's id",
 19122                  "type": "integer",
 19123                  "format": "int64",
 19124                  "x-go-name": "ID"
 19125                },
 19126                "language": {
 19127                  "description": "User locale",
 19128                  "type": "string",
 19129                  "x-go-name": "Language"
 19130                },
 19131                "login": {
 19132                  "description": "the user's username",
 19133                  "type": "string",
 19134                  "x-go-name": "UserName"
 19135                }
 19136              },
 19137              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19138            }
 19139          },
 19140          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19141        }
 19142      }
 19143    },
 19144    "Release": {
 19145      "description": "Release",
 19146      "schema": {
 19147        "description": "Release represents a repository release",
 19148        "type": "object",
 19149        "properties": {
 19150          "assets": {
 19151            "type": "array",
 19152            "items": {
 19153              "description": "Attachment a generic attachment",
 19154              "type": "object",
 19155              "properties": {
 19156                "browser_download_url": {
 19157                  "type": "string",
 19158                  "x-go-name": "DownloadURL"
 19159                },
 19160                "created_at": {
 19161                  "type": "string",
 19162                  "format": "date-time",
 19163                  "x-go-name": "Created"
 19164                },
 19165                "download_count": {
 19166                  "type": "integer",
 19167                  "format": "int64",
 19168                  "x-go-name": "DownloadCount"
 19169                },
 19170                "id": {
 19171                  "type": "integer",
 19172                  "format": "int64",
 19173                  "x-go-name": "ID"
 19174                },
 19175                "name": {
 19176                  "type": "string",
 19177                  "x-go-name": "Name"
 19178                },
 19179                "size": {
 19180                  "type": "integer",
 19181                  "format": "int64",
 19182                  "x-go-name": "Size"
 19183                },
 19184                "uuid": {
 19185                  "type": "string",
 19186                  "x-go-name": "UUID"
 19187                }
 19188              },
 19189              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19190            },
 19191            "x-go-name": "Attachments"
 19192          },
 19193          "author": {
 19194            "description": "User represents a user",
 19195            "type": "object",
 19196            "properties": {
 19197              "avatar_url": {
 19198                "description": "URL to the user's avatar",
 19199                "type": "string",
 19200                "x-go-name": "AvatarURL"
 19201              },
 19202              "email": {
 19203                "type": "string",
 19204                "format": "email",
 19205                "x-go-name": "Email"
 19206              },
 19207              "full_name": {
 19208                "description": "the user's full name",
 19209                "type": "string",
 19210                "x-go-name": "FullName"
 19211              },
 19212              "id": {
 19213                "description": "the user's id",
 19214                "type": "integer",
 19215                "format": "int64",
 19216                "x-go-name": "ID"
 19217              },
 19218              "language": {
 19219                "description": "User locale",
 19220                "type": "string",
 19221                "x-go-name": "Language"
 19222              },
 19223              "login": {
 19224                "description": "the user's username",
 19225                "type": "string",
 19226                "x-go-name": "UserName"
 19227              }
 19228            },
 19229            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19230          },
 19231          "body": {
 19232            "type": "string",
 19233            "x-go-name": "Note"
 19234          },
 19235          "created_at": {
 19236            "type": "string",
 19237            "format": "date-time",
 19238            "x-go-name": "CreatedAt"
 19239          },
 19240          "draft": {
 19241            "type": "boolean",
 19242            "x-go-name": "IsDraft"
 19243          },
 19244          "id": {
 19245            "type": "integer",
 19246            "format": "int64",
 19247            "x-go-name": "ID"
 19248          },
 19249          "name": {
 19250            "type": "string",
 19251            "x-go-name": "Title"
 19252          },
 19253          "prerelease": {
 19254            "type": "boolean",
 19255            "x-go-name": "IsPrerelease"
 19256          },
 19257          "published_at": {
 19258            "type": "string",
 19259            "format": "date-time",
 19260            "x-go-name": "PublishedAt"
 19261          },
 19262          "tag_name": {
 19263            "type": "string",
 19264            "x-go-name": "TagName"
 19265          },
 19266          "tarball_url": {
 19267            "type": "string",
 19268            "x-go-name": "TarURL"
 19269          },
 19270          "target_commitish": {
 19271            "type": "string",
 19272            "x-go-name": "Target"
 19273          },
 19274          "url": {
 19275            "type": "string",
 19276            "x-go-name": "URL"
 19277          },
 19278          "zipball_url": {
 19279            "type": "string",
 19280            "x-go-name": "ZipURL"
 19281          }
 19282        },
 19283        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19284      }
 19285    },
 19286    "ReleaseList": {
 19287      "description": "ReleaseList",
 19288      "schema": {
 19289        "type": "array",
 19290        "items": {
 19291          "description": "Release represents a repository release",
 19292          "type": "object",
 19293          "properties": {
 19294            "assets": {
 19295              "type": "array",
 19296              "items": {
 19297                "description": "Attachment a generic attachment",
 19298                "type": "object",
 19299                "properties": {
 19300                  "browser_download_url": {
 19301                    "type": "string",
 19302                    "x-go-name": "DownloadURL"
 19303                  },
 19304                  "created_at": {
 19305                    "type": "string",
 19306                    "format": "date-time",
 19307                    "x-go-name": "Created"
 19308                  },
 19309                  "download_count": {
 19310                    "type": "integer",
 19311                    "format": "int64",
 19312                    "x-go-name": "DownloadCount"
 19313                  },
 19314                  "id": {
 19315                    "type": "integer",
 19316                    "format": "int64",
 19317                    "x-go-name": "ID"
 19318                  },
 19319                  "name": {
 19320                    "type": "string",
 19321                    "x-go-name": "Name"
 19322                  },
 19323                  "size": {
 19324                    "type": "integer",
 19325                    "format": "int64",
 19326                    "x-go-name": "Size"
 19327                  },
 19328                  "uuid": {
 19329                    "type": "string",
 19330                    "x-go-name": "UUID"
 19331                  }
 19332                },
 19333                "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19334              },
 19335              "x-go-name": "Attachments"
 19336            },
 19337            "author": {
 19338              "description": "User represents a user",
 19339              "type": "object",
 19340              "properties": {
 19341                "avatar_url": {
 19342                  "description": "URL to the user's avatar",
 19343                  "type": "string",
 19344                  "x-go-name": "AvatarURL"
 19345                },
 19346                "email": {
 19347                  "type": "string",
 19348                  "format": "email",
 19349                  "x-go-name": "Email"
 19350                },
 19351                "full_name": {
 19352                  "description": "the user's full name",
 19353                  "type": "string",
 19354                  "x-go-name": "FullName"
 19355                },
 19356                "id": {
 19357                  "description": "the user's id",
 19358                  "type": "integer",
 19359                  "format": "int64",
 19360                  "x-go-name": "ID"
 19361                },
 19362                "language": {
 19363                  "description": "User locale",
 19364                  "type": "string",
 19365                  "x-go-name": "Language"
 19366                },
 19367                "login": {
 19368                  "description": "the user's username",
 19369                  "type": "string",
 19370                  "x-go-name": "UserName"
 19371                }
 19372              },
 19373              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19374            },
 19375            "body": {
 19376              "type": "string",
 19377              "x-go-name": "Note"
 19378            },
 19379            "created_at": {
 19380              "type": "string",
 19381              "format": "date-time",
 19382              "x-go-name": "CreatedAt"
 19383            },
 19384            "draft": {
 19385              "type": "boolean",
 19386              "x-go-name": "IsDraft"
 19387            },
 19388            "id": {
 19389              "type": "integer",
 19390              "format": "int64",
 19391              "x-go-name": "ID"
 19392            },
 19393            "name": {
 19394              "type": "string",
 19395              "x-go-name": "Title"
 19396            },
 19397            "prerelease": {
 19398              "type": "boolean",
 19399              "x-go-name": "IsPrerelease"
 19400            },
 19401            "published_at": {
 19402              "type": "string",
 19403              "format": "date-time",
 19404              "x-go-name": "PublishedAt"
 19405            },
 19406            "tag_name": {
 19407              "type": "string",
 19408              "x-go-name": "TagName"
 19409            },
 19410            "tarball_url": {
 19411              "type": "string",
 19412              "x-go-name": "TarURL"
 19413            },
 19414            "target_commitish": {
 19415              "type": "string",
 19416              "x-go-name": "Target"
 19417            },
 19418            "url": {
 19419              "type": "string",
 19420              "x-go-name": "URL"
 19421            },
 19422            "zipball_url": {
 19423              "type": "string",
 19424              "x-go-name": "ZipURL"
 19425            }
 19426          },
 19427          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19428        }
 19429      }
 19430    },
 19431    "Repository": {
 19432      "description": "Repository",
 19433      "schema": {
 19434        "$ref": "#/definitions/Repository"
 19435      }
 19436    },
 19437    "RepositoryList": {
 19438      "description": "RepositoryList",
 19439      "schema": {
 19440        "type": "array",
 19441        "items": {
 19442          "$ref": "#/definitions/Repository"
 19443        }
 19444      }
 19445    },
 19446    "SearchResults": {
 19447      "description": "SearchResults",
 19448      "schema": {
 19449        "description": "SearchResults results of a successful search",
 19450        "type": "object",
 19451        "properties": {
 19452          "data": {
 19453            "type": "array",
 19454            "items": {
 19455              "description": "Repository represents a repository",
 19456              "type": "object",
 19457              "properties": {
 19458                "clone_url": {
 19459                  "type": "string",
 19460                  "x-go-name": "CloneURL"
 19461                },
 19462                "created_at": {
 19463                  "type": "string",
 19464                  "format": "date-time",
 19465                  "x-go-name": "Created"
 19466                },
 19467                "default_branch": {
 19468                  "type": "string",
 19469                  "x-go-name": "DefaultBranch"
 19470                },
 19471                "description": {
 19472                  "type": "string",
 19473                  "x-go-name": "Description"
 19474                },
 19475                "empty": {
 19476                  "type": "boolean",
 19477                  "x-go-name": "Empty"
 19478                },
 19479                "fork": {
 19480                  "type": "boolean",
 19481                  "x-go-name": "Fork"
 19482                },
 19483                "forks_count": {
 19484                  "type": "integer",
 19485                  "format": "int64",
 19486                  "x-go-name": "Forks"
 19487                },
 19488                "full_name": {
 19489                  "type": "string",
 19490                  "x-go-name": "FullName"
 19491                },
 19492                "html_url": {
 19493                  "type": "string",
 19494                  "x-go-name": "HTMLURL"
 19495                },
 19496                "id": {
 19497                  "type": "integer",
 19498                  "format": "int64",
 19499                  "x-go-name": "ID"
 19500                },
 19501                "mirror": {
 19502                  "type": "boolean",
 19503                  "x-go-name": "Mirror"
 19504                },
 19505                "name": {
 19506                  "type": "string",
 19507                  "x-go-name": "Name"
 19508                },
 19509                "open_issues_count": {
 19510                  "type": "integer",
 19511                  "format": "int64",
 19512                  "x-go-name": "OpenIssues"
 19513                },
 19514                "owner": {
 19515                  "description": "User represents a user",
 19516                  "type": "object",
 19517                  "properties": {
 19518                    "avatar_url": {
 19519                      "description": "URL to the user's avatar",
 19520                      "type": "string",
 19521                      "x-go-name": "AvatarURL"
 19522                    },
 19523                    "email": {
 19524                      "type": "string",
 19525                      "format": "email",
 19526                      "x-go-name": "Email"
 19527                    },
 19528                    "full_name": {
 19529                      "description": "the user's full name",
 19530                      "type": "string",
 19531                      "x-go-name": "FullName"
 19532                    },
 19533                    "id": {
 19534                      "description": "the user's id",
 19535                      "type": "integer",
 19536                      "format": "int64",
 19537                      "x-go-name": "ID"
 19538                    },
 19539                    "language": {
 19540                      "description": "User locale",
 19541                      "type": "string",
 19542                      "x-go-name": "Language"
 19543                    },
 19544                    "login": {
 19545                      "description": "the user's username",
 19546                      "type": "string",
 19547                      "x-go-name": "UserName"
 19548                    }
 19549                  },
 19550                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19551                },
 19552                "parent": {
 19553                  "$ref": "#/definitions/Repository"
 19554                },
 19555                "permissions": {
 19556                  "description": "Permission represents a set of permissions",
 19557                  "type": "object",
 19558                  "properties": {
 19559                    "admin": {
 19560                      "type": "boolean",
 19561                      "x-go-name": "Admin"
 19562                    },
 19563                    "pull": {
 19564                      "type": "boolean",
 19565                      "x-go-name": "Pull"
 19566                    },
 19567                    "push": {
 19568                      "type": "boolean",
 19569                      "x-go-name": "Push"
 19570                    }
 19571                  },
 19572                  "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19573                },
 19574                "private": {
 19575                  "type": "boolean",
 19576                  "x-go-name": "Private"
 19577                },
 19578                "size": {
 19579                  "type": "integer",
 19580                  "format": "int64",
 19581                  "x-go-name": "Size"
 19582                },
 19583                "ssh_url": {
 19584                  "type": "string",
 19585                  "x-go-name": "SSHURL"
 19586                },
 19587                "stars_count": {
 19588                  "type": "integer",
 19589                  "format": "int64",
 19590                  "x-go-name": "Stars"
 19591                },
 19592                "updated_at": {
 19593                  "type": "string",
 19594                  "format": "date-time",
 19595                  "x-go-name": "Updated"
 19596                },
 19597                "watchers_count": {
 19598                  "type": "integer",
 19599                  "format": "int64",
 19600                  "x-go-name": "Watchers"
 19601                },
 19602                "website": {
 19603                  "type": "string",
 19604                  "x-go-name": "Website"
 19605                }
 19606              },
 19607              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19608            },
 19609            "x-go-name": "Data"
 19610          },
 19611          "ok": {
 19612            "type": "boolean",
 19613            "x-go-name": "OK"
 19614          }
 19615        },
 19616        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19617      }
 19618    },
 19619    "ServerVersion": {
 19620      "description": "ServerVersion",
 19621      "schema": {
 19622        "description": "ServerVersion wraps the version of the server",
 19623        "type": "object",
 19624        "properties": {
 19625          "version": {
 19626            "type": "string",
 19627            "x-go-name": "Version"
 19628          }
 19629        },
 19630        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19631      }
 19632    },
 19633    "Status": {
 19634      "description": "Status",
 19635      "schema": {
 19636        "description": "Status holds a single Status of a single Commit",
 19637        "type": "object",
 19638        "properties": {
 19639          "context": {
 19640            "type": "string",
 19641            "x-go-name": "Context"
 19642          },
 19643          "created_at": {
 19644            "type": "string",
 19645            "format": "date-time",
 19646            "x-go-name": "Created"
 19647          },
 19648          "creator": {
 19649            "description": "User represents a user",
 19650            "type": "object",
 19651            "properties": {
 19652              "avatar_url": {
 19653                "description": "URL to the user's avatar",
 19654                "type": "string",
 19655                "x-go-name": "AvatarURL"
 19656              },
 19657              "email": {
 19658                "type": "string",
 19659                "format": "email",
 19660                "x-go-name": "Email"
 19661              },
 19662              "full_name": {
 19663                "description": "the user's full name",
 19664                "type": "string",
 19665                "x-go-name": "FullName"
 19666              },
 19667              "id": {
 19668                "description": "the user's id",
 19669                "type": "integer",
 19670                "format": "int64",
 19671                "x-go-name": "ID"
 19672              },
 19673              "language": {
 19674                "description": "User locale",
 19675                "type": "string",
 19676                "x-go-name": "Language"
 19677              },
 19678              "login": {
 19679                "description": "the user's username",
 19680                "type": "string",
 19681                "x-go-name": "UserName"
 19682              }
 19683            },
 19684            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19685          },
 19686          "description": {
 19687            "type": "string",
 19688            "x-go-name": "Description"
 19689          },
 19690          "id": {
 19691            "type": "integer",
 19692            "format": "int64",
 19693            "x-go-name": "ID"
 19694          },
 19695          "status": {
 19696            "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 19697            "type": "string",
 19698            "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19699          },
 19700          "target_url": {
 19701            "type": "string",
 19702            "x-go-name": "TargetURL"
 19703          },
 19704          "updated_at": {
 19705            "type": "string",
 19706            "format": "date-time",
 19707            "x-go-name": "Updated"
 19708          },
 19709          "url": {
 19710            "type": "string",
 19711            "x-go-name": "URL"
 19712          }
 19713        },
 19714        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19715      }
 19716    },
 19717    "StatusList": {
 19718      "description": "StatusList",
 19719      "schema": {
 19720        "type": "array",
 19721        "items": {
 19722          "description": "Status holds a single Status of a single Commit",
 19723          "type": "object",
 19724          "properties": {
 19725            "context": {
 19726              "type": "string",
 19727              "x-go-name": "Context"
 19728            },
 19729            "created_at": {
 19730              "type": "string",
 19731              "format": "date-time",
 19732              "x-go-name": "Created"
 19733            },
 19734            "creator": {
 19735              "description": "User represents a user",
 19736              "type": "object",
 19737              "properties": {
 19738                "avatar_url": {
 19739                  "description": "URL to the user's avatar",
 19740                  "type": "string",
 19741                  "x-go-name": "AvatarURL"
 19742                },
 19743                "email": {
 19744                  "type": "string",
 19745                  "format": "email",
 19746                  "x-go-name": "Email"
 19747                },
 19748                "full_name": {
 19749                  "description": "the user's full name",
 19750                  "type": "string",
 19751                  "x-go-name": "FullName"
 19752                },
 19753                "id": {
 19754                  "description": "the user's id",
 19755                  "type": "integer",
 19756                  "format": "int64",
 19757                  "x-go-name": "ID"
 19758                },
 19759                "language": {
 19760                  "description": "User locale",
 19761                  "type": "string",
 19762                  "x-go-name": "Language"
 19763                },
 19764                "login": {
 19765                  "description": "the user's username",
 19766                  "type": "string",
 19767                  "x-go-name": "UserName"
 19768                }
 19769              },
 19770              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19771            },
 19772            "description": {
 19773              "type": "string",
 19774              "x-go-name": "Description"
 19775            },
 19776            "id": {
 19777              "type": "integer",
 19778              "format": "int64",
 19779              "x-go-name": "ID"
 19780            },
 19781            "status": {
 19782              "description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
 19783              "type": "string",
 19784              "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19785            },
 19786            "target_url": {
 19787              "type": "string",
 19788              "x-go-name": "TargetURL"
 19789            },
 19790            "updated_at": {
 19791              "type": "string",
 19792              "format": "date-time",
 19793              "x-go-name": "Updated"
 19794            },
 19795            "url": {
 19796              "type": "string",
 19797              "x-go-name": "URL"
 19798            }
 19799          },
 19800          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19801        }
 19802      }
 19803    },
 19804    "Team": {
 19805      "description": "Team",
 19806      "schema": {
 19807        "description": "Team represents a team in an organization",
 19808        "type": "object",
 19809        "properties": {
 19810          "description": {
 19811            "type": "string",
 19812            "x-go-name": "Description"
 19813          },
 19814          "id": {
 19815            "type": "integer",
 19816            "format": "int64",
 19817            "x-go-name": "ID"
 19818          },
 19819          "name": {
 19820            "type": "string",
 19821            "x-go-name": "Name"
 19822          },
 19823          "permission": {
 19824            "type": "string",
 19825            "enum": [
 19826              "none",
 19827              "read",
 19828              "write",
 19829              "admin",
 19830              "owner"
 19831            ],
 19832            "x-go-name": "Permission"
 19833          }
 19834        },
 19835        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19836      }
 19837    },
 19838    "TeamList": {
 19839      "description": "TeamList",
 19840      "schema": {
 19841        "type": "array",
 19842        "items": {
 19843          "description": "Team represents a team in an organization",
 19844          "type": "object",
 19845          "properties": {
 19846            "description": {
 19847              "type": "string",
 19848              "x-go-name": "Description"
 19849            },
 19850            "id": {
 19851              "type": "integer",
 19852              "format": "int64",
 19853              "x-go-name": "ID"
 19854            },
 19855            "name": {
 19856              "type": "string",
 19857              "x-go-name": "Name"
 19858            },
 19859            "permission": {
 19860              "type": "string",
 19861              "enum": [
 19862                "none",
 19863                "read",
 19864                "write",
 19865                "admin",
 19866                "owner"
 19867              ],
 19868              "x-go-name": "Permission"
 19869            }
 19870          },
 19871          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19872        }
 19873      }
 19874    },
 19875    "TrackedTime": {
 19876      "description": "TrackedTime",
 19877      "schema": {
 19878        "description": "TrackedTime worked time for an issue / pr",
 19879        "type": "object",
 19880        "properties": {
 19881          "created": {
 19882            "type": "string",
 19883            "format": "date-time",
 19884            "x-go-name": "Created"
 19885          },
 19886          "id": {
 19887            "type": "integer",
 19888            "format": "int64",
 19889            "x-go-name": "ID"
 19890          },
 19891          "issue_id": {
 19892            "type": "integer",
 19893            "format": "int64",
 19894            "x-go-name": "IssueID"
 19895          },
 19896          "time": {
 19897            "description": "Time in seconds",
 19898            "type": "integer",
 19899            "format": "int64",
 19900            "x-go-name": "Time"
 19901          },
 19902          "user_id": {
 19903            "type": "integer",
 19904            "format": "int64",
 19905            "x-go-name": "UserID"
 19906          }
 19907        },
 19908        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19909      }
 19910    },
 19911    "TrackedTimeList": {
 19912      "description": "TrackedTimeList",
 19913      "schema": {
 19914        "type": "array",
 19915        "items": {
 19916          "description": "TrackedTime worked time for an issue / pr",
 19917          "type": "object",
 19918          "properties": {
 19919            "created": {
 19920              "type": "string",
 19921              "format": "date-time",
 19922              "x-go-name": "Created"
 19923            },
 19924            "id": {
 19925              "type": "integer",
 19926              "format": "int64",
 19927              "x-go-name": "ID"
 19928            },
 19929            "issue_id": {
 19930              "type": "integer",
 19931              "format": "int64",
 19932              "x-go-name": "IssueID"
 19933            },
 19934            "time": {
 19935              "description": "Time in seconds",
 19936              "type": "integer",
 19937              "format": "int64",
 19938              "x-go-name": "Time"
 19939            },
 19940            "user_id": {
 19941              "type": "integer",
 19942              "format": "int64",
 19943              "x-go-name": "UserID"
 19944            }
 19945          },
 19946          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19947        }
 19948      }
 19949    },
 19950    "User": {
 19951      "description": "User",
 19952      "schema": {
 19953        "description": "User represents a user",
 19954        "type": "object",
 19955        "properties": {
 19956          "avatar_url": {
 19957            "description": "URL to the user's avatar",
 19958            "type": "string",
 19959            "x-go-name": "AvatarURL"
 19960          },
 19961          "email": {
 19962            "type": "string",
 19963            "format": "email",
 19964            "x-go-name": "Email"
 19965          },
 19966          "full_name": {
 19967            "description": "the user's full name",
 19968            "type": "string",
 19969            "x-go-name": "FullName"
 19970          },
 19971          "id": {
 19972            "description": "the user's id",
 19973            "type": "integer",
 19974            "format": "int64",
 19975            "x-go-name": "ID"
 19976          },
 19977          "language": {
 19978            "description": "User locale",
 19979            "type": "string",
 19980            "x-go-name": "Language"
 19981          },
 19982          "login": {
 19983            "description": "the user's username",
 19984            "type": "string",
 19985            "x-go-name": "UserName"
 19986          }
 19987        },
 19988        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 19989      }
 19990    },
 19991    "UserList": {
 19992      "description": "UserList",
 19993      "schema": {
 19994        "type": "array",
 19995        "items": {
 19996          "description": "User represents a user",
 19997          "type": "object",
 19998          "properties": {
 19999            "avatar_url": {
 20000              "description": "URL to the user's avatar",
 20001              "type": "string",
 20002              "x-go-name": "AvatarURL"
 20003            },
 20004            "email": {
 20005              "type": "string",
 20006              "format": "email",
 20007              "x-go-name": "Email"
 20008            },
 20009            "full_name": {
 20010              "description": "the user's full name",
 20011              "type": "string",
 20012              "x-go-name": "FullName"
 20013            },
 20014            "id": {
 20015              "description": "the user's id",
 20016              "type": "integer",
 20017              "format": "int64",
 20018              "x-go-name": "ID"
 20019            },
 20020            "language": {
 20021              "description": "User locale",
 20022              "type": "string",
 20023              "x-go-name": "Language"
 20024            },
 20025            "login": {
 20026              "description": "the user's username",
 20027              "type": "string",
 20028              "x-go-name": "UserName"
 20029            }
 20030          },
 20031          "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 20032        }
 20033      }
 20034    },
 20035    "WatchInfo": {
 20036      "description": "WatchInfo",
 20037      "schema": {
 20038        "description": "WatchInfo represents an API watch status of one repository",
 20039        "type": "object",
 20040        "properties": {
 20041          "created_at": {
 20042            "type": "string",
 20043            "format": "date-time",
 20044            "x-go-name": "CreatedAt"
 20045          },
 20046          "ignored": {
 20047            "type": "boolean",
 20048            "x-go-name": "Ignored"
 20049          },
 20050          "reason": {
 20051            "type": "object",
 20052            "x-go-name": "Reason"
 20053          },
 20054          "repository_url": {
 20055            "type": "string",
 20056            "x-go-name": "RepositoryURL"
 20057          },
 20058          "subscribed": {
 20059            "type": "boolean",
 20060            "x-go-name": "Subscribed"
 20061          },
 20062          "url": {
 20063            "type": "string",
 20064            "x-go-name": "URL"
 20065          }
 20066        },
 20067        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 20068      }
 20069    },
 20070    "empty": {
 20071      "description": "APIEmpty is an empty response"
 20072    },
 20073    "error": {
 20074      "description": "APIError is error format response",
 20075      "headers": {
 20076        "message": {
 20077          "type": "string"
 20078        },
 20079        "url": {
 20080          "type": "string"
 20081        }
 20082      }
 20083    },
 20084    "forbidden": {
 20085      "description": "APIForbiddenError is a forbidden error response",
 20086      "headers": {
 20087        "message": {
 20088          "type": "string"
 20089        },
 20090        "url": {
 20091          "type": "string"
 20092        }
 20093      }
 20094    },
 20095    "notFound": {
 20096      "description": "APINotFound is a not found empty response"
 20097    },
 20098    "parameterBodies": {
 20099      "description": "parameterBodies",
 20100      "schema": {
 20101        "description": "EditAttachmentOptions options for editing attachments",
 20102        "type": "object",
 20103        "properties": {
 20104          "name": {
 20105            "type": "string",
 20106            "x-go-name": "Name"
 20107          }
 20108        },
 20109        "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
 20110      }
 20111    },
 20112    "redirect": {
 20113      "description": "APIRedirect is a redirect response"
 20114    },
 20115    "validationError": {
 20116      "description": "APIValidationError is error format response related to input validation",
 20117      "headers": {
 20118        "message": {
 20119          "type": "string"
 20120        },
 20121        "url": {
 20122          "type": "string"
 20123        }
 20124      }
 20125    }
 20126  },
 20127  "securityDefinitions": {
 20128    "AccessToken": {
 20129      "type": "apiKey",
 20130      "name": "access_token",
 20131      "in": "query"
 20132    },
 20133    "AuthorizationHeaderToken": {
 20134      "type": "apiKey",
 20135      "name": "Authorization",
 20136      "in": "header"
 20137    },
 20138    "BasicAuth": {
 20139      "type": "basic"
 20140    },
 20141    "Token": {
 20142      "type": "apiKey",
 20143      "name": "token",
 20144      "in": "query"
 20145    }
 20146  },
 20147  "security": [
 20148    {
 20149      "BasicAuth": []
 20150    },
 20151    {
 20152      "Token": []
 20153    },
 20154    {
 20155      "AccessToken": []
 20156    },
 20157    {
 20158      "AuthorizationHeaderToken": []
 20159    }
 20160  ]
 20161}

View as plain text