Skip to content

Commit d371ee6

Browse files
authored
fix: typo in URL under documentation (#778)
1 parent 9746add commit d371ee6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/swagger/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const docTemplate = `{
126126
}
127127
}
128128
},
129-
"/api/v1/bookmaeks/cache": {
129+
"/api/v1/bookmarks/cache": {
130130
"put": {
131131
"produces": [
132132
"application/json"

docs/swagger/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
}
116116
}
117117
},
118-
"/api/v1/bookmaeks/cache": {
118+
"/api/v1/bookmarks/cache": {
119119
"put": {
120120
"produces": [
121121
"application/json"

docs/swagger/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ paths:
195195
summary: Refresh a token for an account
196196
tags:
197197
- Auth
198-
/api/v1/bookmaeks/cache:
198+
/api/v1/bookmarks/cache:
199199
put:
200200
parameters:
201201
- description: Update Cache Payload

internal/http/routes/api/v1/bookmarks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func NewBookmarksPIRoutes(logger *logrus.Logger, deps *config.Dependencies) *Boo
204204
// @Produce json
205205
// @Success 200 {object} model.Bookmark
206206
// @Failure 403 {object} nil "Token not provided/invalid"
207-
// @Router /api/v1/bookmaeks/cache [put]
207+
// @Router /api/v1/bookmarks/cache [put]
208208
func (r *BookmarksAPIRoutes) updateCache(c *gin.Context) {
209209
ctx := context.NewContextFromGin(c)
210210
if !ctx.UserIsLogged() {

0 commit comments

Comments
 (0)