Commit graph

347 commits

Author SHA1 Message Date
Daniel G. Taylor
103bceb69e
Merge branch 'refactor' of personal.github.com:danielgtaylor/huma into refactor 2020-09-17 13:26:53 -07:00
Daniel G. Taylor
ba85966f9a
fix: OpenAPI generation lint issues 2020-09-17 13:25:43 -07:00
Daniel G. Taylor
8cd9081e02
fix: Update benchmark/go.mod
Co-authored-by: Logan Garrett <34461561+lgarrett-isp@users.noreply.github.com>
2020-09-17 12:50:54 -07:00
Daniel G. Taylor
9e26825eb8
feat: set logger function for adding tags 2020-09-16 13:44:25 -07:00
Daniel G. Taylor
968ff7c9ac
fix: unnecessary cast 2020-09-15 21:47:47 -07:00
Daniel G. Taylor
40d2e608ef
chore: Update examples/echo/echo.go
Co-authored-by: Marcin Dobosz <marcind@users.noreply.github.com>
2020-09-15 21:43:40 -07:00
Daniel G. Taylor
5a6a1c93d2
fix: various PR feedback 2020-09-15 21:42:23 -07:00
Daniel G. Taylor
f1f9c85071
docs: link to middleware 2020-09-15 09:05:52 -07:00
Daniel G. Taylor
4a13133876
doc: clarify example and test 2020-09-11 14:51:45 -07:00
Daniel G. Taylor
9f2af201d9
test: fix failing test 2020-09-10 22:32:30 -07:00
Daniel G. Taylor
237311f016
Merge branch 'master' into refactor 2020-09-10 22:28:29 -07:00
Daniel G. Taylor
642a6cbadd
fix: write content type header in example 2020-09-10 22:11:24 -07:00
Daniel G. Taylor
c1cf2e4949
feat: logger/recovery improvements 2020-09-10 22:09:21 -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
3242498ea4
feat: HTTP header time format 2020-09-04 21:40:17 -07:00
Daniel G. Taylor
035afde66a
feat: panic on invalid path param name 2020-09-04 21:10:40 -07:00
Daniel G. Taylor
b53adad969
chore: remove unused content type 2020-09-04 21:10:20 -07:00
Daniel G. Taylor
4d3cf13e31
docs: split up example 2020-09-04 21:09:46 -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
a39fd4a1a0
docs: enumerate param types 2020-09-01 20:51:34 -07:00
Daniel G. Taylor
69d47ad239
feat: add OpenTracing middleware 2020-08-31 23:32:00 -07:00
Daniel G. Taylor
f976f54c6c
fix: use error model reference 2020-08-31 23:31:36 -07:00
Daniel G. Taylor
bc1ac79220
fix: various fixes, better test coverage 2020-08-31 22:05:34 -07:00
Daniel G. Taylor
92303701da
docs: additional high-level docs 2020-08-31 10:04:03 -07:00
Daniel G. Taylor
3d0b40a742
tests: add additional tests 2020-08-30 23:58:12 -07:00
Daniel G. Taylor
6797f3a848
test: add middleware/negotiation tests 2020-08-29 14:29:37 -07:00
Daniel G. Taylor
0c8ba518be
feat: param docs and schema parsing 2020-08-27 23:01:58 -07:00
Daniel G. Taylor
2b5e643dce
doc: minor fixes 2020-08-27 12:03:34 -07:00
Daniel G. Taylor
040c94cb64
doc: fix indentation in examples 2020-08-27 10:54:03 -07:00
Daniel G. Taylor
3309da5e1b
doc: fix import path 2020-08-27 10:51:16 -07:00
Daniel G. Taylor
35152e38d3
refactor: simplify middleware defaults 2020-08-27 10:45:26 -07:00
Daniel G. Taylor
40cfe79c2e
doc: add link to examples 2020-08-27 10:29:16 -07:00
Daniel G. Taylor
c4824ce846
feat: add new notes example 2020-08-27 10:15:53 -07:00
Daniel G. Taylor
c3c90161df
fix: examples 2020-08-27 10:15:33 -07:00
Daniel G. Taylor
3d61a52ec1
feat: request input streaming, add tests 2020-08-27 10:00:25 -07:00
Daniel G. Taylor
0ffe2903e0
refactor: new interface 2020-08-26 22:28:30 -07:00
Daniel G. Taylor
0c275cfd3c
Merge pull request #10 from weiser/weiser/add-prefixed-docs
Weiser/add prefixed docs
2020-08-21 11:37:05 -07:00
David Weiser
8ce059a4ea fix comments 2020-08-21 11:30:18 -07:00
David Weiser
2797ef0e30 only add service links at root 2020-08-21 11:26:44 -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
75d43f149d ensure the dom contains the prefixed path to the openapi file 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
dependabot[bot]
83018b25aa
chore(deps): bump uvicorn from 0.11.3 to 0.11.7 in /benchmark/fastapi
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.11.3 to 0.11.7.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.11.3...0.11.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-29 19:07:35 +00:00
Daniel G. Taylor
3a76a87171
fix: return correct status to other middleware 2020-07-21 13:29:20 -07:00
Daniel G. Taylor
3be3681c6e
tests: prevent security popup on Mac 2020-07-13 10:57:38 -07:00