OpenAPITools / OpenAPITools/openapi-generator

cpp-qt5-client - reserved word: slots

Open
#7,838 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

  1. I have installed latest generator by steps from https://openapi-generator.tech/docs/installation
  2. I used cpp-qt5-client generator and generate Qt5 files
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.