Commit Graph

655 Commits

Author SHA1 Message Date
Adam Leventhal 29ac543eb5
CLI: simple handling of paginated operations (#454) 2023-05-03 11:42:38 -07:00
Adam Leventhal 6936ecc51a
update typify (#452) 2023-05-02 13:55:50 -07:00
dependabot[bot] 1e356457b2
Bump typify from `26efa84` to `4152a79` (#447)
Bumps [typify](https://github.com/oxidecomputer/typify) from `26efa84` to `4152a79`.
- [Release notes](https://github.com/oxidecomputer/typify/releases)
- [Commits](26efa84c0f...4152a79d8e)

---
updated-dependencies:
- dependency-name: typify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 20:18:40 -07:00
dependabot[bot] 235445e6b1
Bump regress from 0.5.0 to 0.6.0 (#449)
Bumps [regress](https://github.com/ridiculousfish/regress) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/ridiculousfish/regress/releases)
- [Commits](https://github.com/ridiculousfish/regress/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: regress
  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-05-01 14:25:16 -07:00
dependabot[bot] 6ad63a3fc2
Bump clap from 4.2.2 to 4.2.5 (#450)
Bumps [clap](https://github.com/clap-rs/clap) from 4.2.2 to 4.2.5.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.2.2...v4.2.5)

---
updated-dependencies:
- dependency-name: clap
  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-05-01 14:24:56 -07:00
dependabot[bot] 8719b0f33d
Bump dropshot from `66aa765` to `d17f74d` (#448)
Bumps [dropshot](https://github.com/oxidecomputer/dropshot) from `66aa765` to `d17f74d`.
- [Release notes](https://github.com/oxidecomputer/dropshot/releases)
- [Commits](66aa7652f6...d17f74d428)

---
updated-dependencies:
- dependency-name: dropshot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 14:24:29 -07:00
dependabot[bot] 6cd1a5cf0d
Bump prettyplease from 0.1.25 to 0.2.4 (#446)
* Bump prettyplease from 0.1.25 to 0.2.4

Bumps [prettyplease](https://github.com/dtolnay/prettyplease) from 0.1.25 to 0.2.4.
- [Release notes](https://github.com/dtolnay/prettyplease/releases)
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.1.25...0.2.4)

---
updated-dependencies:
- dependency-name: prettyplease
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* syn -> 2.0

---------

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-05-01 14:24:25 -07:00
John Vandenberg c965167e7e
Add sample_openapi/README.md (#443)
* Add sample_openapi/README.md

* Update sample_openapi/README.md

Co-authored-by: Adam Leventhal <adam.leventhal@gmail.com>

* Update sample_openapi/README.md

Co-authored-by: Adam Leventhal <adam.leventhal@gmail.com>

---------

Co-authored-by: Adam Leventhal <adam.leventhal@gmail.com>
2023-04-28 08:54:45 -07:00
Adam Leventhal 6a515c304f
CLI: generate a fixed list of valid values for enum types (#442) 2023-04-26 15:15:07 -07:00
Jakob Klepp b2e1eee042
remove generate_text from build.rs example (#441) 2023-04-26 07:55:49 -07:00
Adam H. Leventhal 632cfeb81f fix merge 2023-04-25 22:23:57 -07:00
Douglas Dwyer 24862f92e0
Allow for parameters in content types (#430) 2023-04-25 22:09:05 -07:00
Dillen Meijboom d329bc0912
Add support for wasm (#278) 2023-04-25 21:50:04 -07:00
Adam Leventhal 362b6b728a
remove generate_text (#440) 2023-04-25 21:47:40 -07:00
John Vandenberg b717086ef3
Remove rustfmt from progenitor-impl (#368) 2023-04-25 09:11:52 -07:00
Adam Leventhal f6f957f89f
remove some turds / improve comments (#438) 2023-04-25 08:51:08 -07:00
Adam Leventhal 7da8db8544
generate `httpmock`-based testing code (#437) 2023-04-24 19:03:33 -07:00
Adam Leventhal a9e76608ca
add accept header (#436) 2023-04-24 17:42:22 -07:00
dependabot[bot] 819ebb2d8b
Bump regex from 1.7.3 to 1.8.1 (#434)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1.
- [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.7.3...1.8.1)

---
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-04-24 11:13:35 -07:00
dependabot[bot] 3ecf223514
Bump dropshot from `41c6593` to `66aa765` (#433)
Bumps [dropshot](https://github.com/oxidecomputer/dropshot) from `41c6593` to `66aa765`.
- [Release notes](https://github.com/oxidecomputer/dropshot/releases)
- [Commits](41c6593cf7...66aa7652f6)

---
updated-dependencies:
- dependency-name: dropshot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 11:13:30 -07:00
dependabot[bot] 00309d024e
Bump serde_json from 1.0.95 to 1.0.96 (#432)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.95...v1.0.96)

---
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-04-24 11:12:03 -07:00
dependabot[bot] f793f72320
Bump typify from `fec09bd` to `26efa84` (#431)
Bumps [typify](https://github.com/oxidecomputer/typify) from `fec09bd` to `26efa84`.
- [Release notes](https://github.com/oxidecomputer/typify/releases)
- [Commits](fec09bd192...26efa84c0f)

---
updated-dependencies:
- dependency-name: typify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 11:11:56 -07:00
dependabot[bot] c893559628
Bump expectorate from 1.0.6 to 1.0.7 (#435)
Bumps [expectorate](https://github.com/oxidecomputer/expectorate) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases)
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.6...v1.0.7)

---
updated-dependencies:
- dependency-name: expectorate
  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-04-24 11:11:35 -07:00
John Vandenberg 4c16647cac
Update commented out typify version (#427) 2023-04-18 11:19:52 -07:00
dependabot[bot] b969813fd7
Bump hyper from 0.14.25 to 0.14.26 (#422)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.25 to 0.14.26.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.25...v0.14.26)

---
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-04-17 15:54:33 -07:00
dependabot[bot] c3b9a15797
Bump clap from 4.2.1 to 4.2.2 (#423)
Bumps [clap](https://github.com/clap-rs/clap) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: clap
  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-04-17 15:54:27 -07:00
dependabot[bot] 58e03ccc21
Bump dropshot from `ccce224` to `41c6593` (#424)
Bumps [dropshot](https://github.com/oxidecomputer/dropshot) from `ccce224` to `41c6593`.
- [Release notes](https://github.com/oxidecomputer/dropshot/releases)
- [Commits](ccce2241b9...41c6593cf7)

---
updated-dependencies:
- dependency-name: dropshot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 15:54:20 -07:00
dependabot[bot] 8b88eafa9e
Bump syn from 2.0.8 to 2.0.15 (#425)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.8 to 2.0.15.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.8...2.0.15)

---
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>
2023-04-17 15:54:13 -07:00
dependabot[bot] c8f5c0e038
Bump clap from 4.1.14 to 4.2.1 (#412)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.14 to 4.2.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.14...v4.2.1)

---
updated-dependencies:
- dependency-name: clap
  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-04-11 16:35:15 -07:00
dependabot[bot] 01d84cce34
Bump uuid from 1.3.0 to 1.3.1 (#413)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.0...1.3.1)

---
updated-dependencies:
- dependency-name: uuid
  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-04-11 16:35:01 -07:00
dependabot[bot] 16c33773ca
Bump futures-core from 0.3.27 to 0.3.28 (#414)
Bumps [futures-core](https://github.com/rust-lang/futures-rs) from 0.3.27 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.27...0.3.28)

---
updated-dependencies:
- dependency-name: futures-core
  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-04-11 16:34:54 -07:00
dependabot[bot] eaa9d7e399
Bump typify from `6d77f63` to `fec09bd` (#415)
Bumps [typify](https://github.com/oxidecomputer/typify) from `6d77f63` to `fec09bd`.
- [Release notes](https://github.com/oxidecomputer/typify/releases)
- [Commits](6d77f63b3d...fec09bd192)

---
updated-dependencies:
- dependency-name: typify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 16:34:49 -07:00
dependabot[bot] a7799c0649
Bump serde_yaml from 0.9.19 to 0.9.21 (#416)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.19 to 0.9.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.19...0.9.21)

---
updated-dependencies:
- dependency-name: serde_yaml
  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-04-11 16:34:43 -07:00
Adam Leventhal e2245764fe
allow for integer types with floating-point constraints (#417) 2023-04-11 16:34:31 -07:00
Bernhard Schuster 3a5fe998e6
pub use + re-export TypeImpl (#408) 2023-04-05 10:56:00 -07:00
Adam H. Leventhal a4abdf60c5 cli: not all arguments are used to construct the body parameter 2023-04-04 11:52:25 -07:00
dependabot[bot] 376c0c001d
Bump serde_json from 1.0.94 to 1.0.95 (#403)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.94...v1.0.95)

---
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-04-03 14:55:10 -07:00
dependabot[bot] 39568817bf
Bump clap from 4.1.13 to 4.1.14 (#404)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.13 to 4.1.14.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.13...v4.1.14)

---
updated-dependencies:
- dependency-name: clap
  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-04-03 14:54:54 -07:00
dependabot[bot] 2cb293dea2
Bump reqwest from 0.11.15 to 0.11.16 (#405)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.15 to 0.11.16.
- [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.15...v0.11.16)

---
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>
2023-04-03 14:54:47 -07:00
dependabot[bot] 7645253594
Bump proc-macro2 from 1.0.54 to 1.0.56 (#406)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.54 to 1.0.56.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.54...1.0.56)

---
updated-dependencies:
- dependency-name: proc-macro2
  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-04-03 14:54:41 -07:00
dependabot[bot] d97b51aa04
Bump serde from 1.0.158 to 1.0.159 (#407)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.158 to 1.0.159.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.158...v1.0.159)

---
updated-dependencies:
- dependency-name: serde
  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-04-03 14:54:34 -07:00
Adam Leventhal e04bb171f6
cli: handle optional body parameters (#401) 2023-03-30 12:27:25 -07:00
Adam Leventhal 4eb8cd6c21
make the OpenAPI info.version field accessible through the generated client (#400) 2023-03-29 23:02:17 -07:00
Adam Leventhal 94db6ff74f
complete CLI overrides to allow consumers to modify commands and execution (#399) 2023-03-29 16:50:41 -07:00
Adam Leventhal 10dc4cafc6
CLI generation prototype (#349) 2023-03-28 14:54:05 -07:00
dependabot[bot] ca5f0674cf
Bump indexmap from 1.9.2 to 1.9.3 (#387)
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.9.2...1.9.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>
2023-03-27 21:32:20 -07:00
dependabot[bot] 8875f0a163
Bump proc-macro2 from 1.0.53 to 1.0.54 (#388)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.53 to 1.0.54.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.53...1.0.54)

---
updated-dependencies:
- dependency-name: proc-macro2
  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-03-27 21:32:12 -07:00
dependabot[bot] 1ae5030a19
Bump regex from 1.7.2 to 1.7.3 (#389)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.2 to 1.7.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.7.2...1.7.3)

---
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>
2023-03-27 21:32:05 -07:00
dependabot[bot] 521d79be51
Bump dropshot from `6ecc57a` to `ccce224` (#390)
Bumps [dropshot](https://github.com/oxidecomputer/dropshot) from `6ecc57a` to `ccce224`.
- [Release notes](https://github.com/oxidecomputer/dropshot/releases)
- [Commits](6ecc57a885...ccce2241b9)

---
updated-dependencies:
- dependency-name: dropshot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 21:31:56 -07:00
dependabot[bot] f280276002
Bump clap from 4.1.11 to 4.1.13 (#391)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.11 to 4.1.13.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.11...v4.1.13)

---
updated-dependencies:
- dependency-name: clap
  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-03-27 21:31:49 -07:00