Adam Leventhal
66c890807f
CLI: improve required settings for paginated operations ( #469 )
2023-05-15 08:59:07 -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 Leventhal
d135ec6df7
change handling of optional parameters ( #453 )
2023-05-03 11:44:26 -07:00
Adam Leventhal
29ac543eb5
CLI: simple handling of paginated operations ( #454 )
2023-05-03 11:42:38 -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
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
Adam Leventhal
e2245764fe
allow for integer types with floating-point constraints ( #417 )
2023-04-11 16:34:31 -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
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
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
John Vandenberg
82c979df65
Show missing schema ref ( #325 )
2023-02-20 16:11:35 -08:00
Adam Leventhal
1b942d1146
correct builder error message for Option types ( #327 )
2023-02-05 20:31:40 -08:00
Adam Leventhal
88ff3cf1e0
update typify and nexus.json ( #323 )
2023-01-31 21:28:12 -08:00
Adam Leventhal
9f0a9910ab
Let consumers replace types by name ( #317 )
2023-01-24 14:55:16 -08:00
John Vandenberg
7e64a98fd5
fix clippy issues ( #301 )
2023-01-18 00:07:27 -08:00
John Vandenberg
8836d77398
generate Cargo.toml using built dependency versions ( #298 )
2023-01-16 19:21:36 -08:00
Adam Leventhal
46d2df0e2a
bump versions ( #305 )
2023-01-15 19:59:53 -08:00
bnaecker
6eaacdfc93
Add method for referring to Client's inner type ( #302 )
2023-01-13 15:08:18 -08:00
Adam Leventhal
96af7b5a09
documentation examples sometimes are not formatted properly ( #303 )
2023-01-13 10:59:21 -08:00
Adam Leventhal
a5fea0b061
fix a warning with base64 ( #300 )
2023-01-11 14:19: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
John Vandenberg
5b683c669f
Disable default features of reqwest and chrono ( #232 )
2022-12-27 15:59:45 -08:00
Adam Leventhal
57031d77d3
Allow conversion overrides by specifying a schema ( #280 )
2022-12-27 11:55:57 -08:00
Adam Leventhal
dcee6a4eb2
clippy nits ( #269 )
2022-12-07 18:46:14 -08:00
Augustus Mayo
12d4adbc6c
Path level parameters ( #262 )
2022-12-01 22:50:50 -08:00
Adam Leventhal
68290b08e0
allow for type adjustments: renames, and additional derives ( #234 )
2022-11-14 10:51:05 -08:00
liffy
4e2dcc5365
Generate a Client method for Dropshot websocket channels ( #183 )
...
Generated methods return `ResponseValue<reqwest::Upgrade`, which may be
passed to a websocket protocol implementation such as
`tokio_tungstenite::WebSocketStream::from_raw_stream(rv.into_inner(), ...)`
for the purpose of implementing against the raw websocket connection, but
may later be extended as a generic to allow higher-level channel message
definitions.
Per the changelog, consumers will need to depend on reqwest 0.11.12 or
newer for HTTP Upgrade support, as well as base64 and rand if any
endpoints are websocket channels:
```
[dependencies]
reqwest = { version = "0.11.12" features = ["json", "stream"] }
base64 = "0.13"
rand = "0.8"
```
Co-authored-by: lif <>
2022-09-28 13:40:07 -07: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
eac966effc
move format checking from the command to the library ( #179 )
2022-08-29 11:16:34 -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 H. Leventhal
4dce0641e2
typos
2022-07-20 17:03:25 -07:00