Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
@@ -0,0 +1,5 @@
+export * from './users.service';
+import { UsersService } from './users.service';
+export * from './waters.service';
+import { WatersService } from './waters.service';
+export const APIS = [UsersService, WatersService];
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
@@ -0,0 +1,319 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * OpenAPI spec version: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent }                           from '@angular/common/http';
+import { CustomHttpUrlEncodingCodec }                        from '../encoder';
+
+import { Observable }                                        from 'rxjs/Observable';
+
+import { HttpError } from '../model/httpError';
+import { User } from '../model/user';
+import { UserCreation } from '../model/userCreation';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+@Injectable()
+export class UsersService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+
+        if (configuration) {
+            this.configuration = configuration;
+            this.configuration.basePath = configuration.basePath || basePath || this.basePath;
+
+        } else {
+            this.configuration.basePath = basePath || this.basePath;
+        }
+    }
+
+    /**
+     * @param consumes string[] mime-types
+     * @return true: consumes contains 'multipart/form-data', false: otherwise
+     */
+    private canConsumeForm(consumes: string[]): boolean {
+        const form = 'multipart/form-data';
+        for (const consume of consumes) {
+            if (form === consume) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+
+    /**
+     * 
+     * Used by CORS preflight
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public userOptions(observe?: 'body', reportProgress?: boolean): Observable<any>;
+    public userOptions(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
+    public userOptions(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
+    public userOptions(observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.options<any>(`${this.configuration.basePath}/user`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Activates a user account
+     * Activates a user account
+     * @param activationCode Activation code
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersActivate(activationCode: string, observe?: 'body', reportProgress?: boolean): Observable<any>;
+    public usersActivate(activationCode: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
+    public usersActivate(activationCode: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
+    public usersActivate(activationCode: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (activationCode === null || activationCode === undefined) {
+            throw new Error('Required parameter activationCode was null or undefined when calling usersActivate.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.get<any>(`${this.configuration.basePath}/user/activate/${encodeURIComponent(String(activationCode))}`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Returns a new API key
+     * Generates and returns a new API key for current user
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersApiKeyCreate(observe?: 'body', reportProgress?: boolean): Observable<string>;
+    public usersApiKeyCreate(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<string>>;
+    public usersApiKeyCreate(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<string>>;
+    public usersApiKeyCreate(observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys && this.configuration.apiKeys["X-API-KEY"]) {
+            headers = headers.set('X-API-KEY', this.configuration.apiKeys["X-API-KEY"]);
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.get<string>(`${this.configuration.basePath}/user/apikey_create`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Deletes API key
+     * Deletes given API key and returns remaining API keys of the user
+     * @param apiKey API key
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersApiKeyDelete(apiKey: string, observe?: 'body', reportProgress?: boolean): Observable<Array<string>>;
+    public usersApiKeyDelete(apiKey: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<string>>>;
+    public usersApiKeyDelete(apiKey: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<string>>>;
+    public usersApiKeyDelete(apiKey: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (apiKey === null || apiKey === undefined) {
+            throw new Error('Required parameter apiKey was null or undefined when calling usersApiKeyDelete.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys && this.configuration.apiKeys["X-API-KEY"]) {
+            headers = headers.set('X-API-KEY', this.configuration.apiKeys["X-API-KEY"]);
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.delete<Array<string>>(`${this.configuration.basePath}/user/${encodeURIComponent(String(apiKey))}`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Returns info of a user
+     * Returns information for a user
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersGet(observe?: 'body', reportProgress?: boolean): Observable<User>;
+    public usersGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<User>>;
+    public usersGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<User>>;
+    public usersGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys && this.configuration.apiKeys["X-API-KEY"]) {
+            headers = headers.set('X-API-KEY', this.configuration.apiKeys["X-API-KEY"]);
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.get<User>(`${this.configuration.basePath}/user`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Registers a new user
+     * Registers a new user
+     * @param userCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersRegister(userCreation?: UserCreation, observe?: 'body', reportProgress?: boolean): Observable<User>;
+    public usersRegister(userCreation?: UserCreation, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<User>>;
+    public usersRegister(userCreation?: UserCreation, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<User>>;
+    public usersRegister(userCreation?: UserCreation, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        return this.httpClient.post<User>(`${this.configuration.basePath}/user`,
+            userCreation,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
@@ -0,0 +1,213 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * OpenAPI spec version: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent }                           from '@angular/common/http';
+import { CustomHttpUrlEncodingCodec }                        from '../encoder';
+
+import { Observable }                                        from 'rxjs/Observable';
+
+import { HttpError } from '../model/httpError';
+import { Water } from '../model/water';
+import { WaterCreation } from '../model/waterCreation';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+@Injectable()
+export class WatersService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+
+        if (configuration) {
+            this.configuration = configuration;
+            this.configuration.basePath = configuration.basePath || basePath || this.basePath;
+
+        } else {
+            this.configuration.basePath = basePath || this.basePath;
+        }
+    }
+
+    /**
+     * @param consumes string[] mime-types
+     * @return true: consumes contains 'multipart/form-data', false: otherwise
+     */
+    private canConsumeForm(consumes: string[]): boolean {
+        const form = 'multipart/form-data';
+        for (const consume of consumes) {
+            if (form === consume) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+
+    /**
+     * Represents a water
+     * Returns the water identified by id
+     * @param id Item ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public waterGetById(id: number, observe?: 'body', reportProgress?: boolean): Observable<Water>;
+    public waterGetById(id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Water>>;
+    public waterGetById(id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Water>>;
+    public waterGetById(id: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (id === null || id === undefined) {
+            throw new Error('Required parameter id was null or undefined when calling waterGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.get<Water>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(id))}`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Add a new water
+     * Adds a new water to the database
+     * @param waterCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'body', reportProgress?: boolean): Observable<Water>;
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Water>>;
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Water>>;
+    public watersCreate(waterCreation?: WaterCreation, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys && this.configuration.apiKeys["X-API-KEY"]) {
+            headers = headers.set('X-API-KEY', this.configuration.apiKeys["X-API-KEY"]);
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        return this.httpClient.post<Water>(`${this.configuration.basePath}/waters`,
+            waterCreation,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Find waters by id
+     * Returns all waters
+     * @param name 
+     * @param manager 
+     * @param orderBy Order by field: name
+     * @param offset Skip over a number of elements by specifying an offset value for the query
+     * @param limit Limit the number of elements on the response
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGet(name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable<Array<Water>>;
+    public watersGet(name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<Water>>>;
+    public watersGet(name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<Water>>>;
+    public watersGet(name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+
+        let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
+        if (manager !== undefined && manager !== null) {
+            queryParameters = queryParameters.set('manager', <any>manager);
+        }
+        if (orderBy !== undefined && orderBy !== null) {
+            queryParameters = queryParameters.set('orderBy', <any>orderBy);
+        }
+        if (offset !== undefined && offset !== null) {
+            queryParameters = queryParameters.set('offset', <any>offset);
+        }
+        if (limit !== undefined && limit !== null) {
+            queryParameters = queryParameters.set('limit', <any>limit);
+        }
+
+        let headers = this.defaultHeaders;
+        if (name !== undefined && name !== null) {
+            headers = headers.set('name', String(name));
+        }
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json'
+        ];
+        const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+        ];
+
+        return this.httpClient.get<Array<Water>>(`${this.configuration.basePath}/waters`,
+            {
+                params: queryParameters,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
