Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
docs: update swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FoseFx committed Nov 7, 2022
1 parent 1cfe0be commit e0031eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const docTemplate = `{
}
}
},
"/er": {
"/emergency-room": {
"get": {
"produces": [
"application/json"
Expand Down Expand Up @@ -144,7 +144,7 @@ const docTemplate = `{
}
}
},
"/er/{id}": {
"/emergency-room/{id}": {
"get": {
"produces": [
"application/json"
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
}
},
"/er": {
"/emergency-room": {
"get": {
"produces": [
"application/json"
Expand Down Expand Up @@ -132,7 +132,7 @@
}
}
},
"/er/{id}": {
"/emergency-room/{id}": {
"get": {
"produces": [
"application/json"
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ paths:
summary: get all departments
tags:
- departments
/er:
/emergency-room:
get:
parameters:
- description: 0-indexed page number, 0 is assumed when omitted
Expand Down Expand Up @@ -193,7 +193,7 @@ paths:
summary: create a new emergency room
tags:
- emergency-rooms
/er/{id}:
/emergency-room/{id}:
delete:
parameters:
- description: 'Bearer: <TOKEN>'
Expand Down

0 comments on commit e0031eb

Please # to comment.