loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

branding: update API descriptions (#7244)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7244
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>

authored by

0ko
0ko
and committed by
Earl Warren
ae8dca84 1132fde4

+7 -7
+1 -1
modules/structs/user.go
··· 27 27 Email string `json:"email"` 28 28 // URL to the user's avatar 29 29 AvatarURL string `json:"avatar_url"` 30 - // URL to the user's gitea page 30 + // URL to the user's profile page 31 31 HTMLURL string `json:"html_url"` 32 32 // User locale 33 33 Language string `json:"language"`
+2 -2
routers/api/v1/misc/nodeinfo.go
··· 16 16 17 17 const cacheKeyNodeInfoUsage = "API_NodeInfoUsage" 18 18 19 - // NodeInfo returns the NodeInfo for the Gitea instance to allow for federation 19 + // NodeInfo returns the NodeInfo for the Forgejo instance to allow for federation 20 20 func NodeInfo(ctx *context.APIContext) { 21 21 // swagger:operation GET /nodeinfo miscellaneous getNodeInfo 22 22 // --- 23 - // summary: Returns the nodeinfo of the Gitea application 23 + // summary: Returns the nodeinfo of the Forgejo application 24 24 // produces: 25 25 // - application/json 26 26 // responses:
+1 -1
routers/api/v1/misc/version.go
··· 15 15 func Version(ctx *context.APIContext) { 16 16 // swagger:operation GET /version miscellaneous getVersion 17 17 // --- 18 - // summary: Returns the version of the Gitea application 18 + // summary: Returns the version of the running application 19 19 // produces: 20 20 // - application/json 21 21 // responses:
+3 -3
templates/swagger/v1_json.tmpl
··· 1877 1877 "tags": [ 1878 1878 "miscellaneous" 1879 1879 ], 1880 - "summary": "Returns the nodeinfo of the Gitea application", 1880 + "summary": "Returns the nodeinfo of the Forgejo application", 1881 1881 "operationId": "getNodeInfo", 1882 1882 "responses": { 1883 1883 "200": { ··· 20530 20530 "tags": [ 20531 20531 "miscellaneous" 20532 20532 ], 20533 - "summary": "Returns the version of the Gitea application", 20533 + "summary": "Returns the version of the running application", 20534 20534 "operationId": "getVersion", 20535 20535 "responses": { 20536 20536 "200": { ··· 27943 27943 "x-go-name": "FullName" 27944 27944 }, 27945 27945 "html_url": { 27946 - "description": "URL to the user's gitea page", 27946 + "description": "URL to the user's profile page", 27947 27947 "type": "string", 27948 27948 "x-go-name": "HTMLURL" 27949 27949 },