openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[REQ] Either vendor or use builtins for python generator

Open emilebosch opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

It would be nice if we don't depend on anything external Python packages. Either vendor the packages for what's necessary or just use builtins. This makes it easier for consumers of our clients to add the package, without ending in dep hell. I.e. pydantic v1 vs v2

Describe the solution you'd like

  • Couple of base classes that handle certain validation logic
  • Couple of base logic for making api calls
  • Having a pip package that has no deps

Describe alternatives you've considered

  • Writing my own generator
  • Crying
  • Vendoring packages

Additional context

In a world where its easy to get in pip dep hell, its good if we make simple clients so adding our client doesnt become a dep hell for the consumer of our clients.

emilebosch avatar Apr 25 '24 14:04 emilebosch