1
0
Fork 0
Commit graph

74 commits

Author SHA1 Message Date
Cyborus 61e24b800d
guess which types are url by field name 2024-01-16 18:55:19 -05:00
Cyborus 53922bc465
make *Query::to_string take self 2024-01-16 18:38:24 -05:00
Cyborus 0565c3f1c6
remove unnecessary enumeration 2024-01-16 18:38:02 -05:00
Cyborus ed1092bc9e
use OffsetDateTime::format instead of format_into 2024-01-16 18:37:31 -05:00
Cyborus 9bd1a137b8
use write! instead of .write_fmt 2024-01-16 18:36:50 -05:00
Cyborus f8bbf570e1
RequestBuilder::json takes reference, doesn't return result 2024-01-16 18:20:17 -05:00
Cyborus fed24b52ec
only check 200 responses for if optional 2024-01-16 18:18:38 -05:00
Cyborus edf4646953
add derives to generated structs 2024-01-16 18:15:38 -05:00
Cyborus 70b4081cde
simple recursion prevention 2024-01-16 18:09:13 -05:00
Cyborus 2859fd132e
add missing arg to UnexpectedStatusCode 2024-01-16 18:03:44 -05:00
Cyborus 2f60a92933
add type parameters to serde_json::Map 2024-01-16 17:49:00 -05:00
Cyborus b111e3352d
convert to snake case inside of sanitize_ident 2024-01-16 17:29:32 -05:00
Cyborus 41c710281d
sanitize body arg 2024-01-16 17:27:03 -05:00
Cyborus 4c7ec23ab7
impl on crate::Forgejo instead of Forgejo 2024-01-16 17:23:51 -05:00
Cyborus c17c1f8638
generate query structs 2024-01-16 17:23:02 -05:00
Cyborus f30b4eba30
autogenerate structs 2024-01-16 14:01:37 -05:00
Cyborus 12f2800b26
convert path args to camel case in format string 2024-01-16 13:07:28 -05:00
Cyborus 20a58df856
methods should be pub and async 2024-01-16 12:51:30 -05:00
Cyborus 3d12246cb8
import ForgejoError in generated file 2024-01-16 12:50:35 -05:00
Cyborus 769521840e
add method generation 2024-01-16 00:09:22 -05:00
Cyborus 9bb65d7609
prioritize ref when deserializing MaybeRef 2024-01-15 15:51:21 -05:00
Cyborus b98426f907
strongly type Parameter.in 2024-01-10 22:48:59 -05:00
Cyborus f8737defc6
format 2024-01-10 22:42:05 -05:00
Cyborus b9ba6e60d1
add openapi parsing 2024-01-10 22:09:06 -05:00