Skip to content

[BUG][typescript-angular] Refactoring in #10020 broke multipart file upload #10776

@beckerjohannes

Description

@beckerjohannes

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

The brute force search&replace refactoring in #10020 replaced {{#formParams}} with {{#localVarFormParams}}. in modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache. This results in parameters sent for multipart form data endpoints

openapi-generator version

5.3.0

OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs

#10020

Suggest a fix

I will post a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions