OpenAPITools / OpenAPITools/openapi-generator
[REQ] Disable generated "oauth" function for cpp-qt-client to remove "QtGui" dependency
Open
Nobody has claimed this yet.
Enhancement: Feature
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
Using
cpp-qt-clientto generate code which can be used in Qt needs access to "QDesktopServices" which needs "QtGui" dependency. I want to create a small library so I needing this dependency is a lot of overhead for a not used function.
Describe the solution you'd like
Need an option to disable code generation for "oauth" functions.
Describe alternatives you've considered
Patch generated C++-Files on my own.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the cpp-qt-client generation path and the handling of generated oauth functions; the issue does not name specific files or tests. Trace how QDesktopServices and the QtGui dependency enter generated C++ output. Done means an option can disable oauth function generation and the resulting client no longer requires QtGui when those functions are unused.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100