Vojtech Vitek (golang.cz)
Vojtech Vitek (golang.cz)
I guess the issue is that `r.Route()` creates a new sub-router (unlike `r.Group()` or `r.Handle()`) and `Walk()` doesn't reach out to its middleware stack. https://github.com/go-chi/chi/blob/v0.9.0/mux.go#L169
Great, thanks @mfridman :)
https://github.com/webrpc/webrpc/pull/134#pullrequestreview-1228007720
I found this OpenAPI->Markdown generator: ``` $ webrpc-gen -schema=./test.ridl -target=openapi -out=test.gen.yaml $ docker run --rm -v "${PWD}:/app" openapitools/openapi-generator-cli:v6.2.1 generate -i /app/test.gen.yaml -g markdown -o /app/test.md ```  template, pinned at specific version in go.mod file: https://github.com/webrpc/webrpc/blob/a3fb4fd91beb76e8f980b04137f416fd478fc575/go.mod#L18
OpenAPI has examples - values that can be useful for documentation or for creating stub servers. https://swagger.io/docs/specification/adding-examples/ I wonder if we could find an overlap between these two - example...
See potential implementation from Peter's branch: https://github.com/webrpc/webrpc/blob/1bbee6ae9b44fb74cdd31c9d8bd596715c0e6e8b/schema/_value.go ``` package schema import ( "fmt" "strings" ) // in the future.. see: https://github.com/webrpc/webrpc/issues/122 type Value struct { Name string `json:"name"` Type string...
> I understand openfortivpn works fine at first, then dies after 12 hours. Does it emit the above cipher-related error messages when disconnecting? Correct. Last time it ran for about...