1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-22 10:41:30 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
Steven
fa6693a7ae chore: update list memos 2023-12-06 22:44:49 +08:00
Steven
5b3af827e1 chore: move common packages to internal 2023-10-26 09:02:50 +08:00
Steven
cd0ea6558d chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
boojack
35f2d399e2
chore: update api v1 docs ()
* chore: update apiv1 docs

* chore: update
2023-08-09 22:30:27 +08:00
Lincoln Nogueira
4491c75135
feat: add SwaggerUI and v1 API docs ()
* - 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
boojack
7c5296cf35
chore: update id type to int32 () 2023-08-04 21:55:07 +08:00
boojack
28203bbaf9
chore: fix rss route () 2023-07-22 21:51:05 +08:00
boojack
9138ab8095
fix: rss route ()
* fix: rss route

* chore: update
2023-07-22 12:58:17 +08:00
boojack
7e391bd53d
chore: remove resource public id ()
* chore: remove resource public id

* chore: update
2023-07-08 11:29:50 +08:00
boojack
0e05c62a3b
chore: update common utils () 2023-07-06 22:53:38 +08:00