Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

Compare commits

..

2 commits

Author SHA1 Message Date
Gusted cf93a4a6fc Merge pull request '[GITEA] Adjust name of operation' (#2189) from gusted/forgejo-swagger-id into forgejo-dependency
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2189
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
2024-01-20 23:14:01 +00:00
Gusted 1891dac547
[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
2024-01-20 22:33:36 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ func CreateOauth2Application(ctx *context.APIContext) {
// ListOauth2Applications list all the Oauth2 application
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
// produces:

View file

@ -15169,7 +15169,7 @@
"user"
],
"summary": "List the authenticated user's oauth2 applications",
"operationId": "userGetOauth2Application",
"operationId": "userGetOAuth2Applications",
"parameters": [
{
"type": "integer",