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

286 commits

Author SHA1 Message Date
09dee5a673
update changelog 2021-03-03 23:46:13 +01:00
fabcbc4e78
pin version of openapiv3
they introduced breaking changes in patch release 0.3.3
2021-03-03 23:44:53 +01:00
bb6f5b0fdd
release 0.2.0 2021-02-27 17:16:04 +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
e7ef6bdf5a
cargo is dumb 2021-02-22 10:01:43 +01:00
666514c8e2
fix the example 2021-02-22 09:58:01 +01: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
30edd349ed
improve ui on invalid types for endpoints 2021-02-21 18:06:50 +01:00
90fc17e57d
ci: update cargo-readme 2021-02-17 04:02:54 +01:00
3b95b9f495
update trybuild rust version and rustfmt 2021-02-17 03:39:49 +01:00
1bd398c7ee
bump MSRV to 1.49+
not sure why but all older rust versions fail generic type resolution
2021-02-04 00:12:17 +01:00
8b73701405
replace some std::error::Error bounds with Into<HandlerError> 2021-02-03 22:58:08 +01:00
9e65540cd8
ci: make the rustfmt.sh script ash-compatible 2021-02-03 22:37:34 +01:00
44e2f0317c
ci: use less broken docker image for rustfmt 2021-02-03 22:24:05 +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
681ef5d894
add debug option to endpoint macro 2021-01-18 18:50:26 +01:00
70914d107b
fix missing FromState import 2021-01-18 18:38:12 +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
0ac0f0f504
fix features for doc 2021-01-15 17:33:40 +01:00
0251c03ceb
ci: fix tarpaulin features 2021-01-15 15:16:09 +01:00
75cd7e2c96
ci: the same applies to tarpaulin 2021-01-15 03:55:11 +01:00
edd8bb618d
ci: --workspace applies features from the example which breaks stuff 2021-01-15 03:49:35 +01: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
3600a115d0
use rust 1.49 for trybuild ui testing 2021-01-01 19:31:09 +01:00
388bf8b49c
apply some clippy suggestions 2021-01-01 18:03:31 +01:00
6ee382242b
fix example 2021-01-01 17:43:43 +01:00
813c12614f
update readme 2021-01-01 16:49:35 +01:00
766bc9d17d
support copying headers in cors preflight requests 2021-01-01 16:44:55 +01:00
b005346e54
fix the readme template 2021-01-01 16:18:50 +01:00
141e5ac2d7
bump version to 0.2.0-dev and change license to Apache-2.0 only 2021-01-01 15:56:47 +01:00
2b8796b9c9
update readme 2021-01-01 15:43:40 +01:00
71961268c4
add include directive to Cargo.toml to reduce crate size 2020-12-28 18:57:47 +01:00
9efc1cb192
bump version to 0.1.1 and add changelog 2020-12-28 18:35:48 +01:00
1ac323accc
example: replace log4rs with pretty_env_logger 2020-12-28 18:18:10 +01:00
7851b50bcd
update itertools to 0.10 and mark it as optional 2020-12-28 18:11:29 +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
4fd5464e44
get rid of mod's in error messages 2020-11-23 01:22:03 +01:00
f9c2009023
ci: check rustfmt 2020-11-23 00:02:16 +01:00
f1e1c5e521
update readme 2020-11-22 23:56:25 +01:00