Commit graph

347 commits

Author SHA1 Message Date
Daniel G. Taylor
f1904f1501
docs: fix typos 2020-07-13 10:56:59 -07:00
Daniel G. Taylor
df71641302
chore: fix filename typo 2020-07-13 10:49:10 -07:00
Daniel G. Taylor
5264fe1a6e
fix: put encoders back into the pool 2020-07-13 10:48:43 -07:00
Daniel G. Taylor
5086b4d312
fix: include generated 404 in OpenAPI 2020-07-11 22:09:32 -07:00
Daniel G. Taylor
5c1c142fe0
feat: JSON/YAML/CBOR content negotiation 2020-07-11 22:09:06 -07:00
Daniel G. Taylor
69e8cc0b2b
fix: reset buffers from pool 2020-07-11 10:24:26 -07:00
Daniel G. Taylor
db857a3f37
feat: content negotiation gzip/br encoding 2020-07-10 22:12:28 -07:00
Logan Garrett
d7e3237de2
Merge pull request #5 from danielgtaylor/lg/timestamps
feat: add iso8601 timestamps to logging
2020-06-26 12:26:50 -07:00
Logan Garrett
c599b14a5c feat: add iso8601 timestamps to logging 2020-06-25 08:00:38 -07:00
Daniel G. Taylor
94539d56c1
Merge pull request #3 from weiser/weiser/http-options
add support for HTTP OPTIONS
2020-06-15 15:19:09 -07:00
Daniel G. Taylor
bf8461db67
Merge pull request #4 from weiser/add-configurable-cors-middleware
Add configurable CORS middleware
2020-06-15 15:16:02 -07:00
David Weiser
149c982a5d
Update README.md
Co-authored-by: Daniel G. Taylor <danielgtaylor@gmail.com>
2020-06-15 15:15:22 -07:00
David Weiser
90cf29f3ca
Update README.md
Co-authored-by: Daniel G. Taylor <danielgtaylor@gmail.com>
2020-06-15 15:14:25 -07:00
David Weiser
d0df19dcf2 add example for configuring cors preflight headers 2020-06-15 13:09:48 -07:00
David Weiser
3dc764fee5 cleanup 2020-06-15 12:58:46 -07:00
David Weiser
c76cdf9fbe no need to add these headers in the preflight 2020-06-15 12:51:57 -07:00
David Weiser
77f5928ead get the case of the header correct in test 2020-06-15 12:50:32 -07:00
David Weiser
7a18662290 add option to add custom headers to cors response 2020-06-15 12:43:18 -07:00
David Weiser
c0a5d7c8cc add test that cors preflight can configure allowed headers 2020-06-15 12:42:45 -07:00
David Weiser
4a2c7e6789 add support for HTTP OPTIONS 2020-06-15 08:40:38 -07:00
Daniel G. Taylor
5bf4593498
Merge pull request #2 from hvanvoorhis-ISP/patch-1
Update dependency.go
2020-05-30 15:12:25 -07:00
Henry Van Voorhis
348f3c9d19
Update dependency.go
Make it so you can pass in an interface as a dependency
2020-05-29 13:28:14 -07:00
Daniel G. Taylor
aca2200302
fix: remove version from generated operation ID 2020-05-05 08:07:09 -07:00
Daniel G. Taylor
0bd0c12453
feat: RFC8631 service links 2020-05-03 23:01:42 -07:00
Daniel G. Taylor
f9c128d940
feat: use OpenAPI proposed media type 2020-05-03 22:02:07 -07:00
Daniel G. Taylor
680205a38a
fix: tag syntax 2020-05-02 23:03:34 -07:00
Daniel G. Taylor
ba2a986b7d
feat: rfc7807 JSON error responses 2020-05-02 23:00:32 -07:00
Daniel G. Taylor
e8c8e64c73
feat: generate schemas for embedded structs 2020-05-02 21:16:28 -07:00
Daniel G. Taylor
590ad31d7c
fix: do not serialize internal param 2020-04-30 21:32:18 -07:00
Daniel G. Taylor
fa7e9d0aef
fix(memstore): ensure modified/etag props in list response 2020-04-27 10:01:12 -07:00
Daniel G. Taylor
e81fc85f52
feat: add example in-memory store 2020-04-26 22:18:37 -07:00
Daniel G. Taylor
26a54c3c27
feat: unsafe handlers for library use 2020-04-25 21:51:29 -07:00
Daniel G. Taylor
626a54ba2d
fix: do not explode query params be default 2020-04-23 09:21:11 -07:00
Daniel G. Taylor
71ffa25c67
feat: get list of path param names from resource 2020-04-23 09:00:54 -07:00
Daniel G. Taylor
6fc57fff65
docs: add docs and version to README example 2020-04-21 20:45:35 -07:00
Daniel G. Taylor
9f54c7cac4
fix: properly print non-error panics 2020-04-20 22:05:15 -07:00
Daniel G. Taylor
3a6046412a
fix: skip fields named "-" when generating schemas 2020-04-20 21:55:44 -07:00
Daniel G. Taylor
8004efb597
feat: functional options refactor/cleanup 2020-04-15 08:38:05 -07:00
Daniel G. Taylor
eaff486dc7
fix: string split for docs 2020-04-13 22:56:12 -07:00
Daniel G. Taylor
9a5d037f99
feat: functional options for resources/operations 2020-04-13 22:47:40 -07:00
Daniel G. Taylor
74d7661b0d
feat: simplify router creation with functional options 2020-04-11 09:07:43 -07:00
Daniel G. Taylor
7513334966
test: use random port for CLI shutdown test 2020-04-11 08:22:17 -07:00
Daniel G. Taylor
0a733b88a6
docs: mention timeouts in overview 2020-04-08 23:37:04 -07:00
Daniel G. Taylor
c3cbcb9802
feat: add body read timeout option, adjust default timeouts 2020-04-08 23:29:48 -07:00
Daniel G. Taylor
1c1f2c780d
feat: default limit on request body size, with override 2020-04-08 09:27:09 -07:00
Daniel G. Taylor
c87609831e
test: increase sleep for server shutdown test 2020-04-07 22:33:24 -07:00
Daniel G. Taylor
94bf2469ab
test: add nested dependency to OpenAPI handler 2020-04-07 22:27:46 -07:00
Daniel G. Taylor
a662d0aa3c
feat: recovery middleware logs request on panic 2020-04-07 22:15:13 -07:00
Daniel G. Taylor
b1b18f6dd1
feat: better error handling & panics for better stack traces 2020-04-05 21:39:59 -07:00
Daniel G. Taylor
f2249f6e28
feat: hook for OpenAPI customization 2020-04-05 14:47:42 -07:00