Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Merge requests
  • !2922

typescript-fetch: Remove superfluous closing parenthesis

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/Dynalon/master into master 6 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: Dynalon

[x] successfully ran bin/typescript-fetch-petstore-all.sh

There is an obvious syntax error in the template for the typescript-fetch language: The second closing parenthesis is superfluous and has no matching counterpart. This results in a syntax error when compiling with the typescript compiler and breaks the generated code.

You can use any editor that highlights matching parenthisis to see there is no counterpart in that line, block, or elsewhere.

Highlighting typescript-fetch technical comittee: @TiFu @taxpon @sebastianhaas @kenisteward @Vrolijkx @macjohnny @nicokoenig @topce

Compare
  • master (base)

and
  • latest version
    ac44ea90
    1 commit, 2 years ago

1 file
+ 1
- 1

    Preferences

    File browser
    Compare changes
modules/openapi-generator/src/main/resources/typescript-fetch/apis.mustache
+ 1
- 1
  • View file @ ac44ea90

  • Edit in single-file editor

  • Open in Web IDE


@@ -94,7 +94,7 @@ export class {{classname}} extends runtime.BaseAPI {
{{#headerParams}}
{{#isListContainer}}
if (requestParameters.{{paramName}}) {
headerParameters['{{baseName}}'] = requestParameters.{{paramName}}.join(runtime.COLLECTION_FORMATS["{{collectionFormat}}"]));
headerParameters['{{baseName}}'] = requestParameters.{{paramName}}.join(runtime.COLLECTION_FORMATS["{{collectionFormat}}"]);
}
{{/isListContainer}}
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
Client: TypeScript Issue: Bug
2
Client: TypeScript Issue: Bug
    Assign labels
  • Manage project labels

Milestone
4.0.1
4.0.1 (expired)
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference: OpenAPITools/openapi-generator!2922
Source branch: github/fork/Dynalon/master

Menu

Explore Projects Groups Snippets