Commit Graph

735 Commits

Author SHA1 Message Date
Adam Leventhal 7e16140b78
improved whitespace handling (#6) 2021-10-03 21:14:01 -07:00
Adam Leventhal 874f959a75
Add a newline between items (#5) 2021-10-03 20:31:53 -07:00
Adam Leventhal 865dbd4be4
migrate to typify and use quote (#4) 2021-10-02 11:40:03 -07:00
Joshua M. Clulow eec74acf18 basic handling of "HashMap<String, String>" from dropshot 2021-10-01 22:09:10 -07:00
Adam Leventhal 3548096bdd
update to openapiv3 1.0.0-beta.1 to get (and test) some useful new bits (#3) 2021-09-25 16:57:55 -07:00
Joshua M. Clulow 01f184f8fe use the uuid crate if we detect a uuid 2021-09-23 13:54:42 -07:00
Joshua M. Clulow 2a319675b1 path parameters first, by position; then query parameters, by name 2021-09-17 21:17:21 -07:00
Joshua M. Clulow aab5061b56 type definitions should occur in a stable order (rustfmt) 2021-09-17 21:16:28 -07:00
Joshua M. Clulow abf423f96c if there are no defined responses, return a raw Response 2021-09-17 21:14:49 -07:00
Joshua M. Clulow 9ff59e812d fix broken template test 2021-09-17 21:13:06 -07:00
Joshua M. Clulow a4f920bd30 clippy warnings 2021-09-17 18:48:14 +00:00
Joshua M. Clulow 580b1c90a2 type definitions should occur in a stable order 2021-09-17 18:45:12 +00:00
Joshua M. Clulow 179dee4aaf rustfmt 2021-09-17 18:44:11 +00:00
Joshua M. Clulow 5e8b9d0e8c add new_with_client() constructor that accepts reqwest Client 2021-09-15 06:42:32 +00:00
Joshua M. Clulow 8409a6dced use &str not String for method parameters 2021-09-15 06:42:12 +00:00
Joshua M. Clulow afff057f00 omit missing optionals from JSON, rather than sending null 2021-09-15 06:41:31 +00:00
Joshua M. Clulow 2e5e7a1743 make structs cloneable 2021-09-15 06:40:32 +00:00
Joshua M. Clulow 9c99612b9a basic support for query parameters (fix typo in clippy fix) 2021-09-14 22:41:42 +00:00
Joshua M. Clulow 47164b2de2 basic support for query parameters 2021-09-14 22:26:36 +00:00
Joshua M. Clulow c707aa81e1 chrono import should be conditional and needs the serde feature 2021-09-01 18:56:51 +00:00
Joshua M. Clulow 7dea480b37 references for parameter types, improved newtype handling 2021-09-01 18:40:26 +00:00
Joshua M. Clulow 308f96fe60 query parameters dont actually work just yet 2021-09-01 18:39:26 +00:00
Joshua M. Clulow deace5928c basic handling of String newtypes and enumerations 2021-08-31 07:27:09 +00:00
Joshua M. Clulow dd73bac4c0 load request/response body types, emit entire crate 2021-07-02 03:29:25 +00:00
Joshua M. Clulow 4b0c2cec68 contain declared model types in a "types" module 2021-07-02 00:56:53 +00:00
Joshua M. Clulow dc05524823 URI encoding for path parameters 2021-07-02 00:56:17 +00:00
Joshua M. Clulow f1d477390c stable order for property names in generated structs 2021-07-02 00:54:42 +00:00
Joshua M. Clulow c8027ac760 rustfmt 2021-07-02 00:12:16 +00:00
Joshua M. Clulow 0ddb6bbb7c template: parameters not in last position are mishandled 2021-07-02 00:11:48 +00:00
Joshua M. Clulow 9c90253237 basic client object, request methods 2021-07-01 08:41:45 +00:00
Joshua M. Clulow 25ed132e2e parse path template and generate URL assembly code 2021-07-01 08:41:42 +00:00
Joshua M. Clulow 445b96056e support u64 2021-07-01 08:41:27 +00:00
Joshua M. Clulow c4c1bc02bc rustfmt 2021-06-19 08:08:18 +00:00
Joshua M. Clulow 575ec817d8 vaguely correct struct and function signature generation 2021-06-19 07:56:42 +00:00
Joshua M. Clulow db43fe751e initial commit 2021-06-19 07:36:13 +00:00