-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path to GitHub client #395
Comments
…er#395) Add support for multiple response types in the generated client, including handling JSON deserializable types, empty bodies, streams of bytes, and upgraded connections. This change addresses the following issues: - Multiple response types not supported (oxidecomputer#344) - Path to GitHub client (oxidecomputer#395)
@augustuswm & @ahl, which of the above tasks relate to the following: --- stdout
cargo:rerun-if-changed=./api.github.com.json
--- stderr
thread 'main' panicked at progenitor-github/build.rs:10:50:
called `Result::unwrap()` on an `Err` value: Error("data did not match any variant of untagged enum ReferenceOr", line: 65608, column: 3) (?) I could only find #348. If desired my setup is as available in the zip in the PR demo #857. EDIT: Seems to be the lack of support for JSON schema types in OpenAPI deserialisation.
I guess I'll just parse it to the nullable syntax in OpenAPI for now. |
Yeah, that works in 3.1, but not in 3.0.x. Progenitor will support 3.1 at some point, but 1. there aren't that many 3.1 docs out there and 2. I have a stack of work I want to do in order to "propertly" support it |
Currently the
octorust
client is generated out of thethird-part-api-clients
repo against an outdated GitHub spec. Ideally progenitor could be used to generate this client against the current live spec instead. This is a tracking issue to track the list of known features needed to make this possible. See the individual tickets for more details.For reference this list was compiled against: https://github.com/github/rest-api-description/blob/main/descriptions/api.github.com/api.github.com.json
Tasks
The text was updated successfully, but these errors were encountered: