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
c26af3bd95
update typify; update tests ( #326 )
2023-02-04 17:22:55 -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
Adam Leventhal
e79ac19ae7
Add prelude for Client and extension traits (when they exist) ( #176 )
2022-08-27 08:23:02 -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
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
Adam Leventhal
75348207d7
improve rustdoc output for generated crates ( #37 )
2022-03-17 23:54:10 -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
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