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

49 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
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
08a8f3557b
fix no accepted types result in no openapi content being generated
fixes #15
2020-04-11 20:34:51 +02:00
d10895076e auth is now per-method and not per-return-type 2020-04-11 18:13:36 +00:00
810680d9b1 Allow OpenAPI customizations 2020-04-07 20:44:02 +00:00
744f56acf9 Less generic type arguments 2020-04-06 16:20:08 +00: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
a57176529c
fix 2020-02-24 20:03:09 +01:00
5d730df90d
properly enable/disable errorlog 2020-02-24 19:19:21 +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
48867da535
add AuthResult resource result type 2020-01-25 15:59:37 +01:00
6e9d8bd158
derive: AuthStatus<T> needs T to always be Clone 2020-01-25 14:04:26 +01:00
088774fc50 implement auth parsing/verifying inside a gotham middleware 2020-01-22 16:53:02 +00:00
6aa53942a0
openapiv3 upstream changed StringFormat: just use ..Default::default() 2020-01-17 21:37:41 +01:00
26cbe28b00
workaround for #7: no state when using conn 2020-01-14 23:32:16 +01:00
876da721f8
some fixes for database support 2020-01-14 23:16:31 +01:00
73457f2fda
basic diesel-middleware repo handling #7 2020-01-14 03:27:49 +01:00
e66968f63d
implement generic openapi type for serde_json::Value 2020-01-13 02:56:28 +01:00
3e7fad1fb1
fix tests 2019-10-20 19:39:00 +02:00
cff5f55d64
better type support 2019-10-20 18:23:36 +02:00
78be60b1a4
tidy up 2019-10-20 17:42:33 +02:00
11aa24f6ce
document known issues 2019-10-20 17:18:51 +02:00
3a64634872
dual-license under EPL-2.0 and Apache-2.0 2019-10-20 16:56:50 +02:00
d030fa539f Support File up/download 2019-10-20 14:49:53 +00:00
8c14070567
add some tests for query/path parameters 2019-10-14 15:56:15 +02:00
de7c3cb015
infer query parameters into openapi spec 2019-10-14 14:59:41 +02:00
2c31251cb2
weird proc macro issue 2019-10-14 02:37:50 +02:00
df3b735429
add first tests 2019-10-14 02:17:25 +02:00
853ee3e94c
documentation 2019-10-14 00:59:02 +02:00
4429fced3b
apply clippy suggestions 2019-10-13 23:36:10 +02:00
286466fcc9
finally get rid of the helper 2019-10-13 23:19:34 +02:00
81988c4ef0
fix previous commit 2019-10-13 23:17:49 +02:00
d025183a09
attempt to add query params to openapi 2019-10-13 23:12:12 +02:00
0153b2e22f
add search method 2019-10-13 17:43:42 +02:00
0cf7c9aa3a
add derive macro for resource 2019-10-06 15:03:30 +02:00
75c399d97a
allow Result<NoContent> responses 2019-10-05 16:06:08 +02:00
5a62af6319
implement no-content response 2019-10-05 14:50:05 +02:00
c8298b7bfa
remove rest_struct macro 2019-10-05 00:24:54 +02:00
46372dee60
don't loose dependencies 2019-10-03 00:54:12 +02:00
74ea1b820b
improve option handling 2019-10-03 00:11:23 +02:00
50ed2411c9
allow deriving enums 2019-10-03 00:04:33 +02:00
4ef216e8c8
add proc macro derive for openapitype 2019-10-02 10:59:25 +02:00