legion icon indicating copy to clipboard operation
legion copied to clipboard

OpenAPI: Codegen improvements

Open ademange-legion opened this issue 2 years ago • 0 comments

Summary

Improve the openapi codegen to better support our needs.

Work Items

  • [x] Ability to serve multiple APIs in a single HTTP server.
  • [x] Regroup request arguments in a dedicated type to better support defaults.
  • [x] Replace reqwest by hyper client library for better access to HTTP Parts
  • [x] Add mutable Context arg to access / edit request and response infos
  • [x] Add axum ConnectInfo extractor
  • [x] Add codegen test crate to validate compilation

ademange-legion avatar May 27 '22 13:05 ademange-legion