Repository: deepmap/oapi-codegen (go)

Issue:
server without path crashes in gorillamux.NewRouter
Upgrade to getkin/kin-openapi v0.80.0 picks up https://github.com/getkin/kin-openapi/commit/e2c8b0cb8629e88c0cd7d37d1b2153a10167251a for a fix.

With the test schema server path removed `- url: http://deepmap.ai`
the test shows the panic:

```
--- FAIL: TestOapiRequestValidator (0.00s)
panic: runtime error: index out of range [-1] [recovered]
        panic: runtime error: index out of range [-1]

goroutine 6 [running]:
testing.tRunner.func1.2(0x153f600, 0xc000032660)
        /Users/admin/go/src/testing/testing.go:1143 +0x332
testing.tRunner.func1(0xc000001c80)
        /Users/admin/go/src/testing/testing.go:1146 +0x4b6
panic(0x153f600, 0xc000032660)
        /Users/admin/go/src/runtime/panic.go:965 +0x1b9
github.com/getkin/kin-openapi/routers/gorillamux.NewRouter(0xc0001aa1a0, 0x0, 0xc0001e9e78, 0x100fc58, 0x10)
        /Users/admin/gopath/pkg/mod/github.com/getkin/kin-openapi@v0.61.0/routers/gorillamux/router.go:46 +0xe2a
github.com/deepmap/oapi-codegen/pkg/middleware.OapiRequestValidatorWithOptions(0xc0001aa1a0, 0xc0001cbda0, 0x0)
        /Users/admin/gohack/github.com/deepmap/oapi-codegen/pkg/middleware/oapi_validate.go:70 +0x39
github.com/deepmap/oapi-codegen/pkg/middleware.TestOapiRequestValidator(0xc000001c80)
        /Users/admin/gohack/github.com/deepmap/oapi-codegen/pkg/middleware/oapi_validate_test.go:163 +0x216
testing.tRunner(0xc000001c80, 0x1599b48)
        /Users/admin/go/src/testing/testing.go:1193 +0xef
created by testing.(*T).Run
        /Users/admin/go/src/testing/testing.go:1238 +0x2b3
```

Pull request:
upgrade getkin/kin-openapi to v0.80.0 to fix panic when server is missing a path
resolves #473 

Patch:
diff --git a/go.mod b/go.mod
index 39ca0ae..af4a42c 100644
--- a/go.mod
+++ b/go.mod
@@ -2,7 +2,7 @@ module github.com/deepmap/oapi-codegen
 
 require (
 	github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c
-	github.com/getkin/kin-openapi v0.61.0
+	github.com/getkin/kin-openapi v0.80.0
 	github.com/gin-gonic/gin v1.7.4
 	github.com/go-chi/chi/v5 v5.0.0
 	github.com/go-playground/validator/v10 v10.9.0 // indirect
diff --git a/go.sum b/go.sum
index 74e911a..f43fac9 100644
--- a/go.sum
+++ b/go.sum
@@ -11,6 +11,8 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumC
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 github.com/getkin/kin-openapi v0.61.0 h1:6awGqF5nG5zkVpMsAih1QH4VgzS8phTxECUWIFo7zko=
 github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4=
+github.com/getkin/kin-openapi v0.80.0 h1:W/s5/DNnDCR8P+pYyafEWlGk4S7/AfQUWXgrRSSAzf8=
+github.com/getkin/kin-openapi v0.80.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg=
 github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
 github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
 github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=


Test patch:
diff --git a/pkg/middleware/oapi_validate_test.go b/pkg/middleware/oapi_validate_test.go
index 2f209f3..726f6f9 100644
--- a/pkg/middleware/oapi_validate_test.go
+++ b/pkg/middleware/oapi_validate_test.go
@@ -36,7 +36,7 @@ info:
   version: 1.0.0
   title: TestServer
 servers:
-  - url: http://deepmap.ai/
+  - url: http://deepmap.ai
 paths:
   /resource:
     get: