dependabot[bot]
bdb8e6a982
Bump unicode-xid from 0.2.2 to 0.2.3 ( #58 )
...
Bumps [unicode-xid](https://github.com/unicode-rs/unicode-xid ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/unicode-rs/unicode-xid/releases )
- [Commits](https://github.com/unicode-rs/unicode-xid/commits )
---
updated-dependencies:
- dependency-name: unicode-xid
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-17 10:23:31 -07:00
dependabot[bot]
e94c9d3791
Bump anyhow from 1.0.52 to 1.0.57 ( #57 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.52 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.52...1.0.57 )
---
updated-dependencies:
- dependency-name: anyhow
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-17 10:23:13 -07:00
dependabot[bot]
0ca0630c9e
Bump hyper from 0.14.17 to 0.14.18 ( #56 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.17 to 0.14.18.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.17...v0.14.18 )
---
updated-dependencies:
- dependency-name: hyper
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-17 10:22:46 -07:00
dependabot[bot]
765dac9171
Bump reqwest from 0.11.9 to 0.11.10 ( #55 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.9 to 0.11.10.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.9...v0.11.10 )
---
updated-dependencies:
- dependency-name: reqwest
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-17 10:22:24 -07:00
dependabot[bot]
c3bbf9c576
Bump regex from 1.5.4 to 1.5.5 ( #54 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
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-17 10:22:12 -07:00
Adam H. Leventhal
a6ee5c64d7
update dropshot
2022-05-13 14:57:00 -07:00
Adam H. Leventhal
eb14e8bbb8
starting progenitor 0.1.2-dev after releasing 0.1.1
2022-05-13 10:49:50 -07:00
Adam H. Leventhal
160190ff5a
update to 0.1.1
2022-05-13 10:30:50 -07:00
Adam Leventhal
30d64120af
remove cross-package file dependency by adding progenitor_client::code() ( #52 )
2022-05-13 10:26:22 -07:00
Adam H. Leventhal
fc15414bcd
update for new cargo release
2022-05-12 23:14:58 -07:00
Adam Leventhal
131ad61e6b
prep for initial release ( #51 )
2022-05-12 16:18:12 -07:00
Adam Leventhal
1af79ebec7
honor default values for struct properties ( #50 )
2022-05-12 15:07:48 -07:00
dependabot[bot]
5dba719455
Bump syn from 1.0.85 to 1.0.93 ( #49 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.85 to 1.0.93.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.85...1.0.93 )
---
updated-dependencies:
- dependency-name: syn
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:36 -07:00
dependabot[bot]
2e78d63c06
Bump quote from 1.0.14 to 1.0.18 ( #48 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.14 to 1.0.18.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.14...1.0.18 )
---
updated-dependencies:
- dependency-name: quote
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:18 -07:00
dependabot[bot]
3bafd8322f
Bump thiserror from 1.0.30 to 1.0.31 ( #47 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
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:13 -07:00
dependabot[bot]
3b2cb82e37
Bump uuid from 0.8.2 to 1.0.0 ( #46 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 0.8.2 to 1.0.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
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:06 -07:00
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 H. Leventhal
fea6396042
dependabot
2022-05-10 23:02:12 -07:00
Erik Hollensbe
b6a8ee0684
Fix reqwest feature causing a compilation error ( #42 )
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-09 17:34:25 -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
bbf81dfe7d
reorganize some code in anticipation of some larger changes ( #40 )
2022-04-01 22:30:23 -07:00
Adam Leventhal
75348207d7
improve rustdoc output for generated crates ( #37 )
2022-03-17 23:54:10 -07:00
Adam Leventhal
b7bbb5cdff
update ByteStream type to include Pin ( #36 )
2022-03-16 13:30:49 -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
ae7c178e21
Correct renaming of path component identifiers ( #34 )
2022-03-08 14:31:56 -08:00
Adam Leventhal
305635e779
update ( #33 )
2022-03-07 23:22:44 -08:00
Nixon Enraght-Moony
39177c5c0c
Fix typo ( #27 )
2022-03-07 22:44:51 -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
39b1d9107d
add helper functions to Error and ResponseValue ( #28 )
2022-02-23 21:07:30 -08:00
Adam H. Leventhal
24aa57a243
typo
2022-02-08 09:02:00 -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
e58ebd18fa
introduce an intermediate form ( #18 )
...
introduce an intermediate form; this is going to be used to generate a few different things:
- an interator interface for paginated APIs; the IR will let us re-use
the typify types
- a CLI generator that will generate calls into the generated client
- an automated test harness that will validate the generated client
against a mock server
2021-12-09 18:15:24 -08:00
Joshua M. Clulow
66b41ba301
buildomat: add basic build/test job mimicking the Actions workflow
2021-11-19 12:14:31 -08:00
Joshua M. Clulow
b2a833e351
enable buildomat check suites on push and pull request
2021-11-19 12:12:19 -08:00
David Crespo
f53d122406
bump openapiv3 to 1.0.0-beta.5 ( #17 )
2021-11-16 22:06:49 -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
Adam Leventhal
273120683b
Improve parameter types ( #7 )
2021-10-07 23:19:51 -07:00
Joshua M. Clulow
57ac1d606f
update dependencies (includes several typify improvements)
2021-10-07 18:36:21 -07:00
Joshua M. Clulow
270745257f
Client should be Clone, and should support .byte_stream() on responses
2021-10-04 21:50:43 -07:00