Commit Graph

8 Commits (ddcf1d669d41dbb19b94955d19c9ed6ca44c1b9f)

Author SHA1 Message Date
Steven bc965f6afa chore: implement webhook dispatch in api v1
Steven 36b4ba33fa chore: remove outdated activity definition
Steven 5b3af827e1 chore: move common packages to internal
Steven cd0ea6558d chore: update golangci-lint config
boojack 35f2d399e2
chore: update api v1 docs ()
* chore: update apiv1 docs

* chore: update
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
boojack 7c5296cf35
chore: update id type to int32 ()
boojack a7573d5705
refactor: migrate memo to apiv1 ()
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update