Commit Graph

15 Commits

Author SHA1 Message Date
Adam Leventhal 98d5f1b0b7
pass through typify `x-rust-type` settings (#804) 2024-05-14 14:54:03 -07:00
Joshua M. Clulow 3ff2ec1d5f
allow request mutation and async code in prehooks (#457) 2024-02-04 11:19:07 -08:00
John Vandenberg 4a182d734e
Require docs for public members (#614) 2024-01-06 11:30:42 -08:00
Adam Leventhal 88ff3cf1e0
update typify and nexus.json (#323) 2023-01-31 21:28:12 -08:00
Adam Leventhal 9f0a9910ab
Let consumers replace types by name (#317) 2023-01-24 14:55:16 -08:00
John Vandenberg 1ef131a244
Add yaml support (#227) 2023-01-14 08:58:57 -08:00
Adam Leventhal 57031d77d3
Allow conversion overrides by specifying a schema (#280) 2022-12-27 11:55:57 -08:00
Adam Leventhal 68290b08e0
allow for type adjustments: renames, and additional derives (#234) 2022-11-14 10:51:05 -08:00
Adam Leventhal 9b28ac87c6
add an optional builder pattern as well as extension traits for tags when using the builder interface (#86) 2022-07-02 19:09:38 -07:00
Adam Leventhal 3cd1eae3f5
improve docs and uuid version handling (#65) 2022-05-20 14:52:37 -07:00
Adam Leventhal 25192b5dc1
Add a wrapper types for success and error responses (#26) 2022-02-08 08:59:38 -08:00
Adam Leventhal aff25f2292
Allow consumers to specify additional derive macros for generated types (#21) 2022-01-14 18:01:59 -08:00
Adam Leventhal dd9d1e8846
use include_str! to trigger a rebuild when the input spec is modified (#16)
* use include_str! to trigger a rebuild when the input spec is modified

* update deps including typify
2021-11-16 18:00:55 -08:00
Adam Leventhal 7934be90b9
a variety of improvements to support omicron clients (#12)
- add the start of a client support crate
- add support for pre/post request hooks with consumer-specific data
- suggest type names for parameter and response types in case those
  types are unnamed
- handle more reference types by resolving them properly
- improve optional parameter generation
2021-10-29 07:16:39 -07:00
Adam Leventhal 97857c347c
convert from executable -> executable + library with macro and builder options (#9) 2021-10-17 10:40:22 -07:00