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

App IO - Utils

Results 42 openapi-codegen-ts issues
Sort by recently updated
recently updated
newest added

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nunjucks](https://togithub.com/mozilla/nunjucks) | dependencies | patch | [`3.2.3` -> `3.2.4`](https://renovatebot.com/diffs/npm/nunjucks/3.2.3/3.2.4) | For further information...

OER

#### 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) ####...

I am this parameter in a request ``` json { "name" : "bundleType", "in" : "query", "description" : "Boundles's type", "required" : false, "style" : "form", "explode" : true, "schema"...

# Issue If in the openapi v3 there is an optional header for the request the generated client expects it as param (can be `undefined`) Example openapi: ``` json "headers"...

#### Description * added checking for `oneOf` when defining object properties #### Motivation and Context This PR implements defining object properties with `oneOf`. Property definition with `oneOf` is permitted by...

enhancement

**Issue Description** Yaml->Ts Generator miss minLength=0 from Yaml Def and generate wrong types (just string instead of WithinRangeString) **Current Behavior** Yaml Source: ``` EmptyString: type: string minLength: 0 maxLength: 0...

We have examples of specifications using reference not only to a definition but to one specific property. Is it allowed? Reading OpenAPI docs I found neither confirmation nor disprove, and...

Operations which produce `octet/stream` responses will be resolved into generated definitions using `Buffer` as defined in https://github.com/pagopa/openapi-codegen-ts/pull/293 This breaks the build of SDK packages as `Buffer` is not a native...

#### Description - add response decoder generation for response with http status code 3xx, like this: ```yaml /test-redirect-response-header: post: operationId: "testRedirectResponseHeader" responses: "302": description: "redirect to location" headers: Location: type:...

#### Description Custom extension `x-extensible-enum` generate a type definition as `enum` and `NonEmptyString` composition. ```typescript export enum EnumTypeEnum { ... } export type EnumType = t.TypeOf; export const EnumType =...