Geoffrey Garrett
8726ea91eb
fix(cli): operation response type exhaustive
2024-07-13 17:50:07 +02:00
Geoffrey Garrett
b6993ce02e
feat: support multiple response types ( #344 , #395 )
...
Add support for multiple response types in the generated client, including handling JSON deserializable types, empty bodies, streams of bytes, and upgraded connections.
This change addresses the following issues:
- Multiple response types not supported (#344 )
- Path to GitHub client (#395 )
2024-07-13 17:50:07 +02:00
Adam Leventhal
244fe03164
move to workspace dependencies ( #834 )
2024-06-20 19:04:05 -07:00
dependabot[bot]
0937886cc8
Bump schemars from 0.8.20 to 0.8.21 ( #816 )
2024-05-27 07:26:29 -07:00
dependabot[bot]
2f1d3dde26
Bump schemars from 0.8.17 to 0.8.20 ( #811 )
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.17 to 0.8.20.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.17...v0.8.20 )
---
updated-dependencies:
- dependency-name: schemars
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>
2024-05-22 16:07:16 -07:00
Adam Leventhal
c59c6d64ed
CLI: handling of no-content responses is lousy ( #805 )
2024-05-15 11:04:45 -07:00
Adam H. Leventhal
3dd09970a8
typify dep to github
2024-05-15 10:45:31 -07:00
Adam H. Leventhal
9d88e9e70a
release progenitor 0.7.0
2024-05-15 10:30:58 -07:00
Adam H. Leventhal
a85b0f00d9
prep for release
2024-05-15 09:53:09 -07:00
Adam Leventhal
98d5f1b0b7
pass through typify `x-rust-type` settings ( #804 )
2024-05-14 14:54:03 -07:00
dependabot[bot]
7eb562d115
Bump serde_json from 1.0.116 to 1.0.117 ( #803 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.116...v1.0.117 )
---
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>
2024-05-13 09:31:58 -07:00
dependabot[bot]
9252576443
Bump schemars from 0.8.16 to 0.8.17 ( #791 )
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.16 to 0.8.17.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.16...v0.8.17 )
---
updated-dependencies:
- dependency-name: schemars
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>
2024-04-29 08:42:34 -07:00
dependabot[bot]
73cad9861f
Bump serde_json from 1.0.115 to 1.0.116 ( #787 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116 )
---
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>
2024-04-23 09:31:08 -07:00
Adam Leventhal
d4decd4728
Mock code doesn't compile if path parameters are renamed ( #782 )
2024-04-22 09:51:38 -07:00
dependabot[bot]
7aa3cc5127
Bump heck from 0.4.1 to 0.5.0 ( #772 )
...
Bumps [heck](https://github.com/withoutboats/heck ) from 0.4.1 to 0.5.0.
- [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md )
- [Commits](https://github.com/withoutboats/heck/commits )
---
updated-dependencies:
- dependency-name: heck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 14:46:55 -07:00
Adam Leventhal
85fab0d8ae
use `--limit` in the CLI to limit the full list of output items ( #761 )
2024-04-03 11:09:01 -07:00
dependabot[bot]
b27c6d4621
Bump indexmap from 2.2.5 to 2.2.6 ( #753 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.5 to 2.2.6.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-04-03 11:01:40 -07:00
dependabot[bot]
a31e82b55b
Bump serde_json from 1.0.114 to 1.0.115 ( #751 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.114...v1.0.115 )
---
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>
2024-04-03 11:01:35 -07:00
John Gallagher
1a61bf1e66
Fix dropshot-pagination `_stream` client codegen ( #756 )
2024-04-03 09:42:05 -07:00
dependabot[bot]
ab09dcb5a1
Bump indexmap from 2.2.3 to 2.2.5 ( #735 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.3 to 2.2.5.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.3...2.2.5 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-03-04 09:01:51 -08:00
Adam H. Leventhal
be44be38fe
update typify dep for dev
2024-02-28 13:13:39 -08:00
Adam H. Leventhal
0050f08b95
release progenitor 0.6.0
2024-02-28 13:10:38 -08:00
Adam H. Leventhal
456eda35e9
update typify dep for publishing
2024-02-28 13:10:05 -08:00
Rain
d813145b44
update generated code for Rust 1.76 ( #729 )
2024-02-21 11:24:30 -08:00
dependabot[bot]
d7d6ff9500
Bump indexmap from 2.2.2 to 2.2.3 ( #719 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.2 to 2.2.3.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.2...2.2.3 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-02-13 10:08:53 -08:00
Adam Leventhal
dc5e1f1840
CLI: add an output interface for consumers ( #708 )
2024-02-05 15:01:38 -08:00
dependabot[bot]
dc942604e3
Bump indexmap from 2.2.1 to 2.2.2 ( #712 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.1 to 2.2.2.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.1...2.2.2 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-02-05 08:39:20 -08:00
Joshua M. Clulow
3ff2ec1d5f
allow request mutation and async code in prehooks ( #457 )
2024-02-04 11:19:07 -08:00
dependabot[bot]
0014eda6be
Bump indexmap from 2.1.0 to 2.2.1 ( #704 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.1.0 to 2.2.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.1.0...2.2.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 10:57:47 -08:00
dependabot[bot]
c63ff54367
Bump serde_json from 1.0.111 to 1.0.113 ( #703 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.111 to 1.0.113.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.113 )
---
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>
2024-02-02 10:57:37 -08:00
Adam Leventhal
86b60220b8
explicitly ignore clippy ( #702 )
2024-01-24 21:48:56 -08:00
John Vandenberg
a0cd9438e3
Fix spelling ( #685 )
2024-01-16 09:18:39 -08:00
dependabot[bot]
cd67545ee1
Bump typify from `7ceddf6` to `1d8e828` ( #684 )
...
* Bump typify from `7ceddf6` to `1d8e828`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `7ceddf6` to `1d8e828`.
- [Commits](7ceddf6644...1d8e828f29
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update fixtures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <ahl@oxide.computer>
2024-01-11 10:50:00 -08:00
John Vandenberg
d3e89232a3
Move test generated clients into a buildable crate ( #638 )
2024-01-10 16:22:57 -08:00
John Vandenberg
4a182d734e
Require docs for public members ( #614 )
2024-01-06 11:30:42 -08:00
John Vandenberg
359f4f56cc
Allow API to reside at submodule of crate ( #642 )
2024-01-06 08:19:59 -08:00
Adam Leventhal
8088f55470
add docs to mods and extension traits ( #677 )
2024-01-06 01:01:12 -08:00
Adam Leventhal
84999308b4
don't assume a String error type for conversions ( #676 )
2024-01-05 23:26:43 -08:00
dependabot[bot]
4625065afd
Bump schemars from 0.8.13 to 0.8.16 ( #627 )
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.13 to 0.8.16.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.13...v0.8.16 )
---
updated-dependencies:
- dependency-name: schemars
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>
2023-12-30 15:16:53 -08:00
dependabot[bot]
3685587202
Bump typify from `0894f06` to `000c04b` ( #658 )
...
* Bump typify from `0894f06` to `000c04b`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `0894f06` to `000c04b`.
- [Commits](0894f06e67...000c04b288
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixture data
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <ahl@oxide.computer>
2023-12-18 11:13:01 -08:00
Adam H. Leventhal
807a99ee17
use github typify dep again
2023-12-15 17:15:19 -08:00
Adam H. Leventhal
fe906270c4
release progenitor 0.5.0
2023-12-15 17:09:49 -08:00
Adam H. Leventhal
1528cdd9c4
prep for 0.5.0 release
2023-12-15 16:58:37 -08:00
dependabot[bot]
66595ccfd6
Bump typify from `b0df7aa` to `0894f06` ( #657 )
...
* Bump typify from `b0df7aa` to `0894f06`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `b0df7aa` to `0894f06`.
- [Commits](b0df7aa37a...0894f06e67
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update fixtures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <ahl@oxide.computer>
2023-12-15 16:31:24 -08:00
dependabot[bot]
4bc161e17b
Bump openapiv3 from 2.0.0-rc.1 to 2.0.0 ( #651 )
...
Bumps [openapiv3](https://github.com/glademiller/openapiv3 ) from 2.0.0-rc.1 to 2.0.0.
- [Changelog](https://github.com/glademiller/openapiv3/blob/master/CHANGELOG.md )
- [Commits](https://github.com/glademiller/openapiv3/compare/v2.0.0-rc.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: openapiv3
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>
2023-12-13 01:24:12 -08:00
dependabot[bot]
cbdd704d73
Bump typify from `d6d8599` to `b0df7aa` ( #648 )
...
* Bump typify from `d6d8599` to `b0df7aa`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `d6d8599` to `b0df7aa`.
- [Commits](d6d85998d2...b0df7aa37a
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixtures
* update fixtures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <ahl@oxide.computer>
2023-12-13 01:14:28 -08:00
John Vandenberg
2fd9260fc4
Use crate name when emitting derive for tests ( #641 )
2023-12-13 00:48:59 -08:00
Adam Leventhal
4cce71069f
improve builder `TryInto` failure messages for body parameters ( #646 )
2023-12-12 16:58:20 -08:00
dependabot[bot]
8eee0e3a20
Bump rustfmt-wrapper from 0.2.0 to 0.2.1 ( #624 )
...
Bumps [rustfmt-wrapper](https://github.com/oxidecomputer/rustfmt-wrapper ) from 0.2.0 to 0.2.1.
- [Changelog](https://github.com/oxidecomputer/rustfmt-wrapper/blob/main/CHANGELOG.adoc )
- [Commits](https://github.com/oxidecomputer/rustfmt-wrapper/commits )
---
updated-dependencies:
- dependency-name: rustfmt-wrapper
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>
2023-11-13 08:47:28 -08:00
dependabot[bot]
9bf6bf7cd5
Bump serde_json from 1.0.107 to 1.0.108 ( #620 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
---
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>
2023-11-10 19:51:50 -08:00