Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 041e464f7abd5be5ece5c4f0f8b1723814e15a63)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -148,9 +148,4 @@
         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) {
@@ -197,9 +192,4 @@
         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) {
@@ -231,5 +221,5 @@
     /**
      * Returns info of a user
-     * Returns information for a user
+     * Returns information of current/authorized 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.
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 041e464f7abd5be5ece5c4f0f8b1723814e15a63)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -19,4 +19,6 @@
 import { Observable }                                        from 'rxjs/Observable';
 
+import { Gauge } from '../model/gauge';
+import { GaugeCreation } from '../model/gaugeCreation';
 import { HttpError } from '../model/httpError';
 import { Water } from '../model/water';
@@ -61,44 +63,4 @@
 
     /**
-     * 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
@@ -144,4 +106,170 @@
             waterCreation,
             {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Add a new water
+     * Adds a new gauge for water waterId to the database
+     * @param waterId Water ID
+     * @param gaugeCreation 
+     * @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 watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'body', reportProgress?: boolean): Observable<Gauge>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Gauge>>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Gauge>>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugeCreate.');
+        }
+
+        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',
+            'application/geo+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<Gauge>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges`,
+            gaugeCreation,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Represents a gauge
+     * Returns the gauge identified by id
+     * @param waterId Water ID
+     * @param gaugeId Gauge 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 watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'body', reportProgress?: boolean): Observable<Gauge>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Gauge>>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Gauge>>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugeGetById.');
+        }
+        if (gaugeId === null || gaugeId === undefined) {
+            throw new Error('Required parameter gaugeId was null or undefined when calling watersGaugeGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json',
+            'application/geo+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<Gauge>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges/${encodeURIComponent(String(gaugeId))}`,
+            {
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Find gauges of water waterId by gaugeId
+     * Returns all gauges of water waterId
+     * @param waterId Water ID
+     * @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 watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable<Array<Gauge>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<Gauge>>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<Gauge>>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugesGet.');
+        }
+
+        let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
+        if (name !== undefined && name !== null) {
+            queryParameters = queryParameters.set('name', <any>name);
+        }
+        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;
+
+        // to determine the Accept header
+        const httpHeaderAccepts: string[] = [
+            'application/json',
+            'application/geo+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<Gauge>>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges`,
+            {
+                params: queryParameters,
                 withCredentials: this.configuration.withCredentials,
                 headers: headers,
@@ -211,3 +339,43 @@
     }
 
+    /**
+     * 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 watersGetById(id: number, observe?: 'body', reportProgress?: boolean): Observable<Water>;
+    public watersGetById(id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Water>>;
+    public watersGetById(id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Water>>;
+    public watersGetById(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 watersGetById.');
+        }
+
+        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
+            }
+        );
+    }
+
 }
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,21 @@
+/**
+ * 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.
+ */
+
+
+export interface Gauge { 
+    gaugeId: number;
+    name: string;
+    manager?: string;
+    location: Array<number>;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,19 @@
+/**
+ * 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.
+ */
+
+
+export interface GaugeCreation { 
+    name: string;
+    location: Array<number>;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,22 @@
+/**
+ * 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.
+ */
+import { GaugeGeoJsonProperties } from './gaugeGeoJsonProperties';
+import { GeoJsonPoint } from './geoJsonPoint';
+import { GeoJsonType } from './geoJsonType';
+
+
+export interface GaugeGeoJson { 
+    type: GeoJsonType;
+    geometry: GeoJsonPoint;
+    properties: GaugeGeoJsonProperties;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,19 @@
+/**
+ * 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.
+ */
+
+
+export interface GaugeGeoJsonProperties { 
+    name: string;
+    manager?: string;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,21 @@
+/**
+ * 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.
+ */
+
+
+/**
+ * GeoJSon geometry
+ */
+export interface GeoJsonPoint { 
+    type?: string;
+    coordinates?: Array<number>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -0,0 +1,19 @@
+/**
+ * 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.
+ */
+
+
+export type GeoJsonType = 'Feature' | 'Point';
+
+export const GeoJsonType = {
+    Feature: 'Feature' as GeoJsonType,
+    Point: 'Point' as GeoJsonType
+};
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts	(revision 041e464f7abd5be5ece5c4f0f8b1723814e15a63)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -1,2 +1,8 @@
+export * from './gauge';
+export * from './gaugeCreation';
+export * from './gaugeGeoJson';
+export * from './gaugeGeoJsonProperties';
+export * from './geoJsonPoint';
+export * from './geoJsonType';
 export * from './httpError';
 export * from './order';
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts	(revision 041e464f7abd5be5ece5c4f0f8b1723814e15a63)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts	(revision 1cd45ddc250104b4eaa6a29581e09c39f6e74077)
@@ -10,4 +10,5 @@
  * Do not edit the class manually.
  */
+import { Gauge } from './gauge';
 import { OsmType } from './osmType';
 
@@ -19,4 +20,5 @@
     osmId?: number;
     osmType?: OsmType;
+    gauges?: Array<Gauge>;
 }
 
