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

304 commits

Author SHA1 Message Date
96317cdfb7
fix documentation for accept header matcher 2020-04-25 20:47:13 +02:00
msrd0
805df80971 Merge branch 'path-matchers' into 'master'
Add path matchers that are more capable than gotham's stock ones

See merge request msrd0/gotham-restful!11
2020-04-25 18:31:57 +00:00
msrd0
4ce53bc361 Add path matchers that are more capable than gotham's stock ones 2020-04-25 18:31:57 +00:00
d08d9bea8c
fix some clippy warnings 2020-04-25 17:01:16 +02:00
147ea980bf
move to Rust 1.42 features 2020-04-25 16:47:33 +02:00
ad6e3dd00d
make sure that 204-responses can be accepted 2020-04-22 11:46:15 +02:00
876f44ceff
advertise the stable branch 2020-04-22 11:31:45 +02:00
f70865d246
fix no schema having content 2020-04-22 11:29:23 +02:00
b6006797f4
update readme 2020-04-20 22:34:39 +02:00
8834f3f64b
fix import error 2020-04-19 22:27:34 +02:00
1e607bbcc9
more generous FromBody implementation 2020-04-19 22:26:29 +02:00
fdc34fc296
remove weird useless constraint 2020-04-19 20:49:47 +02:00
45cad64923
add ResourceResult impl for Result<AuthResult<T>, E> 2020-04-18 16:18:02 +02:00
523d01d443
async fn and conn are not compatible atm since diesel is completely sync 2020-04-18 15:48:00 +02:00
310d7f79d5
fix state ownership issue when using the database feature 2020-04-16 23:48:54 +02:00
63e6eb9b32
re-export gotham 2020-04-15 23:20:41 +02:00
a493071ff8
dependency management 2020-04-15 23:16:03 +02:00
40e6d1bc03
make clear that this tracks gotham master 2020-04-15 23:01:21 +02:00
694b45ea60
Merge branch 'master' into gotham-master
Conflicts:
	example/Cargo.toml
	gotham_restful/Cargo.toml
2020-04-15 22:55:26 +02:00
659fd2f7e2
bump version to 0.0.4 / derive 0.0.3 2020-04-15 21:50:38 +02:00
c3e2185396
remove some more expect/panic stuff 2020-04-15 21:41:24 +02:00
89f6494b51
asyncify method proc macro 2020-04-15 21:15:40 +02:00
427c836f52
expose async to handlers 2020-04-15 20:55:25 +02:00
d7282786b1
require all resource results to be sendable 2020-04-14 22:45:06 +02:00
06e6c93a46
fix openapi routing errors 2020-04-14 22:41:20 +02:00
a8ae939019
clean up async shit 2020-04-14 22:40:27 +02:00
ede0d75161
start moving shit over to async 2020-04-14 21:17:12 +02:00
f425f21ff3
update jsonwebtoken, futures, and hyper and co 2020-04-14 17:44:07 +02:00
fbcc626478
write tests for the openapi types 2020-04-13 02:46:01 +02:00
93cbc36046
dump codecov.io and redo badges 2020-04-12 22:31:53 +02:00
095686f390 Merge branch 'idiomatify-error-handling-code' into 'master'
Idiomatify error handling code in gotham_derive

See merge request msrd0/gotham-restful!10
2020-04-12 19:58:05 +00:00
d610103750 Idiomatify error handling code in gotham_derive 2020-04-12 19:58:05 +00:00
08a8f3557b
fix no accepted types result in no openapi content being generated
fixes #15
2020-04-11 20:34:51 +02:00
8d85893ca4 Merge branch 'auth-detection' into 'master'
auth is now per-method and not per-return-type

Closes #14

See merge request msrd0/gotham-restful!9
2020-04-11 18:13:36 +00:00
d10895076e auth is now per-method and not per-return-type 2020-04-11 18:13:36 +00:00
f6f16949a1 Merge branch 'improve-error-messages' into 'master'
Improve error messages

See merge request msrd0/gotham-restful!8
2020-04-11 17:36:24 +00:00
1d4d75c84a
proper error message for too many / too few parameters 2020-04-11 19:20:30 +02:00
6748130ff5
easier debugging 2020-04-08 22:18:06 +02:00
381a230b81
remove panics from expand_method 2020-04-08 22:07:33 +02:00
f677789747
remove panics from FromBody 2020-04-08 21:53:57 +02:00
2b8ad48504
remove panics from RequestBody 2020-04-07 23:01:26 +02:00
5954be324a
remove panics from derive(OpenapiType) 2020-04-07 22:54:23 +02:00
d8c2ffaa9d Merge branch 'allow-openapi-customizations' into 'master'
Allow OpenAPI customizations

See merge request msrd0/gotham-restful!7
2020-04-07 20:44:02 +00:00
810680d9b1 Allow OpenAPI customizations 2020-04-07 20:44:02 +00:00
75d2a8f557 Merge branch 'less-generic-type-arguments' into 'master'
Less generic type arguments

See merge request msrd0/gotham-restful!6
2020-04-06 16:20:08 +00:00
744f56acf9 Less generic type arguments 2020-04-06 16:20:08 +00:00
e0a1505d13
update readme 2020-04-05 23:17:53 +02:00
212fca738b
fix doc 2020-04-05 22:18:31 +02:00
1d1682a03d
remove the annoying ToString type when what we really need is a &str 2020-03-30 22:42:22 +02:00
c508ac878d
clean up some stuff ;; use Default::default() more often 2020-03-30 22:40:08 +02:00