Skip to content

Commit

Permalink
fix(typo): typo in the Swagger ExternalDocs.description
Browse files Browse the repository at this point in the history
  • Loading branch information
vareversat committed Oct 1, 2023
1 parent b5c3c7c commit 78a46be
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const docTemplate = `{
},
{
"enum": [
"boat_crossing",
"boat",
"maintenance"
],
"type": "string",
Expand Down Expand Up @@ -433,7 +433,7 @@ const docTemplate = `{
}
},
"externalDocs": {
"description": "All data comes from from the Bordeaux Open Data API",
"description": "All data comes from the Bordeaux Open Data API",
"url": "https://opendata.bordeaux-metropole.fr/explore/dataset/previsions_pont_chaban/information/"
}
}`
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
},
{
"enum": [
"boat_crossing",
"boat",
"maintenance"
],
"type": "string",
Expand Down Expand Up @@ -426,7 +426,7 @@
}
},
"externalDocs": {
"description": "All data comes from from the Bordeaux Open Data API",
"description": "All data comes from the Bordeaux Open Data API",
"url": "https://opendata.bordeaux-metropole.fr/explore/dataset/previsions_pont_chaban/information/"
}
}
4 changes: 2 additions & 2 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ definitions:
type: string
type: object
externalDocs:
description: All data comes from from the Bordeaux Open Data API
description: All data comes from the Bordeaux Open Data API
url: https://opendata.bordeaux-metropole.fr/explore/dataset/previsions_pont_chaban/information/
info:
contact:
Expand Down Expand Up @@ -154,7 +154,7 @@ paths:
type: integer
- description: The closing reason
enum:
- boat_crossing
- boat
- maintenance
in: query
name: reason
Expand Down
2 changes: 1 addition & 1 deletion internal/api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
// @Contact.email dev@vareversat.fr
// @Produce json
// @Scheme http
// @ExternalDocs.description All data comes from from the Bordeaux Open Data API
// @ExternalDocs.description All data comes from the Bordeaux Open Data API
// @ExternalDocs.url https://opendata.bordeaux-metropole.fr/explore/dataset/previsions_pont_chaban/information/
// @License.name MIT
// @License.url https://github.com/vareversat/chabo-api/blob/main/LICENSE.md
Expand Down

0 comments on commit 78a46be

Please sign in to comment.