swagger-typescript-codegen icon indicating copy to clipboard operation
swagger-typescript-codegen copied to clipboard

A Swagger Codegenerator tailored for typescript.

Results 22 swagger-typescript-codegen issues
Sort by recently updated
recently updated
newest added

See #100, more specifically in _src/type-mappers/array.ts_

MajorVersionBlocker

The way I see it it's not really needed, and just bloats the consumer's bundle size. Using XMLHttpRequest should be sufficient

task

Is there a way to transform enums into tyepscript string enums instead of string literal type?

feature request

Generated mutable types: ``` interface Thing { name: string; children: Array; } type x = ResponseWithBody; ``` Could be immutable types: ``` interface ReadonlyThing { readonly name: string; readonly children:...

feature request

The response types can be quite long, and inconvenient to use. `const x: Promise = undefined;` I propose generating some concise type aliases. ``` type SomeAlias1 = ResponseWithBody; type SomeAlias2...

feature request

The api methods have docs, but the types themselves do not. **Actual:** Response types are missing JSDocs ``` export type User { id: number; username: string; } ``` **Expected:** JSDocs...

bug

In a perfect world, everyone would version their immutable apis and never introduce breaking changes. But in reality co-workers could introduce breaking api changes. There could potentially be a mismatch...

feature request

I'm looking for a good fork of wcandillon's work. This seems a good place to start off - especially since it's hosted by an Microsoft member. Sadly, I'm required to...

Hey there, for libraries like https://www.npmjs.com/package/swagger-typescript-codegen it would be nice, if your tool could generate a Typescript file, out of a YAML file.

feature request

There are a few valid ways to define `additionalProperties`. > To define a dictionary, use `type: object` and use the `additionalProperties` keyword to specify the type of values in key/value...

bug