You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/api/v1
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
..
activity.go chore: update id type to int32 (#2076) 2 years ago
auth.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
common.go refactor: migrate definition to api v1 (#1879) 2 years ago
http_getter.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
idp.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
jwt.go chore: update id type to int32 (#2076) 2 years ago
memo.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
memo_organizer.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
memo_relation.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
memo_resource.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
resource.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
rss.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
storage.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
system.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
system_setting.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
tag.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
tag_test.go revert: fix: exclude all punctuation chars except underscore in tags (#2033) 2 years ago
user.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
user_setting.go feat: add SwaggerUI and v1 API docs (#2115) 2 years ago
v1.go chore: initial memo service definition (#2077) 2 years ago