-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Tracking issue] Generating client code from the OpenAPI schema #1157
Comments
Octokit.rb has a stable release of v4 on the branch |
With the current naming schema, we’ve generated 33/91 clients. Thus, as we’ve reached a third of the way through the project and finally have several moving parts solidified, I’m going to take a moment to write some documentation. Steps to generate a new client
TestsThe new way of testing is outlined in #1258. Ideally, if you’re working on a client that contains one of these scenarios, go ahead and add the matching test. Openapi schemaThis generator is currently being pulled from Additionally, useful parts to understand in the openapi structure, as referenced in |
Thanks for the update @hmharvey 👍
FYI the built definitions files are still JSON. See https://unpkg.com/browse/@github/[email protected]/dist/ |
Aha so they are! Thanks pointing that out 🙇🏻♀️ |
tried follow the instructions in "#1157 (comment)" but I get:
nor can I find languages mentioned in https://github.com/octokit/octokit.rb/blob/master/lib/openapi_client_generator.rb?rgh-link-date=2020-05-26T23%3A17%3A40Z#L408 was this removed / moved ? |
👋 Hey Friends, this issue has been automatically marked as |
Opening this to track the progress of generating the client code from the OpenAPI spec in the shared routes directory.
👀 #1010 for proof of concept
👀 octokit/routes#168 for more context
The text was updated successfully, but these errors were encountered: