Commit graph

73 commits

Author SHA1 Message Date
Logan Garrett
1cde5a821e
fix: bad copy/paste 2022-06-01 11:34:50 -07:00
Logan Garrett
857003abff
chore: make the path for static openapi routes configurable 2022-06-01 11:32:37 -07:00
Daniel G. Taylor
e96f66228b
feat: add schema describedby links and $schema property 2022-03-18 22:47:33 -07:00
Daniel G. Taylor
6315f8c385
feat: configurable default timeouts 2021-09-08 14:05:48 -07:00
Daniel G. Taylor
fbeb18f3cf
feat: get operation info from context 2021-05-05 21:18:35 +02:00
Daniel G. Taylor
af6b118745
fix: include servers in rendered OpenAPI 2021-01-04 11:01:01 -08:00
Daniel G. Taylor
aeb9863598
fix: security reference structure 2020-12-23 16:40:16 -08:00
Daniel G. Taylor
f9332efc1d
feat: security & autoconfiguration 2020-12-22 10:00:43 -08:00
Daniel G. Taylor
3c9ea49514
feat: use refs for response models in generated OpenAPI 2020-12-18 16:21:01 -08:00
Daniel G. Taylor
237311f016
Merge branch 'master' into refactor 2020-09-10 22:28:29 -07:00
Daniel G. Taylor
424cdb99d4
fix: simplify resource path argument 2020-09-10 08:52:46 -07:00
Daniel G. Taylor
8906f554f0
chore: some cleanup / refactoring 2020-09-04 21:46:53 -07:00
Daniel G. Taylor
9ae2267d8c
feat: 404/405 error handlers 2020-09-02 21:39:26 -07:00
Daniel G. Taylor
b961d59747
feat: print listening addr:port 2020-09-02 21:21:48 -07:00
Daniel G. Taylor
3d0b40a742
tests: add additional tests 2020-08-30 23:58:12 -07:00
Daniel G. Taylor
0ffe2903e0
refactor: new interface 2020-08-26 22:28:30 -07:00
David Weiser
a6c9c108bb ensure that docs prefix gets put into service links 2020-08-20 10:28:55 -07:00
David Weiser
1c060b3855 use enum instead of magic strings for doc ui type 2020-08-20 10:28:55 -07:00
David Weiser
3073099192 instead of templates, use functions 2020-08-20 10:28:55 -07:00
David Weiser
7f278d5904 ensure that docs ui renders with correct path to openapi 2020-08-20 10:28:55 -07:00
David Weiser
ef83dce725 add ability to prefix routes of docs 2020-08-20 10:28:55 -07:00
Daniel G. Taylor
5c1c142fe0
feat: JSON/YAML/CBOR content negotiation 2020-07-11 22:09:06 -07:00
Daniel G. Taylor
db857a3f37
feat: content negotiation gzip/br encoding 2020-07-10 22:12:28 -07:00
David Weiser
7a18662290 add option to add custom headers to cors response 2020-06-15 12:43:18 -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
ba2a986b7d
feat: rfc7807 JSON error responses 2020-05-02 23:00:32 -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
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
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
b1b18f6dd1
feat: better error handling & panics for better stack traces 2020-04-05 21:39:59 -07:00
Daniel G. Taylor
06e4592236
feat: graceful shutdown and timeouts 2020-04-04 15:10:13 -07:00
Daniel G. Taylor
09fe1265dd
feat: support minimal prefer header 2020-04-04 13:46:51 -07:00
Daniel G. Taylor
393ebfedd8
feat: time.Time parameters 2020-04-03 23:34:36 -07:00
Daniel G. Taylor
38ecaa7b3d
feat: slice parameters 2020-04-03 23:17:47 -07:00
Daniel G. Taylor
0abad54ee1
test: parameter parsing 2020-04-03 22:48:52 -07:00
Daniel G. Taylor
6524dcf9ec
fix: cast float64 to float32 2020-04-03 22:30:30 -07:00
Daniel G. Taylor
dc85cf12cb
chore: make param location an enum 2020-04-03 21:43:58 -07:00
Daniel G. Taylor
ba3e340b1a
feat: auto-generate text response, log undeclared headers 2020-04-02 22:45:58 -07:00
Daniel G. Taylor
69cf326572
feat: return JSON for 404 responses 2020-03-31 23:31:13 -07:00
Daniel G. Taylor
c068b25a1b
feat: new resource interface 2020-03-31 23:02:16 -07:00
Daniel G. Taylor
92422ae10d
feat: custom recovery middleware 2020-03-30 21:48:21 -07:00
Daniel G. Taylor
52c5742da9
feat: param validations, better error logging 2020-03-28 22:44:41 -07:00
Daniel G. Taylor
9cfba10e85
fix: better handling of empty response body, more tests 2020-03-26 22:05:46 -07:00
Daniel G. Taylor
7ea4369f3c
feat: add SwaggerUI doc handler option 2020-03-26 21:18:20 -07:00