https://github.com/kubernetes/client-go/ (auto-generated by AutoRest) ◦ Python, Java, etc: auto-generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen) • Present ◦ Switching to OpenAPI Generator (https://github.com/openapitools/openapi-generator) • Future ◦ Support more clients (e.g. Elixir, Rust, etc) ◦ Add more tests to ensure the client works as expected ◦ Fix issues upstream in Openapi Generator
in OpenAPI (f.ka. Swagger) spec, one can easily generate clients, server stubs, documentation, etc using generators (openapi-generator, nswag, go-swagger) • Pros ◦ Save time ◦ Scalable ◦ Consistent developer experience ◦ Code maturity ◦ Maintainability • Cons ◦ Edge cases ◦ Machine-generated code not human friendly
OpenAPI/Swaggers specifications • A fork of Swagger Codegen (May 2018): Reasons of the fork: Q&A • Formed by ~50 top contributors/template creators • Support 100+ generators (newly added: C client generator) • May 2019: 4.0.0 released (the 21st release) • Kubernetes client: Migrate from swagger-codegen to openapi-generator
Kubernetes using OpenAPI (script, config) 2. Perform testings 3. Report bugs to OpenAPI Generator (issue tracker) 4. Get help from the community 5. Fix the issue in OpenAPI Generator (example) 6. Tested the fix (SNAPSHOT version) after the fix (PR) is merged 7. Deploy the stable release of OpenAPI Generator to the workflow
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4