traPtitech / traPtitech/node-traq

openapi-generatorのバージョンを上げる

Open
#319 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

今は6.1.0
https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.0.0 より上に上げると宣言が重複する

✘ [ERROR] Multiple exports with the same name "GetMessagesOrderEnum"

    bin/generated/api.ts:13179:13:
      13179 │ export const GetMessagesOrderEnum = {
            ╵              ~~~~~~~~~~~~~~~~~~~~

  The name "GetMessagesOrderEnum" was originally exported here:

    bin/generated/api.ts:6933:13:
      6933 │ export const GetMessagesOrderEnum = {
           ╵              ~~~~~~~~~~~~~~~~~~~~

Contributor guide

No contributing guide indexed for this repository

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

Compare the current openapi-generator version, 6.1.0, with the v7.0.0 release linked in the issue, then inspect bin/generated/api.ts around the two GetMessagesOrderEnum exports. Reproduce the generation result and identify why the declaration is emitted twice. Done means the generator can be upgraded above v7.0.0 without the duplicate-export error.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.