Commit Graph

170 Commits

Author SHA1 Message Date
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
dependabot[bot] 4c001d3af7
Bump indexmap from 2.0.2 to 2.1.0 (#622)
Bumps [indexmap](https://github.com/bluss/indexmap) from 2.0.2 to 2.1.0.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/2.0.2...2.1.0)

---
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>
2023-11-06 11:33:12 -08:00
dependabot[bot] 91a1c379ca
Bump regex from 1.9.6 to 1.10.2 (#611)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.6 to 1.10.2.
- [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.9.6...1.10.2)

---
updated-dependencies:
- dependency-name: regex
  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>
2023-10-23 14:59:39 -07:00
Adam Leventhal 54ea87fa40
openapiv3 v2 (#607) 2023-10-21 00:55:40 -07:00
Adam H. Leventhal 2708963c5f merge race 2023-10-16 12:13:05 -07:00
Sophie Tauchert a1de78dbeb
Add support for text/plain and text/x-markdown body content types (#593) 2023-10-16 11:47:50 -07:00
Ian Nickles 6dc2a0ff2d
Generate unique internal var names and add tests for name collisions. (#601)
* Generate unique identifiers for internal variable names instead of using a
static prefix.

* Add tests for previous name collision issues.

* only prefix when needed.

Co-authored-by: Adam Leventhal <ahl@oxide.computer>

* add missing test invocation.

* update test fixtures per aaa40855485ca3c2ccf338c07d595ffc907975a1.

---------

Co-authored-by: Adam Leventhal <ahl@oxide.computer>
2023-10-16 11:44:24 -07:00
dependabot[bot] 08428bea99
Bump indexmap from 2.0.0 to 2.0.2 (#602)
* Bump indexmap from 2.0.0 to 2.0.2

Bumps [indexmap](https://github.com/bluss/indexmap) from 2.0.0 to 2.0.2.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/2.0.0...2.0.2)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* lock it down

---------

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-10-16 10:28:22 -07:00
Ian Nickles d5f92a0e46
Rename internal `client` variable to help avoid collisions with input specs. (#600) 2023-10-12 15:39:06 -07:00
Ian Nickles 233cb80d94
Prefix internal variable names to help avoid collisions (#599) 2023-10-12 10:57:24 -07:00
Adam Leventhal 4dcba5928c
improve and simplify openapiv3 -> schemars conversion (#592) 2023-10-04 08:12:59 -07:00
dependabot[bot] e1451f0879
Bump expectorate from 1.0.7 to 1.1.0 (#588)
Bumps [expectorate](https://github.com/oxidecomputer/expectorate) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases)
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.7...v1.1.0)

---
updated-dependencies:
- dependency-name: expectorate
  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>
2023-10-02 09:25:20 -07:00
Adam H. Leventhal 609b63ad5e cleanup post-0.4.0 release 2023-09-25 14:41:04 -07:00
Adam H. Leventhal 73087a37fd release progenitor 0.4.0 2023-09-25 14:41:04 -07:00
Adam H. Leventhal 421029ec20 prepare for 0.4.0 release 2023-09-25 14:41:02 -07:00
dependabot[bot] b1e0004e6b
Bump serde_json from 1.0.105 to 1.0.107 (#577)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.107)

---
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-09-23 21:12:32 -07:00
dependabot[bot] 7a99106c3d
Bump unicode-ident from 1.0.11 to 1.0.12 (#578)
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases)
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.11...1.0.12)

---
updated-dependencies:
- dependency-name: unicode-ident
  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-09-23 21:12:24 -07:00
dependabot[bot] 5aed9f640b
Bump serde_json from 1.0.103 to 1.0.105 (#558)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.103 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.105)

---
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-09-05 08:41:33 -07:00
dependabot[bot] ca8b4ef6f8
Bump indexmap from 1.9.3 to 2.0.0 (#508)
* Bump indexmap from 1.9.3 to 2.0.0

Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.3 to 2.0.0.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.9.3...2.0.0)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

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-09-01 12:46:18 -07:00
dependabot[bot] b06dc16f78
Bump openapiv3 from 1.0.2 to 1.0.3 (#554)
* Bump openapiv3 from 1.0.2 to 1.0.3

Bumps [openapiv3](https://github.com/glademiller/openapiv3) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/glademiller/openapiv3/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: openapiv3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix cargo.lock

---------

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-08-28 13:50:19 -07:00
Adam H. Leventhal 90fae279f9 update rustfmt (let/else) 2023-08-25 15:15:28 -07:00
dependabot[bot] 59d8894195
Bump regex from 1.8.4 to 1.9.3 (#545)
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.3.
- [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.8.4...1.9.3)

---
updated-dependencies:
- dependency-name: regex
  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>
2023-08-25 15:02:59 -07:00
dependabot[bot] 46d2be5eca
Bump typify from `fdfed7c` to `6cc08a7` (#534)
* Bump typify from `fdfed7c` to `6cc08a7`

Bumps [typify](https://github.com/oxidecomputer/typify) from `fdfed7c` to `6cc08a7`.
- [Commits](fdfed7c578...6cc08a71d3)

---
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-08-08 08:30:34 -07:00
dependabot[bot] def7d82d50
Bump unicode-ident from 1.0.9 to 1.0.11 (#529) 2023-07-24 07:20:20 -07:00
dependabot[bot] 851716e077
Bump serde_json from 1.0.100 to 1.0.103 (#526)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.100 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.100...v1.0.103)

---
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-07-18 08:57:17 -07:00
Adam Leventhal eb0d9d207a
Restructure argument processing (#523)
Restructure argument processing to close up some corner cases where we didn't properly identify when the json body was required and to make it more extensible to other types of parameters such as those derived from enum variants.
2023-07-14 17:37:54 -07:00
dependabot[bot] 0829534501
Bump hyper from 0.14.26 to 0.14.27 (#519)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.26 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.26...v0.14.27)

---
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>
2023-07-10 07:53:51 -07:00
dependabot[bot] 11b2bd31a6
Bump serde_json from 1.0.96 to 1.0.97 (#500)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97)

---
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-06-19 07:40:48 -07:00
Adam Leventhal 66c890807f
CLI: improve required settings for paginated operations (#469) 2023-05-15 08:59:07 -07:00
Adam H. Leventhal fb7a2d4c7e revert cargo.toml change 2023-05-15 07:11:31 -07:00
Adam Leventhal e7c4c16d9f
add special handling for optional query parameters (#468) 2023-05-12 15:04:00 -07:00
Adam Leventhal b94123e5ac
httpmock patterns are too general (#467) 2023-05-12 13:19:09 -07:00
Adam Leventhal 87749a11ee
update for new dropshot pagination format (#465) 2023-05-08 11:16:48 -07:00
Adam Leventhal e6004a936f
sync (#464) 2023-05-08 10:04:30 -07:00
Adam Leventhal db1826841e
add a json-body option to specify the full body (#458) 2023-05-07 20:43:45 -07:00
Benjamin Leonard 1121d5948c
Support for `long_about` in `generated_cli` (#456) 2023-05-04 08:36:17 -07:00
Adam Leventhal d0d1137a3a
generated streaming interfaces should honor the limit input (#455) 2023-05-03 20:53:28 -07:00
Adam H. Leventhal d8f1b216b2 update typify dependency 2023-05-03 13:17:39 -07:00
Adam H. Leventhal 3d96016ae8 release progenitor 0.3.0 2023-05-03 11:58:49 -07:00
Adam H. Leventhal 1b00c3c3f2 Prepare for next release 2023-05-03 11:54:57 -07:00
Adam Leventhal d135ec6df7
change handling of optional parameters (#453) 2023-05-03 11:44:26 -07:00