Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
borod108 committed Dec 16, 2023
1 parent 010338e commit 523810c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 23 deletions.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {
if err != nil {
log.Fatalf("Error loading swagger spec\n: %s", err)
}
swagger.Servers = nil
//swagger.Servers = nil

strictBloodInfoServer := server.NewStrictBloodInfoServer(db)

Expand Down
44 changes: 22 additions & 22 deletions pkg/api/api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pkg/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ info:
servers:
- url: "https://localhost:8443/api"
description: Local development server
- url: "https://bloodinfo:8443/api"
description: Local development server
- url: "https://127.0.0.1:8443/api"
description: Local development server
tags:
- name: station
description: Operations about stations
Expand Down

0 comments on commit 523810c

Please sign in to comment.