1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-23 04:52:28 +00:00
Commit graph

75 commits

Author SHA1 Message Date
eecd192458
redo and test openapi type implementations 2021-03-09 17:07:41 +01:00
msrd0
31f92c07cd Custom HTTP Headers 2021-02-27 15:40:34 +00:00
28ae4dfdee
add swagger_ui to the router 2021-02-25 00:37:55 +01:00
msrd0
7ed98c82e8 OpenAPI: Key Schema for HashMap's 2021-02-24 18:53:44 +00:00
msrd0
7de11cdae1 split the ResourceResult trait 2021-02-21 18:21:09 +00:00
c640efcb88
fix ui when openapi is enabled 2021-02-21 18:31:44 +01:00
8b73701405
replace some std::error::Error bounds with Into<HandlerError> 2021-02-03 22:58:08 +01:00
msrd0
af28e0d916 Reexports 2021-02-03 21:22:46 +00:00
msrd0
441a42c75e Add a Redirect type that can be returned by endpoints 2021-01-26 17:49:11 +00:00
cf0223473f
allow more types to appear in AuthErrorOrOther (related to #20) 2021-01-23 16:11:33 +01:00
f2bcc8438f
fix implicit &'static mut State error 2021-01-18 19:04:06 +01:00
msrd0
5261aa9931 Custom Endpoints 2021-01-18 16:56:16 +00:00
002cfb1b4d
fix some lints 2021-01-18 01:07:41 +01:00
msrd0
b807ae2796 Replace methods with more flexible endpoints 2021-01-18 00:05:30 +00:00
daea3ba9ec
introduce without-openapi feature to improve #4 2021-01-14 18:55:44 +01:00
b7a1193333
make all fields of response private, we're breaking change anyways
Closes #34
Related to #27
2021-01-14 18:45:32 +01:00
44f3c9fe84
add headers to the response (#27) 2021-01-14 18:37:51 +01:00
388bf8b49c
apply some clippy suggestions 2021-01-01 18:03:31 +01:00
766bc9d17d
support copying headers in cors preflight requests 2021-01-01 16:44:55 +01:00
2b8796b9c9
update readme 2021-01-01 15:43:40 +01:00
8a8e01e757
add openapi support for NonZeroU types 2020-11-25 03:11:30 +01:00
fee9dc89b0
support cookie auth without cookie jar in state 2020-11-23 23:17:28 +01:00
4ae860dd32
docs: use [Type] syntax from rust 1.48 2020-11-22 23:55:52 +01:00
00ffe95354
fix broken doc links 2020-11-21 16:53:18 +01:00
24893223b2
remove unused code and fix lint warning 2020-11-20 01:30:12 +01:00
d9c22579b0
only log errors on 500 responses (fixes #30) 2020-09-19 19:40:39 +02:00
0729d5b8ed
use anyhow 2020-09-17 12:25:58 +02:00
31835fe57f
use upstream Access-Control-Request-Method route matcher 2020-09-15 15:20:04 +02:00
d55b0897e9
update to gotham 0.5 and start using rustfmt 2020-09-15 15:10:41 +02:00
5317e50961
improve feature documentation 2020-05-27 10:22:13 +02:00
912f030bfd
improve the From impl for AuthErrorOrOther #20 2020-05-20 19:51:54 +02:00
c1cb0e692a
gotham finally has a release candidate 2020-05-20 09:33:12 +02:00
8321b63982
tests for the access control request method matcher 2020-05-20 09:01:11 +02:00
81803fd54a
add HashMap as OpenapiType 2020-05-19 19:23:29 +02:00
955715eea6
I don't know how I ended up with spaces 2020-05-16 14:27:13 +02:00
dc26e9a02e
improve cors doc 2020-05-16 14:22:23 +02:00
94abc75268
works on my machineTM 2020-05-16 13:59:47 +02:00
20818b0f95
enable doc test for default features 2020-05-16 01:06:07 +02:00
4ff5a8d7e4
doctest fix #26 2020-05-16 01:06:07 +02:00
74ef0af512
cors tests 2020-05-15 21:19:26 +02:00
f20c768d02
cors preflight 2020-05-14 23:30:59 +02:00
748bf65d3e
cors for non-preflight requests 2020-05-13 19:11:22 +02:00
b9002bd70d
remove Resource::name() method and update resource documentation 2020-05-09 18:01:47 +02:00
e2eb9b0fcc
fix 2020-05-08 22:54:54 +02:00
4bf0bd7b09
add design goals to readme 2020-05-08 15:10:37 +02:00
5587ded60d
merge workspace and main crate 2020-05-05 23:18:05 +02:00
4ef216e8c8
add proc macro derive for openapitype 2019-10-02 10:59:25 +02:00
a4185a5665
fix bug: required is now properly populated 2019-10-01 18:03:44 +02:00
3427fb4c6f
add dependencies to schema 2019-10-01 16:13:13 +02:00
d1c7ac5887
introduce OpenapiSchema type 2019-10-01 15:33:05 +02:00