mirror of
https://github.com/usememos/memos.git
synced 2025-01-10 14:22:07 +08:00
4491c75135
* - Refactor several API routes from anonymous functions to regular definitions. Required to add parseable documentation comments. - Add API documentation comments using Swag Declarative Comments Format - Add echo-swagger to serve Swagger-UI at /api/index.html - Fix error response from extraneous parameter resourceId to relatedMemoId in DELETE("/memo/:memoId/relation/:relatedMemoId/type/:relationType") - Add an auto-generated ./docs/api/v1.md for quick reference on repo (generated by swagger-markdown) - Add auxiliary scripts to generate docs.go and swagger.yaml * fix: golangci-lint errors * fix: go fmt flag in swag scripts |
||
---|---|---|
.. | ||
activity.go | ||
auth.go | ||
common.go | ||
http_getter.go | ||
idp.go | ||
jwt.go | ||
memo.go | ||
memo_organizer.go | ||
memo_relation.go | ||
memo_resource.go | ||
resource.go | ||
rss.go | ||
storage.go | ||
system.go | ||
system_setting.go | ||
tag.go | ||
tag_test.go | ||
user.go | ||
user_setting.go | ||
v1.go |