openapi-generator/modules
Adam Fanello fb04b5a26a Fix for issue #5349. (#5560)
With this change, users providing custom configuration must provide an exported Configuration factory, rather than just an object. This is needed to be Angular AoT compatible.

Example use:

import * as api from '../api';

/** Configuration settings for the backend API */
export function backendConfigurationFactory(): api.Configuration {
    return new api.Configuration({basePath: '/api'});
}

@NgModule({
    imports: [api.ApiModule.forConfig(backendConfigurationFactory)],
...
2017-05-14 11:52:10 +08:00
..
swagger-codegen Fix for issue #5349. (#5560) 2017-05-14 11:52:10 +08:00
swagger-codegen-cli Merge remote-tracking branch 'origin/master' into 2.3.0 2017-05-03 00:09:14 +08:00
swagger-codegen-maven-plugin Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-11 01:03:28 +08:00
swagger-generator Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-23 15:26:15 +08:00