mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 00:38:33 +02:00
Feat/auto schemas (#48)
* use auto generated schemas * go version bump and dependencies upgrade * clarify some error messages --------- Co-authored-by: yusing <yusing@6uo.me>
This commit is contained in:
@@ -2,6 +2,7 @@ example: # matching `example.y.z`
|
||||
scheme: http
|
||||
host: 10.0.0.254
|
||||
port: 80
|
||||
no_tls_verify: true
|
||||
path_patterns: # Check https://pkg.go.dev/net/http#hdr-Patterns-ServeMux for syntax
|
||||
- GET / # accept any GET request
|
||||
- POST /auth # for /auth and /auth/* accept only POST
|
||||
|
||||
Reference in New Issue
Block a user