mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 09:04:58 +00:00
f7f813ab84
- "Gitea" is automatically being determined in Swagger and cannot be overridden, therefor we override it after `swagger generate spec` is run. - Resolves https://codeberg.org/forgejo/forgejo/issues/226 (cherry picked from commit0b45380765
) [BRANDING] Change Swagger title to Forgejo API (cherry picked from commit79f6a70b53
) (cherry picked from commit6cd47afe33
) (cherry picked from commita7ae2e4c09
) (cherry picked from commit59f837e466
) (cherry picked from commitc1c3d1f0e6
) (cherry picked from commit4b088713fb
) (cherry picked from commit3df1d21371
) (cherry picked from commita4a5fdbde4
) (cherry picked from commit57aa9ed710
) (cherry picked from commit948b49bf94
) (cherry picked from commitbe4929ab6a
) (cherry picked from commit9ecb507457
) Conflicts: templates/swagger/ui.tmpl (cherry picked from commit8e57e68863
) (cherry picked from commitf0b3f621e3
) (cherry picked from commit5b0a6d093e
) (cherry picked from commit2e0f6b5de8
) (cherry picked from commitbb08076f5c
) (cherry picked from commit5c9360e38a
) (cherry picked from commit2f27756148
) (cherry picked from commit6fce7eeb51
) (cherry picked from commit8d27e7bebd
) (cherry picked from commitfda2ee2aae
) (cherry picked from commitfe0489a4d8
) (cherry picked from commitfe9479b357
) (cherry picked from commit1deadb2f35
) (cherry picked from commitd1cb84b2f2
) (cherry picked from commit9de15d49f8
) (cherry picked from commit461fbe219c
) (cherry picked from commitf39bf3ba5b
) (cherry picked from commitb3f31c2f7b
) (cherry picked from commitb9f493c139
) (cherry picked from commit83781b1641
) (cherry picked from commit4438ee0434
) (cherry picked from commit56b6b36833
) (cherry picked from commitdde88ed2fd
) (cherry picked from commit96bb13ce54
) (cherry picked from commitaacc824826
) (cherry picked from commit0db579b0b3
) (cherry picked from commitc1fd3777de
) Conflicts: templates/swagger/v1_json.tmpl https://codeberg.org/forgejo/forgejo/pulls/1832 (cherry picked from commit5c8a6e1ca8
) (cherry picked from commitff145b32c7
) (cherry picked from commitdb9b904b84
) (cherry picked from commita79e2b2b56
) (cherry picked from commita5830247df
) (cherry picked from commit9120bc4617
) (cherry picked from commitcd873945b2
) (cherry picked from commit6a48e3ea5b
) (cherry picked from commit489c1ac8fb
) (cherry picked from commita1f7fd771e
)
13 lines
476 B
Go HTML Template
13 lines
476 B
Go HTML Template
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Forgejo API</title>
|
|
<link href="{{AssetUrlPrefix}}/css/swagger.css?v={{AssetVersion}}" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<a class="swagger-back-link" href="{{AppSubUrl}}/">{{svg "octicon-reply"}}{{ctx.Locale.Tr "return_to_gitea"}}</a>
|
|
<div id="swagger-ui" data-source="{{AppSubUrl}}/swagger.{{.APIJSONVersion}}.json"></div>
|
|
<script src="{{AssetUrlPrefix}}/js/swagger.js?v={{AssetVersion}}"></script>
|
|
</body>
|
|
</html>
|