Index: src/mapservice/src-gen/openapi_server/openapi/openapi.yaml
===================================================================
--- src/mapservice/src-gen/openapi_server/openapi/openapi.yaml	(revision 041e464f7abd5be5ece5c4f0f8b1723814e15a63)
+++ src/mapservice/src-gen/openapi_server/openapi/openapi.yaml	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
@@ -23,5 +23,6 @@
       default: v1
 tags:
-- description: A water is a river (like Mississippi, lake (Lake Ontario), or a sea (North Sea)
+- description: A water is a river (like Mississippi, lake (Lake Ontario), or a sea
+    (North Sea)
   name: waters
 - description: All actions used to manage users and api keys
@@ -30,5 +31,5 @@
   /user:
     get:
-      description: Returns information for a user
+      description: Returns information of current/authorized user
       operationId: users_get
       responses:
@@ -112,4 +113,32 @@
       - users
       x-openapi-router-controller: openapi_server.controllers.users_controller
+  /user/activate/{activation_code}:
+    get:
+      description: Activates a user account
+      operationId: users_activate
+      parameters:
+      - description: Activation code
+        example: dac9630aec642a428cd73f4be0a03569
+        explode: false
+        in: path
+        name: activation_code
+        required: true
+        schema:
+          $ref: '#/components/schemas/activationCode'
+        style: simple
+      responses:
+        302:
+          description: OK or not OK
+          headers:
+            Location:
+              description: URL to the website, showing the result of the activation
+              explode: false
+              schema:
+                type: string
+              style: simple
+      summary: Activates a user account
+      tags:
+      - users
+      x-openapi-router-controller: openapi_server.controllers.users_controller
   /user/apikey_create:
     get:
@@ -144,5 +173,4 @@
       security:
       - basicAuth: []
-      - apiKeyAuth: []
       summary: Returns a new API key
       tags:
@@ -189,36 +217,16 @@
                 $ref: '#/components/schemas/HttpError'
           description: Unauthorized (401) acces to resource
+        404:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Water with given Id not found
       security:
       - basicAuth: []
-      - apiKeyAuth: []
       summary: Deletes API key
-      tags:
-      - users
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-  /user/activate/{activation_code}:
-    get:
-      description: Activates a user account
-      operationId: users_activate
-      parameters:
-      - description: Activation code
-        example: dac9630aec642a428cd73f4be0a03569
-        explode: false
-        in: path
-        name: activation_code
-        required: true
-        schema:
-          $ref: '#/components/schemas/activationCode'
-        style: simple
-      responses:
-        302:
-          description: OK or not OK
-          headers:
-            Location:
-              description: URL to the website, showing the result of the activation
-              explode: false
-              schema:
-                type: string
-              style: simple
-      summary: Activates a user account
       tags:
       - users
@@ -255,5 +263,6 @@
           type: string
         style: form
-      - description: Skip over a number of elements by specifying an offset value for the query
+      - description: Skip over a number of elements by specifying an offset value
+          for the query
         explode: true
         in: query
@@ -287,4 +296,13 @@
                 $ref: '#/components/schemas/waters'
           description: OK
+        404:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Water with given Id not found
       summary: Find waters by id
       tags:
@@ -341,5 +359,5 @@
     get:
       description: Returns the water identified by id
-      operationId: water_get_by_id
+      operationId: waters_get_by_id
       parameters:
       - description: Item ID
@@ -371,4 +389,208 @@
           description: Water with given Id not found
       summary: Represents a water
+      tags:
+      - waters
+      x-openapi-router-controller: openapi_server.controllers.waters_controller
+  /waters/{water_id}/gauges:
+    get:
+      description: Returns all gauges of water waterId
+      operationId: waters_gauges_get
+      parameters:
+      - description: Water ID
+        explode: false
+        in: path
+        name: water_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      - example: Missi
+        explode: true
+        in: query
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/itemName'
+        style: form
+      - example: jane
+        explode: true
+        in: query
+        name: manager
+        required: false
+        schema:
+          $ref: '#/components/schemas/username'
+        style: form
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: orderBy
+        required: false
+        schema:
+          default: name
+          example: name
+          type: string
+        style: form
+      - description: Skip over a number of elements by specifying an offset value
+          for the query
+        explode: true
+        in: query
+        name: offset
+        required: false
+        schema:
+          default: 0
+          example: 0
+          format: int32
+          type: integer
+        style: form
+      - description: Limit the number of elements on the response
+        explode: true
+        in: query
+        name: limit
+        required: false
+        schema:
+          default: 10
+          example: 10
+          format: int32
+          type: integer
+        style: form
+      responses:
+        200:
+          content:
+            application/json:
+              examples:
+                Gauges:
+                  $ref: '#/components/examples/Gauges'
+              schema:
+                $ref: '#/components/schemas/Gauges'
+            application/geo+json:
+              examples:
+                Gauge:
+                  $ref: '#/components/examples/GaugesGeoJson'
+              schema:
+                $ref: '#/components/schemas/GaugesGeoJson'
+          description: OK
+      summary: Find gauges of water waterId by gaugeId
+      tags:
+      - waters
+      x-openapi-router-controller: openapi_server.controllers.waters_controller
+    post:
+      description: Adds a new gauge for water waterId to the database
+      operationId: waters_gauge_create
+      parameters:
+      - description: Water ID
+        explode: false
+        in: path
+        name: water_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            example:
+              name: New Orleans
+              location:
+              - 90.136111
+              - 29.934722
+            schema:
+              $ref: '#/components/schemas/GaugeCreation'
+      responses:
+        201:
+          content:
+            application/json:
+              examples:
+                Gauge:
+                  $ref: '#/components/examples/Gauge'
+              schema:
+                $ref: '#/components/schemas/Gauge'
+            application/geo+json:
+              examples:
+                Gauge:
+                  $ref: '#/components/examples/GaugeGeoJson'
+              schema:
+                $ref: '#/components/schemas/GaugeGeoJson'
+          description: Gauge created
+        400:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        401:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Add a new water
+      tags:
+      - waters
+      x-openapi-router-controller: openapi_server.controllers.waters_controller
+  /waters/{water_id}/gauges/{gauge_id}:
+    get:
+      description: Returns the gauge identified by id
+      operationId: waters_gauge_get_by_id
+      parameters:
+      - description: Water ID
+        explode: false
+        in: path
+        name: water_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      - description: Gauge ID
+        explode: false
+        in: path
+        name: gauge_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      responses:
+        200:
+          content:
+            application/json:
+              examples:
+                Gauge:
+                  $ref: '#/components/examples/Gauge'
+              schema:
+                $ref: '#/components/schemas/Gauge'
+            application/geo+json:
+              examples:
+                Gauge:
+                  $ref: '#/components/examples/GaugeGeoJson'
+              schema:
+                $ref: '#/components/schemas/GaugeGeoJson'
+          description: OK
+        400:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        404:
+          content:
+            application/json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Water with given Id not found
+      summary: Represents a gauge
       tags:
       - waters
@@ -414,4 +636,47 @@
       - waterId: 2
         name: Bodensee
+    Gauge:
+      value:
+        gaugeId: 1
+        name: New Orleans
+        manager: jane
+        location:
+        - 90.136111
+        - 29.934722
+        comment: Gauge for Mississippi in New Orleans
+    Gauges:
+      summary: A sample list of gauges
+      value:
+      - gaugeId: 1
+        name: New Orleans
+        manager: jane
+        location:
+        - 90.136111
+        - 29.934722
+    GaugeGeoJson:
+      value:
+        type: Feature
+        geometry:
+          type: Point
+          coordinates:
+          - 90.136111
+          - 29.934722
+          properties:
+            name: New Orleans
+            manager: jane
+            comment: Gauge for Mississippi in New Orleans
+    GaugesGeoJson:
+      summary: A sample list of gauges in GeoJson format
+      value:
+      - type: Feature
+        geometry:
+          type: Point
+          coordinates:
+          - 90.136111
+          - 29.934722
+          properties:
+            name: New Orleans
+            manager: jane
+            comment: Gauge for Mississippi in New Orleans
     HttpError:
       value:
@@ -440,5 +705,6 @@
       style: form
     offset:
-      description: Skip over a number of elements by specifying an offset value for the query
+      description: Skip over a number of elements by specifying an offset value for
+        the query
       explode: true
       in: query
@@ -513,4 +779,16 @@
       title: Item Name
       type: string
+    order:
+      default: asc
+      description: |
+        Sort order:
+          * `asc` - Ascending, from A to Z
+          * `desc` - Descending, from Z to A
+      enum:
+      - desc
+      - asc
+      example: asc
+      title: order
+      type: string
     osmType:
       enum:
@@ -520,4 +798,35 @@
       title: OSM type of item (N|W|R)
       type: string
+    comment:
+      title: Comment of an item
+      type: string
+    point:
+      items:
+        type: number
+      maxItems: 2
+      minItems: 2
+      title: Point of type [longitude, latitude]
+      type: array
+    geoJsonType:
+      enum:
+      - Feature
+      - Point
+      title: Type of GeoJSON objects
+      type: string
+    geoJsonPoint:
+      description: GeoJSon geometry
+      externalDocs:
+        url: http://geojson.org/geojson-spec.html#id2
+      properties:
+        type:
+          type: string
+        coordinates:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude]
+          type: array
+      type: object
     User:
       example:
@@ -581,4 +890,19 @@
         osmId: 6
         name: name
+        gauges:
+        - manager: manager
+          name: name
+          location:
+          - 5.962133916683182
+          - 5.962133916683182
+          comment: comment
+          gaugeId: 1
+        - manager: manager
+          name: name
+          location:
+          - 5.962133916683182
+          - 5.962133916683182
+          comment: comment
+          gaugeId: 1
         waterId: 0
       properties:
@@ -599,4 +923,9 @@
         osmType:
           $ref: '#/components/schemas/osmType'
+        gauges:
+          items:
+            $ref: '#/components/schemas/Gauge'
+          title: Gauges
+          type: array
       required:
       - name
@@ -627,20 +956,93 @@
       title: waters
       type: array
-    order:
-      default: asc
-      description: |
-        Sort order:
-          * `asc` - Ascending, from A to Z
-          * `desc` - Descending, from Z to A
-      enum:
-      - desc
-      - asc
-      example: asc
-      title: order
-      type: string
+    Gauge:
+      example:
+        manager: manager
+        name: name
+        location:
+        - 5.962133916683182
+        - 5.962133916683182
+        comment: comment
+        gaugeId: 1
+      properties:
+        gaugeId:
+          format: int32
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        manager:
+          title: Username
+          type: string
+        location:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude]
+          type: array
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - gaugeId
+      - location
+      - name
+      title: Gauge
+      type: object
+    GaugeCreation:
+      example:
+        name: name
+        location:
+        - 0.8008281904610115
+        - 0.8008281904610115
+        comment: comment
+      properties:
+        name:
+          title: Item Name
+          type: string
+        location:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude]
+          type: array
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - location
+      - name
+      title: Gauge for Creation
+      type: object
+    Gauges:
+      items:
+        $ref: '#/components/schemas/Gauge'
+      title: Gauges
+      type: array
+    GaugeGeoJson:
+      properties:
+        type:
+          $ref: '#/components/schemas/geoJsonType'
+        geometry:
+          $ref: '#/components/schemas/geoJsonPoint'
+        properties:
+          $ref: '#/components/schemas/GaugeGeoJson_properties'
+      required:
+      - geometry
+      - properties
+      - type
+      title: Gauge
+      type: object
+    GaugesGeoJson:
+      items:
+        $ref: '#/components/schemas/GaugeGeoJson'
+      title: Gauges in GeoJson format
+      type: array
     HttpError:
       properties:
         code:
-          format: int32
           type: integer
         message:
@@ -651,4 +1053,17 @@
       title: HTTP Error Response Object
       type: object
+    GaugeGeoJson_properties:
+      properties:
+        name:
+          title: Item Name
+          type: string
+        manager:
+          title: Username
+          type: string
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - name
   securitySchemes:
     basicAuth:
