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

299 commits

Author SHA1 Message Date
63567f5480
ci: fix typo 2021-03-09 20:08:12 +01:00
3a3f743369
ci: include openapi_type crate 2021-03-09 19:55:04 +01:00
ebea39fe0d
use openapi_type::OpenapiType for gotham_restful 2021-03-09 19:46:11 +01:00
eecd192458
redo and test openapi type implementations 2021-03-09 17:07:41 +01:00
2a35e044db
more error messages
[skip ci]
2021-03-09 16:17:11 +01:00
a57f1c097d
enum representations
[skip ci]
2021-03-09 00:17:13 +01:00
5f60599c41
more enum stuff
[skip ci]
2021-03-08 17:33:49 +01:00
43d3a1cd89
start implementing enums 2021-03-08 17:20:41 +01:00
667009bd22
copy OpenapiType implementations and fix codegen reference 2021-03-08 16:33:38 +01:00
d9c7f4135f
start openapi-type codegen 2021-03-07 23:09:50 +01:00
90870e3b6a
basic structure for openapi_type crate 2021-03-07 19:05:25 +01:00
2251c29d7b
Merge commit '09dee5a673ac29ec38ab6f1442f403b20a776959' (release 0.2.1)
[skip ci]
2021-03-04 00:10:07 +01:00
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
960ba0e8bc
track gotham master 2021-02-28 01:59:59 +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