memos/server
Lincoln Nogueira 4491c75135
feat: add SwaggerUI and v1 API docs (#2115)
* - 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
2023-08-09 21:53:06 +08:00
..
dist
profile feat: add preliminar Windows support (#1636) 2023-05-09 08:16:38 +08:00
version chore: upgrade version 0.14.3 (#2086) 2023-08-05 22:47:29 +08:00
backup.go feat: add user setting field (#2054) 2023-07-30 09:53:24 +08:00
embed_frontend.go chore: update skipper name (#1080) 2023-02-12 17:29:23 +08:00
server.go feat: add SwaggerUI and v1 API docs (#2115) 2023-08-09 21:53:06 +08:00
telegram.go fix: minor spelling and wording changes for en and de (#2096) 2023-08-07 11:26:57 +08:00