forked from loafle/openapi-generator-original
fix for 8760 (#8761)
This commit is contained in:
parent
9c20050bdc
commit
04bd1ece23
@ -1,6 +1,5 @@
|
||||
import { DynamicModule, HttpService, HttpModule, Module, Global } from '@nestjs/common';
|
||||
import { Configuration } from './configuration';
|
||||
import { BASE_PATH } from './variables';
|
||||
|
||||
{{#apiInfo}}
|
||||
{{#apis}}
|
||||
|
@ -91,7 +91,7 @@ export class {{classname}} {
|
||||
queryParameters['{{baseName}}'] = <any>{{paramName}}.toISOString();
|
||||
{{/isDateTime}}
|
||||
{{^isDateTime}}
|
||||
queryParameters['{{baseName}}'] <any>{{paramName}};
|
||||
queryParameters['{{baseName}}'] = <any>{{paramName}};
|
||||
{{/isDateTime}}
|
||||
}
|
||||
{{/isListContainer}}
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { DynamicModule, HttpService, HttpModule, Module, Global } from '@nestjs/common';
|
||||
import { Configuration } from './configuration';
|
||||
import { BASE_PATH } from './variables';
|
||||
|
||||
import { PetService } from './api/pet.service';
|
||||
import { StoreService } from './api/store.service';
|
||||
|
@ -155,7 +155,7 @@ export class PetService {
|
||||
|
||||
let queryParameters = {};
|
||||
if (status !== undefined && status !== null) {
|
||||
queryParameters['status'] <any>status;
|
||||
queryParameters['status'] = <any>status;
|
||||
}
|
||||
|
||||
let headers = this.defaultHeaders;
|
||||
@ -205,7 +205,7 @@ export class PetService {
|
||||
|
||||
let queryParameters = {};
|
||||
if (tags !== undefined && tags !== null) {
|
||||
queryParameters['tags'] <any>tags;
|
||||
queryParameters['tags'] = <any>tags;
|
||||
}
|
||||
|
||||
let headers = this.defaultHeaders;
|
||||
|
@ -271,10 +271,10 @@ export class UserService {
|
||||
|
||||
let queryParameters = {};
|
||||
if (username !== undefined && username !== null) {
|
||||
queryParameters['username'] <any>username;
|
||||
queryParameters['username'] = <any>username;
|
||||
}
|
||||
if (password !== undefined && password !== null) {
|
||||
queryParameters['password'] <any>password;
|
||||
queryParameters['password'] = <any>password;
|
||||
}
|
||||
|
||||
let headers = this.defaultHeaders;
|
||||
|
Loading…
x
Reference in New Issue
Block a user