diff --git a/cmd/server/main.go b/cmd/server/main.go index a937082..51ca55d 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -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) diff --git a/pkg/api/api.gen.go b/pkg/api/api.gen.go index 8554135..ff529a8 100644 --- a/pkg/api/api.gen.go +++ b/pkg/api/api.gen.go @@ -1,6 +1,6 @@ // Package api provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT. +// Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT. package api import ( @@ -1005,27 +1005,27 @@ func (sh *strictHandler) UpdateUser(w http.ResponseWriter, r *http.Request, id i // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+xZW2/bNhT+KwQ3YC/ypUsybNqTu6xD0K0NluWpCAzGPJZYSCRHUrk08H8feJEsWYwv", - "XewESN9k8ZDn8n3nQvkBz0QpBQduNE4fsJ7lUBL3OJHsd6WEss9SCQnKMHArJWhNMrCP5l4CTrE2ivEM", - "LxYJVvBvxRRQnH5qBK+SWlBcf4aZwYsEX8xyoFUB54Jx09dBKFWgdURHgmeF0DA1rHQmzIUqicEpdi+S", - "vjglpivoXkQEmZ4KCbyl81qIAgi3i5yUELXGbtneGO3dZjybVqqIHqgNMUzwKaOdExk3Px0vj2TcQAYK", - "J/huIIhkg5mgkAEfwJ1RZGBI5oKXCVXiFEvFSqLu38M9Xqyi1NIX3Eya8Cd1sJZeduLfcygKtVewG8gU", - "CjBAp8SR426QicFnLfiAZVwowKlRFST+fdhrXR2e+m0Ts2Vg7N7UuqINKSW6ZSZH9if6Ijj8yjiFO0fr", - "vYGxhlk1MCHETogZKN1Z3yuY4xR/N1om8Chk7ygEvE4xe1Y4nChF7nt5GkN+DZAXLXu6gD5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NbC8U", + "XIPboUlZ5mxmLw8NfZYr/fZtv7OX99v+Kjnwpw9G6mR0tJMv61xo3jwC1i45qXQmJPsK1Nh9u2MOHmu3", + "PoiwqgrDuv9dZkfmz7hB08RoH9Z314KrbSSImOXZARDjh9Q3rGzAykrVGgD4/HXrP7xndGHnZBUAwWVp", + "Vp3WftCFgDu+aE5LIkkBGqQxuKrLi6GzUzPGzRPT6uo3gsR396bdu0m8zNLm9WHiroPS7wS926kE3SWB", + "qU9+y+pG8BFuPK8sBX1WflDIdPEW41ZWs9Up5rSHZ1E3/kWYV2GwHxB08XPRyxs+Pojh90JeMUqBe6sn", + "B7H6UWj0XlS8jvXtQaz+BToTFBnj4zwXN02qfzkwqt4eGMed7tlrd+Heabe9jYPTSQWm5qU/2P/ItO9A", + "3+blFvOyLlZdcPM3npj3GaECNf7NvnvaW70Ku7NLd/TYgbS5qttMi6M92Awlgr5W+HRxsAKeplU0O5b7", + "+tCHk/u8EIaTO/NwWrtgGZk9b1ebdhHrgv/GEr9WUHSr2e8oaxbtIALc2QtBwHO2s9He29nrHYRdAK52", + "MiMK8jqMuj/FjOSIwjXkoizsxwcriyNs/2+BM61LlQyHuRHMhNLJzycnx0NSMryIHq3Nfo9jfC6eRNvR", + "m5/iUTyKj1raJk0ieu9cNUEVIlei0u33bU831Xyu2Hi5Xj78TZv0xWTxXwAAAP//Ll/hjzUfAAA=", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/pkg/api/openapi.yaml b/pkg/api/openapi.yaml index aba0784..8d33005 100644 --- a/pkg/api/openapi.yaml +++ b/pkg/api/openapi.yaml @@ -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