openapi-codegen-ts icon indicating copy to clipboard operation
openapi-codegen-ts copied to clipboard

Add Support for Non Array Schema Parameter Native Types

Open AleDore opened this issue 2 years ago • 1 comments

Description

Add case "array" into specTypeToTs.

Motivation and Context

This PR allows to specify a parameter of array type that wraps a native items type (i.e: string)

How Has This Been Tested?

unit tests

Screenshots (if appropriate):

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

AleDore avatar Dec 19 '23 11:12 AleDore

Jira Pull request Link

It seems this Pull Request has no issues that refers to Jira!!! Please check it out.

github-actions[bot] avatar Dec 19 '23 11:12 github-actions[bot]