Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts	(revision d660d7515ece73bd50683525861f026c435e0bf0)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts	(revision d660d7515ece73bd50683525861f026c435e0bf0)
@@ -0,0 +1,36 @@
+import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';
+import { Configuration } from './configuration';
+import { HttpClient } from '@angular/common/http';
+
+
+import { DevicesService } from './api/devices.service';
+import { LogsService } from './api/logs.service';
+import { TilesService } from './api/tiles.service';
+import { UsersService } from './api/users.service';
+import { WatersService } from './api/waters.service';
+
+@NgModule({
+  imports:      [],
+  declarations: [],
+  exports:      [],
+  providers: []
+})
+export class ApiModule {
+    public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {
+        return {
+            ngModule: ApiModule,
+            providers: [ { provide: Configuration, useFactory: configurationFactory } ]
+        };
+    }
+
+    constructor( @Optional() @SkipSelf() parentModule: ApiModule,
+                 @Optional() http: HttpClient) {
+        if (parentModule) {
+            throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
+        }
+        if (!http) {
+            throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
+            'See also https://github.com/angular/angular/issues/20575');
+        }
+    }
+}
