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

130 commits

Author SHA1 Message Date
415b280ae5
fix no schema having content 2020-04-22 11:29:52 +02:00
84c942111e
Raw<T> should be always acceptable and therefore not declare any accepted types 2020-04-21 21:37:17 +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
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
4c50ea0959
releasing is hard, try 0.0.3 2020-02-24 20:05:35 +01:00
a57176529c
fix 2020-02-24 20:03:09 +01:00
5d730df90d
properly enable/disable errorlog 2020-02-24 19:19:21 +01:00
311a7f082b
bump version to 0.0.2 attempt 2 2020-02-24 17:50:09 +01:00
2f02472e71
bump version to 0.0.2 2020-02-24 17:41:29 +01:00
dc4de30a71
make enums a non-inlined schema 2020-02-23 19:53:03 +01:00
d60d369f7f
ci: gitlab runner tags simply don't work properly
This reverts commit d49ac8adae.
2020-02-23 17:00:10 +01:00
d49ac8adae
ci: tag cargo test jobs with fast 2020-02-21 22:41:24 +01:00
845f85ee48
ci: use msrd0/cargo-readme 2020-02-11 18:56:47 +01:00
5057de90e6
add errorlog feature 2020-02-10 21:41:44 +01:00
640bb8263c
move security auth openapi stuff into the path 2020-02-10 21:17:49 +01:00
b4a7b4d810
add convenient methods for AuthResult 2020-02-08 13:44:46 +01:00
ff02e3c06b
add OpenapiType for BTreeSet and HashSet 2020-02-08 12:47:36 +01:00
9d21ea9cce
housekeeping 2020-01-31 14:46:42 +01:00
0d218f2532
allow base64 0.10.1 to be used as jwt and gotham both use the older version 2020-01-25 16:17:25 +01:00
48867da535
add AuthResult resource result type 2020-01-25 15:59:37 +01:00
756fd3a98a
some housekeeping 2020-01-25 14:11:57 +01:00
6e9d8bd158
derive: AuthStatus<T> needs T to always be Clone 2020-01-25 14:04:26 +01:00
342fd2a647
remove failure as it is not used anywhere 2020-01-24 18:01:27 +01:00
e710182f14
update versions 2020-01-24 17:59:20 +01:00
d3b27bae8a
we need to clone the AuthSource because lifetimes are annoying 2020-01-24 17:52:53 +01:00
747c0063c4 Merge branch 'auth' into 'master'
See merge request msrd0/gotham-restful!4
2020-01-22 16:53:02 +00:00
088774fc50 implement auth parsing/verifying inside a gotham middleware 2020-01-22 16:53:02 +00:00
c025cbd8ea
update ci 2020-01-20 23:51:27 +01:00