• Lincoln Nogueira's avatar
    feat: add SwaggerUI and v1 API docs (#2115) · 4491c751
    Lincoln Nogueira authored
    * - 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
    4491c751
Name
Last commit
Last update
..
auth.md Loading commit data...
how-to.md Loading commit data...
memo-relation.md Loading commit data...
memo-resource.md Loading commit data...
memo.md Loading commit data...
resource.md Loading commit data...
tag.md Loading commit data...
user.md Loading commit data...
v1.md Loading commit data...