mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:41:27 +01:00
[GITEA] Adjust name of operation
- The name could be conflucted with the `GET /user/applications/oauth2/{id}` operation, as it only differed in a single letter being uppercase. Change it to be userGetOAuth2Application**s**, as that's also more accurate for this function. - Resolves #2163 (cherry picked from commit1891dac547
) (cherry picked from commit68fceb9b7a
)
This commit is contained in:
parent
6ed9057fd7
commit
7335d6de54
2 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ func CreateOauth2Application(ctx *context.APIContext) {
|
||||||
|
|
||||||
// ListOauth2Applications list all the Oauth2 application
|
// ListOauth2Applications list all the Oauth2 application
|
||||||
func ListOauth2Applications(ctx *context.APIContext) {
|
func ListOauth2Applications(ctx *context.APIContext) {
|
||||||
// swagger:operation GET /user/applications/oauth2 user userGetOauth2Application
|
// swagger:operation GET /user/applications/oauth2 user userGetOAuth2Applications
|
||||||
// ---
|
// ---
|
||||||
// summary: List the authenticated user's oauth2 applications
|
// summary: List the authenticated user's oauth2 applications
|
||||||
// produces:
|
// produces:
|
||||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -15169,7 +15169,7 @@
|
||||||
"user"
|
"user"
|
||||||
],
|
],
|
||||||
"summary": "List the authenticated user's oauth2 applications",
|
"summary": "List the authenticated user's oauth2 applications",
|
||||||
"operationId": "userGetOauth2Application",
|
"operationId": "userGetOAuth2Applications",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|
Loading…
Reference in a new issue