swagger-codegen-ts
swagger-codegen-ts copied to clipboard
Typesafe Swagger API generator for TypeScript
Generated code uses Blob type in utils.ts, but Blob does not exists in NodeJS
 in this snippet, the function is called three times with the same result, almost. Perhaps you can get by with just one function call.
Please check if it is possible to pass the original filename from the `content-disposition` header to the consumers
OpenAPI 3.0: - Requests: - [ ] single file uploads - [ ] upload as part of a multipart request - [ ] file array in a multipart request -...
After #133, the headers are now supported. It looks like only `formData` has left from #57.
There is a chance for`isRoot` false negative result due to specific filepath "normalizing" in "json-schema-ref-parser" lib: https://github.com/APIDevTools/json-schema-ref-parser/blob/0980b0a89b7181655129e4e6be7da78dd10d6a4c/lib/util/url.js#L231 So check for root ( https://github.com/devexperts/swagger-codegen-ts/blob/a1ef03aa4b3c586aa9987499917a9781eb49605b/src/index.ts#L50 ) will fail in some cases: spec...
After starting `generate` I receive an error in generated controllers. The error is  `generate` function is same as `test1` in [tests](https://github.com/devexperts/swagger-codegen-ts/blob/master/test/index.ts) Libs: ``` "fp-ts": "^2.4.4", "io-ts": "^2.0.1", "io-ts-reporters": "^1.0.0",...
If your spec file is in yaml format and you have a SyntaxError, you still see the old message: > file.yaml is not a valid JSON Schema
how about use x-name or something for generated name?
Add: - resolver - parser - typescript-language serializer (no need for css since css-custom-properties can be inlined in `body :root` /cc @sutarmin