OpenAPITools / OpenAPITools/openapi-generator
cpp-qt5-client - reserved word: slots
Open
Nobody has claimed this yet.
Issue: Bug
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
- I have installed latest generator by steps from https://openapi-generator.tech/docs/installation
- I used cpp-qt5-client generator and generate Qt5 files
- Files are generated without error, but compilation fails because one of my key word in yml config file is "slots" and slot is key-word for Qt
fragment of yml file:
schemas:
UpdateStatus:
type: object
required:
- compatible
- variant
- booted
- active
- operation
- lastError
- progress
- slots
properties:
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 with the cpp-qt5-client generator and reproduce generation using the YAML schema fragment containing the slots property. Inspect the generated Qt5 files and compile them to identify where the reserved word is emitted unchanged. Done means the generated client compiles when an OpenAPI property is named slots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100