dependabot[bot]
17a4b220fc
Bump serde_json from 1.0.79 to 1.0.81 ( #45 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 23:17:00 -07:00
Adam Leventhal
7f1b98f7b1
pull in the most recent typify ( #44 )
...
change symbol sanitization accordingly (use heck rather than convert_case)
fix: OpenAPI -> JSON Schema conversion was losing title and docs
remove assert that there are no tag (but still ignore them)
2022-05-09 17:30:08 -07:00
Adam Leventhal
ea80069ef3
Handle byte streams for both success and error responses ( #35 )
2022-03-15 16:11:47 -07:00
Adam Leventhal
305635e779
update ( #33 )
2022-03-07 23:22:44 -08:00
Adam Leventhal
579260a943
correct handling of parameters ( #32 )
...
- improve parameter handling for names that are invalid rust identifiers
- fix broken logic for non-optional query parameters
2022-03-04 10:58:16 -08:00
Adam Leventhal
25192b5dc1
Add a wrapper types for success and error responses ( #26 )
2022-02-08 08:59:38 -08:00
Adam H. Leventhal
f1f9e2e938
improve santization
2022-01-16 09:09:30 -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
e47fc93748
generate iterators over dropshot paginated interfaces ( #19 )
...
* Adds support for interating with Streams over interfaces that are tagged
with the x-dropshot-pagination extension. This requires clients to use
the futures crate.
Adds tests that compile generated clients.
Updates nexus.json to reflect a more recent omicron API.
Changes all generated methods to have a lifetime ('a) bound on all
references. This isn't necessary for most methods, but greatly
simplifies generation of the associated paginated interface.
2022-01-05 12:02:46 -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
37a530ba4f
unwind local typify ( #15 )
2021-11-09 23:38:36 -08:00
Adam H. Leventhal
75b224c047
Handle operations whose response is a `null`
2021-11-09 23:27:07 -08:00
Adam Leventhal
a3fbbc06ba
fixes to support omicron clients ( #14 )
2021-11-06 23:24:03 -07:00
Adam Leventhal
05dcf08091
update for typify ( #13 )
2021-11-02 11:16:55 -07: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
Adam H. Leventhal
62d2acf0aa
update rustfmt-wrapper to crates.io
2021-10-09 08:55:04 -07:00
Adam Leventhal
3fe0029f5d
minor cleanup ( #8 )
2021-10-09 08:38:01 -07:00
Joshua M. Clulow
57ac1d606f
update dependencies (includes several typify improvements)
2021-10-07 18:36:21 -07:00
Adam Leventhal
7e16140b78
improved whitespace handling ( #6 )
2021-10-03 21:14:01 -07:00
Adam Leventhal
865dbd4be4
migrate to typify and use quote ( #4 )
2021-10-02 11:40:03 -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
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