[BUG] Missing "=" and unused/undefined import in typescript-nestjs generated code
Created by: gmathavadoss-chwy
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 generated api.module.ts has unused/undefined import.
import { BASE_PATH } from './variables';
It is not used anywhere and was not part of export of variables file. -
The generated service code is missing "=".
if (email !== undefined && email !== null) {
queryParameters['email'] <any>email;
}
openapi-generator version
5.0.1