Commit Graph

10 Commits (7f1f6f77a01408b2fa3f057c3f6b7c6dda0072e0)

Author SHA1 Message Date
Steven fa6693a7ae chore: update list memos 1 year ago
Steven 5b3af827e1 chore: move common packages to internal 1 year ago
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
boojack 35f2d399e2
chore: update api v1 docs (#2117)
* chore: update apiv1 docs

* chore: update
2 years ago
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
2 years ago
boojack 7c5296cf35
chore: update id type to int32 (#2076) 2 years ago
boojack 28203bbaf9
chore: fix rss route (#2010) 2 years ago
boojack 9138ab8095
fix: rss route (#2008)
* fix: rss route

* chore: update
2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
boojack 0e05c62a3b
chore: update common utils (#1908) 2 years ago