mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:52:24 -05:00
[docs] Fix swagger operation descriptions (#3830)
* Fix swagger operation descriptions Signed-off-by: mkljczk <git@mkljczk.pl> * generate a swagger file Signed-off-by: mkljczk <git@mkljczk.pl> --------- Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
1c049ba295
commit
96d39155f2
3 changed files with 61 additions and 63 deletions
|
|
@ -27,7 +27,7 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
)
|
||||
|
||||
// RuleGETHandler swagger:operation GET /api/v1/admin/rules/{id} adminRuleGet
|
||||
// RuleGETHandler swagger:operation GET /api/v1/admin/instance/rules/{id} adminRuleGet
|
||||
//
|
||||
// View instance rule with the given id.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
)
|
||||
|
||||
// RulesGETHandler swagger:operation GET /api/v1/admin/rules adminsRuleGet
|
||||
// RulesGETHandler swagger:operation GET /api/v1/admin/instance/rules adminsRuleGet
|
||||
//
|
||||
// View instance rules, with IDs.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue