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]
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
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
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
Dillen Meijboom
d329bc0912
Add support for wasm ( #278 )
2023-04-25 21:50:04 -07:00
Adam Leventhal
a9e76608ca
add accept header ( #436 )
2023-04-24 17:42:22 -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
297a0c2f0a
builds can fail if TryFrom is not imported... sufficiently ( #393 )
2023-03-27 10:45:25 -07:00
Adam Leventhal
d0b9842ce3
use body builder types in operation builders ( #385 )
2023-03-23 18:11:44 -07:00
Adam Leventhal
3f47ff856c
update dropshot and typify ( #383 )
2023-03-22 22:56:25 -07:00
Adam Leventhal
c26af3bd95
update typify; update tests ( #326 )
2023-02-04 17:22:55 -08:00
Adam Leventhal
32f2089f41
update typify + fixture data ( #318 )
2023-01-25 09:19:15 -08:00
Adam Leventhal
96af7b5a09
documentation examples sometimes are not formatted properly ( #303 )
2023-01-13 10:59:21 -08:00
bnaecker
ba189e6323
Add docstrings to the generated Client ( #295 )
...
- Add docstring to the `Client`, based on the OpenAPI title and
description, if provided.
- Add docstrings to the constructors and getters shared by all generated
clients.
- Update expectorate tests.
- Small typo-fix in README.
2023-01-07 18:05:33 -08:00
Artem Medvedev
e34756583a
feat: support header parameters ( #210 )
2023-01-04 11:14:37 -08:00
dependabot[bot]
de6895a040
Bump typify from `da0505b` to `5106273` ( #291 )
...
* Bump typify from `da0505b` to `5106273`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `da0505b` to `5106273`.
- [Release notes](https://github.com/oxidecomputer/typify/releases )
- [Commits](da0505b0b4...5106273f3d
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update output
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-01-02 19:42:54 -08:00
Adam Leventhal
57031d77d3
Allow conversion overrides by specifying a schema ( #280 )
2022-12-27 11:55:57 -08:00
Adam Leventhal
7e5dc6586c
gussy up docs for release ( #193 )
...
make TryInto use fully specified as std::convert::TryInto
2022-09-10 17:15:14 -07:00
Adam Leventhal
e79ac19ae7
Add prelude for Client and extension traits (when they exist) ( #176 )
2022-08-27 08:23:02 -07:00
Adam Leventhal
e4221a1350
Typify update for builder structs ( #171 )
2022-08-18 11:58:55 -07:00
Karen Cárcamo
ba00230176
Derive Debug for types ( #145 )
...
* Derive Debug for client and types
* run tests
* update changelog
* refactor
2022-08-03 13:18:43 +12:00
Adam Leventhal
bfd194f39c
Change builder methods for setting a parameter with type T to accept a TryInto<T> ( #133 )
...
This makes constrained types a bit more
ergonomic and will allow us to accept fallible builders more easily
2022-07-18 11:55:21 -07:00
dependabot[bot]
75519247fa
Bump typify from `7b5f72b` to `f58c5e2` ( #117 )
...
* Bump typify from `7b5f72b` to `f58c5e2`
Bumps [typify](https://github.com/oxidecomputer/typify ) from `7b5f72b` to `f58c5e2`.
- [Release notes](https://github.com/oxidecomputer/typify/releases )
- [Commits](7b5f72b1e4...f58c5e23b1
)
---
updated-dependencies:
- dependency-name: typify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixups and output update
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <ahl@oxide.computer>
2022-07-12 10:57:06 -07:00
Adam Leventhal
03e2cfad3c
add support for application/x-www-form-urlencoded bodies ( #109 )
...
* add support for application/x-www-form-urlencoded bodies
* self review
* alphabetizing
* remove commented code
* update changelog
2022-07-07 18:35:36 -07:00
Adam Leventhal
6796e0c1ca
extra derives are accidentally ignored ( #105 )
2022-07-02 22:28:06 -07:00
Adam Leventhal
9b28ac87c6
add an optional builder pattern as well as extension traits for tags when using the builder interface ( #86 )
2022-07-02 19:09:38 -07:00