Index: src/webapp/mapservice/src-gen/.dockerignore
===================================================================
--- src/webapp/mapservice/src-gen/.dockerignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/.dockerignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,72 @@
+.travis.yaml
+.openapi-generator-ignore
+README.md
+tox.ini
+git_push.sh
+test-requirements.txt
+setup.py
+
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+env/
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*,cover
+.hypothesis/
+venv/
+.python-version
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+#Ipython Notebook
+.ipynb_checkpoints
Index: src/webapp/mapservice/src-gen/.gitignore
===================================================================
--- src/webapp/mapservice/src-gen/.gitignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/.gitignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,64 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+env/
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*,cover
+.hypothesis/
+venv/
+.python-version
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+#Ipython Notebook
+.ipynb_checkpoints
Index: src/webapp/mapservice/src-gen/.openapi-generator-ignore
===================================================================
--- src/webapp/mapservice/src-gen/.openapi-generator-ignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/.openapi-generator-ignore	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,23 @@
+# OpenAPI Generator Ignore
+# Generated by openapi-generator https://github.com/openapitools/openapi-generator
+
+# Use this file to prevent files from being overwritten by the generator.
+# The patterns follow closely to .gitignore or .dockerignore.
+
+# As an example, the C# client generator defines ApiClient.cs.
+# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
+#ApiClient.cs
+
+# You can match any string of characters against a directory, file or extension with a single asterisk (*):
+#foo/*/qux
+# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
+
+# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
+#foo/**/qux
+# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
+
+# You can also negate patterns with an exclamation (!).
+# For example, you can ignore all files in a docs folder with the file extension .md:
+#docs/*.md
+# Then explicitly reverse the ignore rule for a single file:
+#!docs/README.md
Index: src/webapp/mapservice/src-gen/.openapi-generator/VERSION
===================================================================
--- src/webapp/mapservice/src-gen/.openapi-generator/VERSION	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/.openapi-generator/VERSION	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,1 @@
+3.3.4
Index: src/webapp/mapservice/src-gen/.travis.yml
===================================================================
--- src/webapp/mapservice/src-gen/.travis.yml	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/.travis.yml	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,13 @@
+# ref: https://docs.travis-ci.com/user/languages/python
+language: python
+python:
+  - "3.2"
+  - "3.3"
+  - "3.4"
+  - "3.5"
+  #- "3.5-dev" # 3.5 development branch
+  #- "nightly" # points to the latest development branch e.g. 3.6-dev
+# command to install dependencies
+install: "pip install -r requirements.txt"
+# command to run tests
+script: nosetests
Index: src/webapp/mapservice/src-gen/Dockerfile
===================================================================
--- src/webapp/mapservice/src-gen/Dockerfile	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/Dockerfile	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,16 @@
+FROM python:3-alpine
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+
+COPY requirements.txt /usr/src/app/
+
+RUN pip3 install --no-cache-dir -r requirements.txt
+
+COPY . /usr/src/app
+
+EXPOSE 8080
+
+ENTRYPOINT ["python3"]
+
+CMD ["-m", "openapi_server"]
Index: src/webapp/mapservice/src-gen/README.md
===================================================================
--- src/webapp/mapservice/src-gen/README.md	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/README.md	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,49 @@
+# OpenAPI generated server
+
+## Overview
+This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub.  This
+is an example of building a OpenAPI-enabled Flask server.
+
+This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
+
+## Requirements
+Python 3.5.2+
+
+## Usage
+To run the server, please execute the following from the root directory:
+
+```
+pip3 install -r requirements.txt
+python3 -m openapi_server
+```
+
+and open your browser to here:
+
+```
+http://localhost:8080/mapservice/v1/ui/
+```
+
+Your OpenAPI definition lives here:
+
+```
+http://localhost:8080/mapservice/v1/openapi.json
+```
+
+To launch the integration tests, use tox:
+```
+sudo pip install tox
+tox
+```
+
+## Running with Docker
+
+To run the server on a Docker container, please execute the following from the root directory:
+
+```bash
+# building the image
+docker build -t openapi_server .
+
+# starting up a container
+docker run -p 8080:8080 openapi_server
+```
Index: src/webapp/mapservice/src-gen/git_push.sh
===================================================================
--- src/webapp/mapservice/src-gen/git_push.sh	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/git_push.sh	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,52 @@
+#!/bin/sh
+# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
+#
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
+
+git_user_id=$1
+git_repo_id=$2
+release_note=$3
+
+if [ "$git_user_id" = "" ]; then
+    git_user_id="GIT_USER_ID"
+    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
+fi
+
+if [ "$git_repo_id" = "" ]; then
+    git_repo_id="GIT_REPO_ID"
+    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
+fi
+
+if [ "$release_note" = "" ]; then
+    release_note="Minor update"
+    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
+fi
+
+# Initialize the local directory as a Git repository
+git init
+
+# Adds the files in the local repository and stages them for commit.
+git add .
+
+# Commits the tracked changes and prepares them to be pushed to a remote repository.
+git commit -m "$release_note"
+
+# Sets the new remote
+git_remote=`git remote`
+if [ "$git_remote" = "" ]; then # git remote not defined
+
+    if [ "$GIT_TOKEN" = "" ]; then
+        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
+        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
+    else
+        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
+    fi
+
+fi
+
+git pull origin master
+
+# Pushes (Forces) the changes in the local repository up to the remote repository
+echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
+git push origin master 2>&1 | grep -v 'To https'
+
Index: src/webapp/mapservice/src-gen/openapi_server/__main__.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/__main__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/__main__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,33 @@
+#!/usr/bin/env python3
+
+import connexion
+from flask_cors import CORS
+from flask import render_template
+
+from openapi_server import encoder
+
+from openapi_server.server_impl.database.Model import db, User, ApiKey, db_test_setup
+
+app = connexion.App(__name__, specification_dir='./openapi/')
+application = app.app
+CORS(application)
+
+@application.before_first_request
+def create_database():
+	db_test_setup()
+
+@application.route("/mapservice/")
+def index():
+	return render_template('index.html')
+	
+def main():
+	application.json_encoder = encoder.JSONEncoder
+	app.add_api('openapi.yaml', arguments={'title': 'GNUBoat Mapservice API'}, validate_responses=True)
+	application.config.from_object('openapi_server.server_impl.Config.DevelopmentConfig')
+
+	db.init_app(application)
+
+	app.run(port=8080)
+
+if __name__ == '__main__':
+	main()
Index: src/webapp/mapservice/src-gen/openapi_server/controllers/waters_controller.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/controllers/waters_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/controllers/waters_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,59 @@
+import connexion
+import six
+
+from openapi_server.models.http_error import HttpError  # noqa: E501
+from openapi_server.models.water import Water  # noqa: E501
+from openapi_server.models.water_creation import WaterCreation  # noqa: E501
+from openapi_server import util
+
+from openapi_server.server_impl.controllers import WatersController
+
+def water_get_by_id(id):  # noqa: E501
+    """Represents a water
+
+    Returns the water identified by id # noqa: E501
+
+    :param id: Item ID
+    :type id: int
+
+    :rtype: Water
+    """
+    return WatersController.water_get_by_id(id)
+
+from openapi_server.server_impl.controllers import WatersController
+
+def waters_get(name=None, manager=None, order_by=None, offset=None, limit=None):  # noqa: E501
+    """Find waters by id
+
+    Returns all waters # noqa: E501
+
+    :param name: 
+    :type name: str
+    :param manager: 
+    :type manager: str
+    :param order_by: Order by field: name
+    :type order_by: str
+    :param offset: Skip over a number of elements by specifying an offset value for the query
+    :type offset: int
+    :param limit: Limit the number of elements on the response
+    :type limit: int
+
+    :rtype: List[Water]
+    """
+    return WatersController.waters_get(name=name, manager=manager, order_by=order_by, offset=offset, limit=limit)
+
+from openapi_server.server_impl.controllers import WatersController
+
+def waters_post(water_creation=None):  # noqa: E501
+    """Add a new water
+
+    Adds a new water to the database # noqa: E501
+
+    :param water_creation: item id of water is going to be ignored
+    :type water_creation: dict | bytes
+
+    :rtype: Water
+    """
+    if connexion.request.is_json:
+        water_creation = WaterCreation.from_dict(connexion.request.get_json())  # noqa: E501
+    return WatersController.waters_post(water_creation=water_creation)
Index: src/webapp/mapservice/src-gen/openapi_server/encoder.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/encoder.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/encoder.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,20 @@
+from connexion.apps.flask_app import FlaskJSONEncoder
+import six
+
+from openapi_server.models.base_model_ import Model
+
+
+class JSONEncoder(FlaskJSONEncoder):
+    include_nulls = False
+
+    def default(self, o):
+        if isinstance(o, Model):
+            dikt = {}
+            for attr, _ in six.iteritems(o.openapi_types):
+                value = getattr(o, attr)
+                if value is None and not self.include_nulls:
+                    continue
+                attr = o.attribute_map[attr]
+                dikt[attr] = value
+            return dikt
+        return FlaskJSONEncoder.default(self, o)
Index: src/webapp/mapservice/src-gen/openapi_server/models/__init__.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/__init__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/__init__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,9 @@
+# coding: utf-8
+
+# flake8: noqa
+from __future__ import absolute_import
+# import models into model package
+from openapi_server.models.http_error import HttpError
+from openapi_server.models.order import Order
+from openapi_server.models.water import Water
+from openapi_server.models.water_creation import WaterCreation
Index: src/webapp/mapservice/src-gen/openapi_server/models/base_model_.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/base_model_.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/base_model_.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,69 @@
+import pprint
+
+import six
+import typing
+
+from openapi_server import util
+
+T = typing.TypeVar('T')
+
+
+class Model(object):
+    # openapiTypes: The key is attribute name and the
+    # value is attribute type.
+    openapi_types = {}
+
+    # attributeMap: The key is attribute name and the
+    # value is json key in definition.
+    attribute_map = {}
+
+    @classmethod
+    def from_dict(cls: typing.Type[T], dikt) -> T:
+        """Returns the dict as a model"""
+        return util.deserialize_model(dikt, cls)
+
+    def to_dict(self):
+        """Returns the model properties as a dict
+
+        :rtype: dict
+        """
+        result = {}
+
+        for attr, _ in six.iteritems(self.openapi_types):
+            value = getattr(self, attr)
+            if isinstance(value, list):
+                result[attr] = list(map(
+                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+                    value
+                ))
+            elif hasattr(value, "to_dict"):
+                result[attr] = value.to_dict()
+            elif isinstance(value, dict):
+                result[attr] = dict(map(
+                    lambda item: (item[0], item[1].to_dict())
+                    if hasattr(item[1], "to_dict") else item,
+                    value.items()
+                ))
+            else:
+                result[attr] = value
+
+        return result
+
+    def to_str(self):
+        """Returns the string representation of the model
+
+        :rtype: str
+        """
+        return pprint.pformat(self.to_dict())
+
+    def __repr__(self):
+        """For `print` and `pprint`"""
+        return self.to_str()
+
+    def __eq__(self, other):
+        """Returns true if both objects are equal"""
+        return self.__dict__ == other.__dict__
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        return not self == other
Index: src/webapp/mapservice/src-gen/openapi_server/models/http_error.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/http_error.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/http_error.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,94 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from openapi_server.models.base_model_ import Model
+from openapi_server import util
+
+
+class HttpError(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+
+    def __init__(self, code=None, message=None):  # noqa: E501
+        """HttpError - a model defined in OpenAPI
+
+        :param code: The code of this HttpError.  # noqa: E501
+        :type code: int
+        :param message: The message of this HttpError.  # noqa: E501
+        :type message: str
+        """
+        self.openapi_types = {
+            'code': int,
+            'message': str
+        }
+
+        self.attribute_map = {
+            'code': 'code',
+            'message': 'message'
+        }
+
+        self._code = code
+        self._message = message
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'HttpError':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The HttpError of this HttpError.  # noqa: E501
+        :rtype: HttpError
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def code(self):
+        """Gets the code of this HttpError.
+
+
+        :return: The code of this HttpError.
+        :rtype: int
+        """
+        return self._code
+
+    @code.setter
+    def code(self, code):
+        """Sets the code of this HttpError.
+
+
+        :param code: The code of this HttpError.
+        :type code: int
+        """
+        if code is None:
+            raise ValueError("Invalid value for `code`, must not be `None`")  # noqa: E501
+
+        self._code = code
+
+    @property
+    def message(self):
+        """Gets the message of this HttpError.
+
+
+        :return: The message of this HttpError.
+        :rtype: str
+        """
+        return self._message
+
+    @message.setter
+    def message(self, message):
+        """Sets the message of this HttpError.
+
+
+        :param message: The message of this HttpError.
+        :type message: str
+        """
+        if message is None:
+            raise ValueError("Invalid value for `message`, must not be `None`")  # noqa: E501
+
+        self._message = message
Index: src/webapp/mapservice/src-gen/openapi_server/models/order.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/order.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/order.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,43 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from openapi_server.models.base_model_ import Model
+from openapi_server import util
+
+
+class Order(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+
+    """
+    allowed enum values
+    """
+    DESC = "desc"
+    ASC = "asc"
+
+    def __init__(self):  # noqa: E501
+        """Order - a model defined in OpenAPI
+
+        """
+        self.openapi_types = {
+        }
+
+        self.attribute_map = {
+        }
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Order':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The order of this Order.  # noqa: E501
+        :rtype: Order
+        """
+        return util.deserialize_model(dikt, cls)
Index: src/webapp/mapservice/src-gen/openapi_server/models/water.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/water.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/water.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,206 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from openapi_server.models.base_model_ import Model
+from openapi_server import util
+
+
+class Water(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+
+    def __init__(self, water_id=None, name=None, manager=None, osm_id=None, osm_type=None, osm_class=None):  # noqa: E501
+        """Water - a model defined in OpenAPI
+
+        :param water_id: The water_id of this Water.  # noqa: E501
+        :type water_id: int
+        :param name: The name of this Water.  # noqa: E501
+        :type name: str
+        :param manager: The manager of this Water.  # noqa: E501
+        :type manager: str
+        :param osm_id: The osm_id of this Water.  # noqa: E501
+        :type osm_id: int
+        :param osm_type: The osm_type of this Water.  # noqa: E501
+        :type osm_type: str
+        :param osm_class: The osm_class of this Water.  # noqa: E501
+        :type osm_class: str
+        """
+        self.openapi_types = {
+            'water_id': int,
+            'name': str,
+            'manager': str,
+            'osm_id': int,
+            'osm_type': str,
+            'osm_class': str
+        }
+
+        self.attribute_map = {
+            'water_id': 'water_id',
+            'name': 'name',
+            'manager': 'manager',
+            'osm_id': 'osm_id',
+            'osm_type': 'osm_type',
+            'osm_class': 'osm_class'
+        }
+
+        self._water_id = water_id
+        self._name = name
+        self._manager = manager
+        self._osm_id = osm_id
+        self._osm_type = osm_type
+        self._osm_class = osm_class
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Water':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The Water of this Water.  # noqa: E501
+        :rtype: Water
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def water_id(self):
+        """Gets the water_id of this Water.
+
+
+        :return: The water_id of this Water.
+        :rtype: int
+        """
+        return self._water_id
+
+    @water_id.setter
+    def water_id(self, water_id):
+        """Sets the water_id of this Water.
+
+
+        :param water_id: The water_id of this Water.
+        :type water_id: int
+        """
+        if water_id is None:
+            raise ValueError("Invalid value for `water_id`, must not be `None`")  # noqa: E501
+
+        self._water_id = water_id
+
+    @property
+    def name(self):
+        """Gets the name of this Water.
+
+
+        :return: The name of this Water.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Water.
+
+
+        :param name: The name of this Water.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501
+
+        self._name = name
+
+    @property
+    def manager(self):
+        """Gets the manager of this Water.
+
+
+        :return: The manager of this Water.
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this Water.
+
+
+        :param manager: The manager of this Water.
+        :type manager: str
+        """
+
+        self._manager = manager
+
+    @property
+    def osm_id(self):
+        """Gets the osm_id of this Water.
+
+
+        :return: The osm_id of this Water.
+        :rtype: int
+        """
+        return self._osm_id
+
+    @osm_id.setter
+    def osm_id(self, osm_id):
+        """Sets the osm_id of this Water.
+
+
+        :param osm_id: The osm_id of this Water.
+        :type osm_id: int
+        """
+
+        self._osm_id = osm_id
+
+    @property
+    def osm_type(self):
+        """Gets the osm_type of this Water.
+
+
+        :return: The osm_type of this Water.
+        :rtype: str
+        """
+        return self._osm_type
+
+    @osm_type.setter
+    def osm_type(self, osm_type):
+        """Sets the osm_type of this Water.
+
+
+        :param osm_type: The osm_type of this Water.
+        :type osm_type: str
+        """
+        if osm_type is not None and len(osm_type) > 1:
+            raise ValueError("Invalid value for `osm_type`, length must be less than or equal to `1`")  # noqa: E501
+        if osm_type is not None and len(osm_type) < 1:
+            raise ValueError("Invalid value for `osm_type`, length must be greater than or equal to `1`")  # noqa: E501
+
+        self._osm_type = osm_type
+
+    @property
+    def osm_class(self):
+        """Gets the osm_class of this Water.
+
+
+        :return: The osm_class of this Water.
+        :rtype: str
+        """
+        return self._osm_class
+
+    @osm_class.setter
+    def osm_class(self, osm_class):
+        """Sets the osm_class of this Water.
+
+
+        :param osm_class: The osm_class of this Water.
+        :type osm_class: str
+        """
+        if osm_class is not None and len(osm_class) > 1:
+            raise ValueError("Invalid value for `osm_class`, length must be less than or equal to `1`")  # noqa: E501
+        if osm_class is not None and len(osm_class) < 1:
+            raise ValueError("Invalid value for `osm_class`, length must be greater than or equal to `1`")  # noqa: E501
+
+        self._osm_class = osm_class
Index: src/webapp/mapservice/src-gen/openapi_server/models/water_creation.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/models/water_creation.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/models/water_creation.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,122 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from openapi_server.models.base_model_ import Model
+from openapi_server import util
+
+
+class WaterCreation(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+
+    def __init__(self, name=None, osm_id=None, osm_type=None):  # noqa: E501
+        """WaterCreation - a model defined in OpenAPI
+
+        :param name: The name of this WaterCreation.  # noqa: E501
+        :type name: str
+        :param osm_id: The osm_id of this WaterCreation.  # noqa: E501
+        :type osm_id: int
+        :param osm_type: The osm_type of this WaterCreation.  # noqa: E501
+        :type osm_type: str
+        """
+        self.openapi_types = {
+            'name': str,
+            'osm_id': int,
+            'osm_type': str
+        }
+
+        self.attribute_map = {
+            'name': 'name',
+            'osm_id': 'osm_id',
+            'osm_type': 'osm_type'
+        }
+
+        self._name = name
+        self._osm_id = osm_id
+        self._osm_type = osm_type
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'WaterCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The WaterCreation of this WaterCreation.  # noqa: E501
+        :rtype: WaterCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def name(self):
+        """Gets the name of this WaterCreation.
+
+
+        :return: The name of this WaterCreation.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this WaterCreation.
+
+
+        :param name: The name of this WaterCreation.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501
+
+        self._name = name
+
+    @property
+    def osm_id(self):
+        """Gets the osm_id of this WaterCreation.
+
+
+        :return: The osm_id of this WaterCreation.
+        :rtype: int
+        """
+        return self._osm_id
+
+    @osm_id.setter
+    def osm_id(self, osm_id):
+        """Sets the osm_id of this WaterCreation.
+
+
+        :param osm_id: The osm_id of this WaterCreation.
+        :type osm_id: int
+        """
+
+        self._osm_id = osm_id
+
+    @property
+    def osm_type(self):
+        """Gets the osm_type of this WaterCreation.
+
+
+        :return: The osm_type of this WaterCreation.
+        :rtype: str
+        """
+        return self._osm_type
+
+    @osm_type.setter
+    def osm_type(self, osm_type):
+        """Sets the osm_type of this WaterCreation.
+
+
+        :param osm_type: The osm_type of this WaterCreation.
+        :type osm_type: str
+        """
+        if osm_type is not None and len(osm_type) > 1:
+            raise ValueError("Invalid value for `osm_type`, length must be less than or equal to `1`")  # noqa: E501
+        if osm_type is not None and len(osm_type) < 1:
+            raise ValueError("Invalid value for `osm_type`, length must be greater than or equal to `1`")  # noqa: E501
+
+        self._osm_type = osm_type
Index: src/webapp/mapservice/src-gen/openapi_server/openapi/openapi.yaml
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/openapi/openapi.yaml	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/openapi/openapi.yaml	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,388 @@
+openapi: 3.0.0
+info:
+  contact:
+    email: info@engsas.de
+    name: EngSaS - Engineering Solutions and Services Langenbach
+    url: http://www.engsas.com
+  description: API to upload log files with water depth to GNUBoat server
+  license:
+    name: GPL 3
+    url: https://www.gnu.org/licenses/gpl-3.0.en.html
+  title: GNUBoat Mapservice API
+  version: v1
+servers:
+- description: The production API server
+  url: https://gnuboat.engsas.com/mapservice/{version}
+  variables:
+    version:
+      default: v1
+- description: The local flask development url
+  url: http://localhost:8080/mapservice/{version}
+  variables:
+    version:
+      default: v1
+tags:
+- description: A water is a river (like Mississippi, lake (Lake Ontario), or a sea (North Sea)
+  name: waters
+paths:
+  /waters:
+    get:
+      description: Returns all waters
+      operationId: waters_get
+      parameters:
+      - explode: false
+        in: header
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/item_name'
+        style: simple
+      - explode: false
+        in: header
+        name: manager
+        required: false
+        schema:
+          $ref: '#/components/schemas/username'
+        style: simple
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: orderBy
+        required: false
+        schema:
+          default: 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:
+                Waters:
+                  $ref: '#/components/examples/waters'
+              schema:
+                $ref: '#/components/schemas/waters'
+          description: OK
+      summary: Find waters by id
+      tags:
+      - waters
+      x-openapi-router-controller: openapi_server.controllers.waters_controller
+    post:
+      description: Adds a new water to the database
+      operationId: waters_post
+      requestBody:
+        content:
+          application/json:
+            examples:
+              Water:
+                $ref: '#/components/examples/WaterCreation'
+            schema:
+              $ref: '#/components/schemas/WaterCreation'
+        description: item id of water is going to be ignored
+      responses:
+        201:
+          content:
+            application/json:
+              examples:
+                Water:
+                  $ref: '#/components/examples/Water'
+              schema:
+                $ref: '#/components/schemas/Water'
+          description: Water 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/{id}:
+    get:
+      description: Returns the water identified by id
+      operationId: water_get_by_id
+      parameters:
+      - description: Item ID
+        explode: false
+        in: path
+        name: id
+        required: true
+        schema:
+          $ref: '#/components/schemas/item_id'
+        style: simple
+      responses:
+        200:
+          content:
+            application/json:
+              examples:
+                Water:
+                  $ref: '#/components/examples/Water'
+              schema:
+                $ref: '#/components/schemas/Water'
+          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: Represents a water
+      tags:
+      - waters
+      x-openapi-router-controller: openapi_server.controllers.waters_controller
+components:
+  examples:
+    Water:
+      summary: A water example object
+      value:
+        water_id: 1
+        name: Mississippi
+        osm_id: 1756854
+        osm_type: R
+        link: http://gnuboat.engsas.com/mapservice/v1/waters/1
+    WaterCreation:
+      summary: A water example object for creation of a water
+      value:
+        name: Mississippi
+        osm_id: 1756854
+        osm_type: R
+    waters:
+      summary: A sample list with waters
+      value:
+      - water_id: 1
+        name: Mississippi
+        osm_id: 1756854
+        osm_type: R
+        link: http://gnuboat.engsas.com/mapservice/v1/waters/1
+      - water_id: 2
+        name: Bodensee
+        link: http://gnuboat.engsas.com/mapservice/v1/waters/2
+    HttpError:
+      value:
+        code: 404
+        message: Water with id 999999 not found
+  parameters:
+    orderBy:
+      description: 'Order by field: name'
+      explode: true
+      in: query
+      name: orderBy
+      required: false
+      schema:
+        default: name
+        type: string
+      style: form
+    order:
+      description: Order
+      explode: true
+      in: query
+      name: order
+      required: false
+      schema:
+        $ref: '#/components/schemas/order'
+      style: form
+    offset:
+      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
+    limit:
+      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:
+    BadRequest:
+      content:
+        application/json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Bad Request (400)
+    Unauthorized:
+      content:
+        application/json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Unauthorized (401) acces to resource
+    NotFound:
+      content:
+        application/json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Water with given Id not found
+  schemas:
+    username:
+      title: Username
+      type: string
+    item_id:
+      format: int32
+      title: Item ID
+      type: integer
+    item_name:
+      title: Item Name
+      type: string
+    osm_type:
+      maxLength: 1
+      minLength: 1
+      type: string
+    Water:
+      example:
+        osm_id: 6
+        osm_type: osm_type
+        manager: manager
+        name: name
+        water_id: 0
+        osm_class: osm_class
+      properties:
+        water_id:
+          format: int32
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        manager:
+          title: Username
+          type: string
+        osm_id:
+          format: int32
+          title: Item ID
+          type: integer
+        osm_type:
+          maxLength: 1
+          minLength: 1
+          type: string
+        osm_class:
+          maxLength: 1
+          minLength: 1
+          type: string
+      required:
+      - name
+      - water_id
+      title: Water
+      type: object
+    WaterCreation:
+      example:
+        osm_id: 0
+        osm_type: osm_type
+        name: name
+      properties:
+        name:
+          title: Item Name
+          type: string
+        osm_id:
+          format: int32
+          title: Item ID
+          type: integer
+        osm_type:
+          maxLength: 1
+          minLength: 1
+          type: string
+      required:
+      - name
+      title: Water
+      type: object
+    waters:
+      items:
+        $ref: '#/components/schemas/Water'
+      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
+    HttpError:
+      properties:
+        code:
+          format: int32
+          type: integer
+        message:
+          type: string
+      required:
+      - code
+      - message
+      title: HTTP Error Response Object
+      type: object
+  securitySchemes:
+    basicAuth:
+      scheme: basic
+      type: http
+      x-basicInfoFunc: openapi_server.server_impl.security.Security.auth_basic
+    apiKeyAuth:
+      in: header
+      name: X-API-KEY
+      type: apiKey
+      x-apikeyInfoFunc: openapi_server.server_impl.security.Security.auth_api
Index: src/webapp/mapservice/src-gen/openapi_server/server_impl
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/server_impl	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/server_impl	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,1 @@
+../../src/server_impl/
Index: src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.Colors.css
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.Colors.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.Colors.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,34 @@
+/*
+    Copyright (C) 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+:root {
+	--gnuboat-turquois-dark: #347C7C;
+	--gnuboat-turquois-middle: #93C0C0;
+	--gnuboat-turquois-light: #BCD9D9;
+	--gnuboat-green-dark: #45A545;
+	--gnuboat-green-middle: #ACDFAC;
+	--gnuboat-green-light: #CCECCC;
+	--gnuboat-red: #8C1C00;
+	
+	--gnuboat-primary-dark: var(--gnuboat-turquois-dark);
+	--gnuboat-primary-middle: var(--gnuboat-turquois-middle);
+	--gnuboat-primary-light: var(--gnuboat-turquois-light);
+	--gnuboat-secondary-dark: var(--gnuboat-green-dark);
+	--gnuboat-secondary-middle: var(--gnuboat-green-middle);
+	--gnuboat-secondary-light: var(--gnuboat-green-light);
+	--gnuboat-warning: var(--gnuboat-red);
+}
Index: src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.css
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/css/GnuBoat.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,61 @@
+/*
+    Copyright (C) 2016 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+@import url("GnuBoat.Colors.css");
+
+.l-box {
+	padding: 1em;
+}
+
+.leaflet-top {
+	top: 2.5em;
+}
+
+.map-middle {
+	right: 50%;
+}
+
+#logo {
+	height: auto;
+	width: 6em;
+}
+
+#message .error {
+	font-weight: bold;
+	color: var(--gnuboat-warning);
+}
+
+#message .info {
+	font-weight: bold;
+	color: var(--gnuboat-primary-dark);
+}
+
+.viewportGeometry {
+	width: -webkit-calc(100vw - 3em);
+	width:    -moz-calc(100vw - 3em);
+	width:         calc(100vw - 3em);
+	height: -webkit-calc(100vh - 3em);
+	height:    -moz-calc(100vh - 3em);
+	height:         calc(100vh - 3em);
+}
+
+#mapViewport {
+	border: 1px solid var(--gnuboat-primary-light);
+	margin-top: 1.5em;
+	margin-left: 1.5em;
+	background-color: white;
+}
Index: src/webapp/mapservice/src-gen/openapi_server/static/css/side-menu.css
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/css/side-menu.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/css/side-menu.css	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,268 @@
+/*
+    Copyright (C) 2017 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+@import url("GnuBoat.Colors.css");
+
+body {
+    color: #777;
+}
+
+.pure-img-responsive {
+    max-width: 100%;
+    height: auto;
+}
+
+/*
+Add transition to containers so they can push in and out.
+*/
+#layout,
+#menu,
+.menu-link {
+    -webkit-transition: all 0.2s ease-out;
+    -moz-transition: all 0.2s ease-out;
+    -ms-transition: all 0.2s ease-out;
+    -o-transition: all 0.2s ease-out;
+    transition: all 0.2s ease-out;
+}
+
+/*
+This is the parent `<div>` that contains the menu and the content area.
+*/
+#layout {
+    position: relative;
+    left: 0;
+    padding-left: 0;
+}
+    #layout.active #menu {
+        left: 150px;
+        width: 150px;
+    }
+
+    #layout.active .menu-link {
+        left: 150px;
+    }
+/*
+The content `<div>` is where all your content goes.
+*/
+.content {
+    margin: 0 auto;
+    padding: 0 2em;
+    max-width: 800px;
+    margin-bottom: 50px;
+    line-height: 1.6em;
+}
+
+.header {
+     margin: 0;
+     color: #333;
+     text-align: center;
+     padding: 2.5em 2em 0;
+     border-bottom: 1px solid #eee;
+ }
+    .header h1 {
+        margin: 0.2em 0;
+        font-size: 3em;
+        font-weight: 300;
+    }
+     .header h2 {
+        font-weight: 300;
+        color: #ccc;
+        padding: 0;
+        margin-top: 0;
+    }
+
+.content-subhead {
+    margin: 50px 0 20px 0;
+    font-weight: 300;
+    color: #888;
+}
+
+
+
+/*
+The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
+appears on the left side of the page.
+*/
+
+#menu {
+    margin-left: -150px; /* "#menu" width */
+    width: 150px;
+    position: fixed;
+    top: 0;
+    left: 0;
+    bottom: 0;
+    z-index: 2000; /* so the menu or its navicon stays above all content */
+    background: var(--gnuboat-primary-dark);
+    overflow-y: auto;
+    -webkit-overflow-scrolling: touch;
+}
+    /*
+    All anchors inside the menu should be styled like this.
+    */
+    #menu a {
+        color: #fff;
+        border: none;
+        padding: 0.6em 0 0.6em 0.6em;
+    }
+
+    /*
+    Remove all background/borders, since we are applying them to #menu.
+    */
+     #menu .pure-menu,
+     #menu .pure-menu ul {
+        border: none;
+        background: transparent;
+    }
+
+    /*
+    Add that light border to separate items into groups.
+    */
+    #menu .pure-menu ul,
+    #menu .pure-menu .menu-item-divided {
+        border-top: 1px solid var(--gnuboat-primary-light);
+    }
+        /*
+        Change color of the anchor links on hover/focus.
+        */
+        #menu .pure-menu li a:hover,
+        #menu .pure-menu li a:focus {
+            background: var(--gnuboat-primary-light);
+        }
+
+    /*
+    This styles the selected menu item `<li>`.
+    */
+    #menu .pure-menu-selected,
+    #menu .pure-menu-heading {
+        background: var(--gnuboat-secondary-dark);
+    }
+        /*
+        This styles a link within a selected menu item `<li>`.
+        */
+        #menu .pure-menu-selected a {
+            color: #fff;
+        }
+
+    /*
+    This styles the menu heading.
+    */
+    #menu .pure-menu-heading {
+        font-size: 110%;
+        color: #fff;
+        margin: 0;
+    }
+
+/* -- Dynamic Button For Responsive Menu -------------------------------------*/
+
+/*
+The button to open/close the Menu is custom-made and not part of Pure. Here's
+how it works:
+*/
+
+/*
+`.menu-link` represents the responsive menu toggle that shows/hides on
+small screens.
+*/
+.menu-link {
+    position: fixed;
+    display: block; /* show this only on small screens */
+    top: 0;
+    left: 0; /* "#menu width" */
+    background: #000;
+    background: rgba(0,0,0,0.7);
+    font-size: 10px; /* change this value to increase/decrease button size */
+    z-index: 10;
+    width: 2em;
+    height: auto;
+    padding: 2.1em 1.6em;
+	z-index: 1500;
+}
+
+    .menu-link:hover,
+    .menu-link:focus {
+        background: #000;
+    }
+
+    .menu-link span {
+        position: relative;
+        display: block;
+    }
+
+    .menu-link span,
+    .menu-link span:before,
+    .menu-link span:after {
+        background-color: #fff;
+        width: 100%;
+        height: 0.2em;
+    }
+
+        .menu-link span:before,
+        .menu-link span:after {
+            position: absolute;
+            margin-top: -0.6em;
+            content: " ";
+        }
+
+        .menu-link span:after {
+            margin-top: 0.6em;
+        }
+
+
+/* -- Responsive Styles (Media Queries) ------------------------------------- */
+
+/*
+Hides the menu at `48em`, but modify this based on your app's needs.
+*/
+@media (min-width: 99999em) {
+
+    .header,
+    .content {
+        padding-left: 2em;
+        padding-right: 2em;
+    }
+
+    #layout {
+        padding-left: 150px; /* left col width "#menu" */
+        left: 0;
+    }
+    #menu {
+        left: 150px;
+    }
+
+    .menu-link {
+        position: fixed;
+        left: 150px;
+        display: none;
+    }
+
+    #layout.active .menu-link {
+        left: 150px;
+    }
+}
+
+@media (max-width: 99999em) {
+    /* Only apply this when the window is small. Otherwise, the following
+    case results in extra padding on the left:
+        * Make the window small.
+        * Tap the menu to trigger the active state.
+        * Make the window large again.
+    */
+    #layout.active {
+        position: relative;
+        left: 150px;
+    }
+}
Index: src/webapp/mapservice/src-gen/openapi_server/static/index.html
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/index.html	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/index.html	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,130 @@
+<!--
+    Copyright (C) 2016 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<!DOCTYPE HTML>
+<html>
+	<head profile="http://www.w3.org/2005/10/profile">
+		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
+		<link rel="icon" type="image/png" href="resources/gnuboat-256-256-transparent.png"/>
+		<title>GNUBoat Web Application</title>
+		
+		<link rel="stylesheet" href="lib/css/pure/pure-min.css" type="text/css"/>
+		<!--[if lte IE 8]>
+		<link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-old-ie-min.css">
+		<![endif]-->
+		<!--[if gt IE 8]><!-->
+		<link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-min.css">
+		<!--<![endif]-->
+		<link rel="stylesheet" content="text/css" href="lib/css/leaflet/leaflet.css"/>
+		
+		<script src="lib/js/jquery-3.2.1.min.js" type="text/javascript"></script>
+		<script src="lib/js/jquery.validate.min.js" type="text/javascript"></script>
+		<script src="lib/js/leaflet.js" type="text/javascript"></script>
+		<!--<script src="lib/js/leaflet.hotline.min.js" type="text/javascript"></script>-->
+		
+		<link rel="stylesheet" href="css/GnuBoat.css" type="text/css"/>
+		<link rel="stylesheet" href="css/side-menu.css" type="text/css"/>
+		<script language="javascript" src="js/GnuBoat.js" type="text/javascript"></script>
+		<script language="javascript" src="js/GnuBoat.Webserver.js" type="text/javascript"></script>
+		<script language="javascript" type="text/javascript">
+			var active = 'active';
+			var layout = null;
+			var menu = null;
+			var menuLink = null;
+			var content = null;
+
+			function toggleAll() {
+				layout.toggleClass(active);
+				menu.toggleClass(active);
+				menuLink.toggleClass(active);
+			}
+
+			$(document).ready(function () {
+				layout   = $("#layout");
+				menu     = $("#menu");
+				menuLink = $("#menuLink");
+				content  = $("#main");
+
+				menuLink.click(function () {
+					toggleAll();
+				});
+
+				content.click(function() {
+					if (menu.hasClass(active)) {
+						toggleAll();
+					}
+				});
+				
+				GnuBoat.Webserver.initialize();
+				GnuBoat.Webserver.setServer("http://localhost:8080/mapservice/v1/");
+			});
+		</script>
+	</head>
+	<body>
+		<div id="layout" class="">
+			<a id="menuLink" class="menu-link" href="#menu"><!-- Hamburger icon --><span></span></a>
+			<div id="menu" class="">
+				<div class="pure-menu">
+					<a class="pure-menu-heading" href="#">GNUBoat</a>
+					<ul class="pure-menu-list">
+						<li class="pure-menu-item"><a id="linkMap" class="pure-menu-link" href="#map">Map</a></li>
+						<li class="pure-menu-item"><a class="pure-menu-link" href="#upload">Upload</a></li>
+						<li class="pure-menu-item"><a id="linkMyGnuboat" class="pure-menu-link" href="#mygnuboat">My GnuBoat</a></li>
+					</ul>
+				</div>
+			</div>
+			<div id="main">
+				<!--<div class="content">-->
+				<a name="map"></a>
+				<div id="mapViewport" class="viewportGeometry">
+					<div class="leaflet-top map-middle">
+						<div class="leaflet-control">
+							<img id="logo" src="resources/gnuboat-256-256-transparent.png" />
+						</div>
+					</div>
+				</div>
+				<!--</div>-->
+				<div class="content">
+					<a name="mygnuboat"></a>
+					<div id="login">
+						<form id="loginForm" class="pure-form pure-form-aligned">
+							<fieldset>
+								<legend>Login</legend>
+								<div class="pure-control-group">
+									<label for="loginUsername">Username:</label>
+									<input id="loginUsername" type="text" name="loginUsername" value="" required>
+								</div>
+								<div class="pure-control-group">
+									<label for="loginPassword">Password:</label>
+									<input id="loginPassword" type="password" name="loginPassword" value="" required>
+								</div>
+								<input type="submit" class="pure-button pure-button-primary" name="loginButton" value="Login"/>
+							</fieldset>
+						</form>
+					</div>
+					<div id="myWaters">
+						<h2 class="content-subhead">My Waters</h2>
+						<form id="myWatersForm" class="pure-form">
+							<div class="pure-control-group">
+								<select id="myWatersSelect" class="pure-input-1"></select>
+							</div>
+						</form>
+					</div>
+				</div>
+			</div>
+	</body>
+</html>
Index: src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.Webserver.js
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.Webserver.js	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.Webserver.js	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,147 @@
+/*
+
+    Copyright (C) 2018 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301  USA.
+
+*/
+
+/** @namespace GnuBoat JavaScript namespace */
+var GnuBoat = GnuBoat || {};
+/** @namespace GnuBoat Webserver JavaScript namespace */
+GnuBoat.Webserver = GnuBoat.Webserver || {};
+
+GnuBoat.Webserver.initialize = function()
+{
+	GnuBoat.Webserver.private.mapSetup();
+	$("#loginForm").validate({
+		rules: {
+			loginUsername: {
+				required: true
+			},
+			loginPassword: {
+				required: true
+			}
+		},
+		submitHandler: function(form){
+			GnuBoat.Webserver.login(form);
+		}
+	});
+	
+	$("#login").hide();
+	$("#myWaters").hide();
+	$("#linkMyGnuboat").click(function(){ $("#mapViewport").hide(); GnuBoat.Webserver.loginCheck(); });
+	$("#linkMap").click(function(){ $("#mapViewport").show(); });
+}
+
+/**
+ * @brief Sets the webservice base url, used by any other functions
+ */
+GnuBoat.Webserver.setServer = function(baseUrl)
+{
+	if(baseUrl.slice(-1) != "/")
+		baseUrl += "/";
+	GnuBoat.Webserver.private.serverBaseUrl = baseUrl;
+}
+
+GnuBoat.Webserver.private = {
+	loggedin: false,
+	map: null,
+	mapSetup: function ()
+	{
+		GnuBoat.Webserver.private.map = L.map('mapViewport').setView([48.43, 10.04], 17);
+		
+		var layer_openstreetmap = L.tileLayer(
+			'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
+			{ attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, <a href="http://www.openseamap.org">OpenSeaMap</a>, <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'}
+		).addTo(GnuBoat.Webserver.private.map);
+		var layer_openseamap = L.tileLayer(
+			'http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png',
+			{attribute: '&copy; <a href="http://www.openseamap.org">OpenSeaMap</a> contributors'}
+		).addTo(GnuBoat.Webserver.private.map);
+		
+		// add GNUBoat layers
+		var layer_gnuboat_accuracy_low = L.tileLayer(
+			'./tiles/gnuboat_10_100/{z}/{x}/{y}.png',
+			{tms: true, opacity: 0.5, zIndex: 98, attribute: '&copy; <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'}
+		);
+		var layer_gnuboat_accuracy_high = L.tileLayer(
+			'./tiles/gnuboat_100_100/{z}/{x}/{y}.png',
+			{tms: true, opacity: 0.5, zIndex: 98, attribute: '&copy; <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'}
+		).addTo(GnuBoat.Webserver.private.map);
+		
+		// add layer control
+		var baselayers = {
+			"Map": layer_openstreetmap,
+		};
+		// overlays
+		var overlays = {"Seamarks": layer_openseamap,
+			"GNUBoat Low Accuracy": layer_gnuboat_accuracy_low,
+			"GNUBoat High Accuracy": layer_gnuboat_accuracy_high,
+		};
+		GnuBoat.Webserver.private.mapControl = L.control.layers(
+			baselayers, overlays,
+			{hideSingleBase: true, sortLayers: true, }
+		).addTo(GnuBoat.Webserver.private.map);
+		
+		// add scale
+		L.control.scale().addTo(GnuBoat.Webserver.private.map);
+	}
+};
+
+GnuBoat.Webserver.login = function(form)
+{
+	Cookies.set('username', $("#loginUsername").val());
+	Cookies.set('password', $("#loginPassword").val());
+	GnuBoat.Webserver.private.loggedin = false;
+	
+	// getting my waters
+	$.ajax({
+		headers: {
+// 			manager: Cookies.get('username')
+			manager: "bla"
+		},
+		dataType: "json",
+		url: GnuBoat.Webserver.private.serverBaseUrl +'waters',
+	}).done(function(data) {
+		GnuBoat.Webserver.private.loggedin = true;
+		GnuBoat.Webserver.loginCheck();
+		
+		$("#myWatersDiv").empty();
+		if(data.length < 1){
+			$("<p>No Waters found!</p>").appendTo("#myWatersDiv");
+		}
+		else{
+			$('<select id="myWatersSelect" class="pure-input-1"></select>').appendTo("#myWatersDiv");
+			data.forEach(function(value, index){
+				$("<option value=\""+ value.water_id +"\">"+ value.name +"</option>").appendTo("#myWatersSelect");
+			})
+		}
+		$("#myWaters").show();
+	}).fail(function() {
+		alert('request failed');
+	});
+};
+
+GnuBoat.Webserver.loginCheck = function()
+{
+	console.log([Cookies.get('username'), Cookies.get('username') == undefined, Cookies.get('password'), Cookies.get('password') == undefined, GnuBoat.Webserver.private.loggedin]);
+	if(Cookies.get('username') == undefined || Cookies.get('password') == undefined || !GnuBoat.Webserver.private.loggedin){
+		$("#login").show();
+		return;
+	}
+	$("#login").hide();
+};
Index: src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.js
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.js	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/static/js/GnuBoat.js	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,33 @@
+/*
+
+    Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301  USA.
+
+*/
+
+/** @namespace GnuBoat JavaScript namespace */
+var GnuBoat = GnuBoat || {};
+
+/**
+ * @brief Used to display user messages
+ */
+GnuBoat.displayMessage = function(text)
+{
+	$("#message").empty();
+	$(text).appendTo("#message");
+	location.hash = "#messages";
+}
Index: src/webapp/mapservice/src-gen/openapi_server/templates/index.html
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/templates/index.html	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/templates/index.html	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,131 @@
+<!--
+    Copyright (C) 2016 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<!DOCTYPE HTML>
+<html>
+	<head profile="http://www.w3.org/2005/10/profile">
+		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
+		<link rel="icon" type="image/png" href="{{ url_for('static', filename = 'resources/gnuboat-256-256-transparent.png') }}"/>
+		<title>GNUBoat Web Application</title>
+		
+		<link rel="stylesheet" href="{{ url_for('static', filename = 'lib/css/pure/pure-min.css') }}" type="text/css"/>
+		<!--[if lte IE 8]>
+		<link rel="stylesheet" content="text/css" href="lib/css/pure/grids-responsive-old-ie-min.css">
+		<![endif]-->
+		<!--[if gt IE 8]><!-->
+		<link rel="stylesheet" content="text/css" href="{{ url_for('static', filename = 'lib/css/pure/grids-responsive-min.css') }}">
+		<!--<![endif]-->
+		<link rel="stylesheet" content="text/css" href="{{ url_for('static', filename = 'lib/css/leaflet/leaflet.css') }}"/>
+		
+		<script src="{{ url_for('static', filename = 'lib/js/jquery-3.2.1.min.js') }}" type="text/javascript"></script>
+		<script src="{{ url_for('static', filename = 'lib/js/jquery.validate.min.js') }}" type="text/javascript"></script>
+		<script src="{{ url_for('static', filename = 'lib/js/leaflet.js') }}" type="text/javascript"></script>
+		<script src="{{ url_for('static', filename = 'lib/js/js.cookie.js') }}"></script>
+		<!--<script src="lib/js/leaflet.hotline.min.js" type="text/javascript"></script>-->
+		
+		<link rel="stylesheet" href="{{ url_for('static', filename = 'css/GnuBoat.css') }}" type="text/css"/>
+		<link rel="stylesheet" href="{{ url_for('static', filename = 'css/side-menu.css') }}" type="text/css"/>
+		<script language="javascript" src="{{ url_for('static', filename = 'js/GnuBoat.js') }}" type="text/javascript"></script>
+		<script language="javascript" src="{{ url_for('static', filename = 'js/GnuBoat.Webserver.js') }}" type="text/javascript"></script>
+		<script language="javascript" type="text/javascript">
+			var active = 'active';
+			var layout = null;
+			var menu = null;
+			var menuLink = null;
+			var content = null;
+
+			function toggleAll() {
+				layout.toggleClass(active);
+				menu.toggleClass(active);
+				menuLink.toggleClass(active);
+			}
+
+			$(document).ready(function () {
+				layout   = $("#layout");
+				menu     = $("#menu");
+				menuLink = $("#menuLink");
+				content  = $("#main");
+
+				menuLink.click(function () {
+					toggleAll();
+				});
+
+				content.click(function() {
+					if (menu.hasClass(active)) {
+						toggleAll();
+					}
+				});
+				
+				GnuBoat.Webserver.initialize();
+				GnuBoat.Webserver.setServer("v1/");
+			});
+		</script>
+	</head>
+	<body>
+		<div id="layout" class="">
+			<a id="menuLink" class="menu-link" href="#menu"><!-- Hamburger icon --><span></span></a>
+			<div id="menu" class="">
+				<div class="pure-menu">
+					<a class="pure-menu-heading" href="#">GNUBoat</a>
+					<ul class="pure-menu-list">
+						<li class="pure-menu-item"><a id="linkMap" class="pure-menu-link" href="#map">Map</a></li>
+						<li class="pure-menu-item"><a class="pure-menu-link" href="#upload">Upload</a></li>
+						<li class="pure-menu-item"><a id="linkMyGnuboat" class="pure-menu-link" href="#mygnuboat">My GnuBoat</a></li>
+					</ul>
+				</div>
+			</div>
+			<div id="main">
+				<!--<div class="content">-->
+				<a name="map"></a>
+				<div id="mapViewport" class="viewportGeometry">
+					<div class="leaflet-top map-middle">
+						<div class="leaflet-control">
+							<img id="logo" src="{{ url_for('static', filename = 'resources/gnuboat-256-256-transparent.png') }}" />
+						</div>
+					</div>
+				</div>
+				<!--</div>-->
+				<div class="content">
+					<a name="mygnuboat"></a>
+					<div id="login">
+						<form id="loginForm" class="pure-form pure-form-aligned">
+							<fieldset>
+								<legend>Login</legend>
+								<div class="pure-control-group">
+									<label for="loginUsername">Username:</label>
+									<input id="loginUsername" type="text" name="loginUsername" value="" required>
+								</div>
+								<div class="pure-control-group">
+									<label for="loginPassword">Password:</label>
+									<input id="loginPassword" type="password" name="loginPassword" value="" required>
+								</div>
+								<input type="submit" class="pure-button pure-button-primary" name="loginButton" value="Login"/>
+							</fieldset>
+						</form>
+					</div>
+					<div id="myWaters">
+						<h2 class="content-subhead">My Waters</h2>
+						<form id="myWatersForm" class="pure-form">
+							<div id="myWatersDiv" class="pure-control-group">
+								
+							</div>
+						</form>
+					</div>
+				</div>
+			</div>
+	</body>
+</html>
Index: src/webapp/mapservice/src-gen/openapi_server/test/__init__.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/test/__init__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/test/__init__.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,16 @@
+import logging
+
+import connexion
+from flask_testing import TestCase
+
+from openapi_server.encoder import JSONEncoder
+
+
+class BaseTestCase(TestCase):
+
+    def create_app(self):
+        logging.getLogger('connexion.operation').setLevel('ERROR')
+        app = connexion.App(__name__, specification_dir='../openapi/')
+        app.app.json_encoder = JSONEncoder
+        app.add_api('openapi.yaml')
+        return app.app
Index: src/webapp/mapservice/src-gen/openapi_server/test/test_default_controller.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/test/test_default_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/test/test_default_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,32 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+import unittest
+
+from flask import json
+from six import BytesIO
+
+from openapi_server.models.water import Water  # noqa: E501
+from openapi_server.test import BaseTestCase
+
+
+class TestDefaultController(BaseTestCase):
+    """DefaultController integration test stubs"""
+
+    def test_water_get_by_id(self):
+        """Test case for water_get_by_id
+
+        Represents a water
+        """
+        headers = { 
+        }
+        response = self.client.open(
+            '/mapservice/v1/waters/{id}'.format(id=56),
+            method='GET',
+            headers=headers)
+        self.assert200(response,
+                       'Response body is : ' + response.data.decode('utf-8'))
+
+
+if __name__ == '__main__':
+    unittest.main()
Index: src/webapp/mapservice/src-gen/openapi_server/test/test_waters_controller.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/test/test_waters_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/test/test_waters_controller.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,34 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+
+from flask import json
+from six import BytesIO
+
+from openapi_server.models.order import Order  # noqa: E501
+from openapi_server.test import BaseTestCase
+
+
+class TestWatersController(BaseTestCase):
+    """WatersController integration test stubs"""
+
+    def test_waters_get(self):
+        """Test case for waters_get
+
+        Waters_GET
+        """
+        query_string = [('order_by', 'order_by_example'),
+                        ('order', Order()),
+                        ('offset', 0),
+                        ('limit', 10)]
+        response = self.client.open(
+            '/mapservice/v1/waters',
+            method='GET',
+            query_string=query_string)
+        self.assert200(response,
+                       'Response body is : ' + response.data.decode('utf-8'))
+
+
+if __name__ == '__main__':
+    import unittest
+    unittest.main()
Index: src/webapp/mapservice/src-gen/openapi_server/util.py
===================================================================
--- src/webapp/mapservice/src-gen/openapi_server/util.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/openapi_server/util.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,141 @@
+import datetime
+
+import six
+import typing
+
+
+def _deserialize(data, klass):
+    """Deserializes dict, list, str into an object.
+
+    :param data: dict, list or str.
+    :param klass: class literal, or string of class name.
+
+    :return: object.
+    """
+    if data is None:
+        return None
+
+    if klass in six.integer_types or klass in (float, str, bool):
+        return _deserialize_primitive(data, klass)
+    elif klass == object:
+        return _deserialize_object(data)
+    elif klass == datetime.date:
+        return deserialize_date(data)
+    elif klass == datetime.datetime:
+        return deserialize_datetime(data)
+    elif type(klass) == typing.GenericMeta:
+        if klass.__extra__ == list:
+            return _deserialize_list(data, klass.__args__[0])
+        if klass.__extra__ == dict:
+            return _deserialize_dict(data, klass.__args__[1])
+    else:
+        return deserialize_model(data, klass)
+
+
+def _deserialize_primitive(data, klass):
+    """Deserializes to primitive type.
+
+    :param data: data to deserialize.
+    :param klass: class literal.
+
+    :return: int, long, float, str, bool.
+    :rtype: int | long | float | str | bool
+    """
+    try:
+        value = klass(data)
+    except UnicodeEncodeError:
+        value = six.u(data)
+    except TypeError:
+        value = data
+    return value
+
+
+def _deserialize_object(value):
+    """Return an original value.
+
+    :return: object.
+    """
+    return value
+
+
+def deserialize_date(string):
+    """Deserializes string to date.
+
+    :param string: str.
+    :type string: str
+    :return: date.
+    :rtype: date
+    """
+    try:
+        from dateutil.parser import parse
+        return parse(string).date()
+    except ImportError:
+        return string
+
+
+def deserialize_datetime(string):
+    """Deserializes string to datetime.
+
+    The string should be in iso8601 datetime format.
+
+    :param string: str.
+    :type string: str
+    :return: datetime.
+    :rtype: datetime
+    """
+    try:
+        from dateutil.parser import parse
+        return parse(string)
+    except ImportError:
+        return string
+
+
+def deserialize_model(data, klass):
+    """Deserializes list or dict to model.
+
+    :param data: dict, list.
+    :type data: dict | list
+    :param klass: class literal.
+    :return: model object.
+    """
+    instance = klass()
+
+    if not instance.openapi_types:
+        return data
+
+    for attr, attr_type in six.iteritems(instance.openapi_types):
+        if data is not None \
+                and instance.attribute_map[attr] in data \
+                and isinstance(data, (list, dict)):
+            value = data[instance.attribute_map[attr]]
+            setattr(instance, attr, _deserialize(value, attr_type))
+
+    return instance
+
+
+def _deserialize_list(data, boxed_type):
+    """Deserializes a list and its elements.
+
+    :param data: list to deserialize.
+    :type data: list
+    :param boxed_type: class literal.
+
+    :return: deserialized list.
+    :rtype: list
+    """
+    return [_deserialize(sub_data, boxed_type)
+            for sub_data in data]
+
+
+def _deserialize_dict(data, boxed_type):
+    """Deserializes a dict and its elements.
+
+    :param data: dict to deserialize.
+    :type data: dict
+    :param boxed_type: class literal.
+
+    :return: deserialized dict.
+    :rtype: dict
+    """
+    return {k: _deserialize(v, boxed_type)
+            for k, v in six.iteritems(data)}
Index: src/webapp/mapservice/src-gen/requirements.txt
===================================================================
--- src/webapp/mapservice/src-gen/requirements.txt	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/requirements.txt	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,4 @@
+connexion == 2.0.2
+swagger-ui-bundle == 0.0.2
+python_dateutil == 2.6.0
+setuptools >= 21.0.0
Index: src/webapp/mapservice/src-gen/setup.py
===================================================================
--- src/webapp/mapservice/src-gen/setup.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/setup.py	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,39 @@
+# coding: utf-8
+
+import sys
+from setuptools import setup, find_packages
+
+NAME = "openapi_server"
+VERSION = "1.0.0"
+
+# To install the library, run the following
+#
+# python setup.py install
+#
+# prerequisite: setuptools
+# http://pypi.python.org/pypi/setuptools
+
+REQUIRES = [
+    "connexion==2.0.0",
+    "swagger-ui-bundle==0.0.2",
+    "python_dateutil==2.6.0"
+]
+
+setup(
+    name=NAME,
+    version=VERSION,
+    description="GNUBoat Mapservice API",
+    author_email="info@engsas.de",
+    url="",
+    keywords=["OpenAPI", "GNUBoat Mapservice API"],
+    install_requires=REQUIRES,
+    packages=find_packages(),
+    package_data={'': ['openapi/openapi.yaml']},
+    include_package_data=True,
+    entry_points={
+        'console_scripts': ['openapi_server=openapi_server.__main__:main']},
+    long_description="""\
+    API to upload log files with water depth to GNUBoat server
+    """
+)
+
Index: src/webapp/mapservice/src-gen/test-requirements.txt
===================================================================
--- src/webapp/mapservice/src-gen/test-requirements.txt	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/test-requirements.txt	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,6 @@
+flask_testing==0.6.1
+coverage>=4.0.3
+nose>=1.3.7
+pluggy>=0.3.1
+py>=1.4.31
+randomize>=0.13
Index: src/webapp/mapservice/src-gen/tox.ini
===================================================================
--- src/webapp/mapservice/src-gen/tox.ini	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
+++ src/webapp/mapservice/src-gen/tox.ini	(revision 3a89adb7682baa437eedbb87c5e1564511b7ce83)
@@ -0,0 +1,10 @@
+[tox]
+envlist = py3
+
+[testenv]
+deps=-r{toxinidir}/requirements.txt
+     -r{toxinidir}/test-requirements.txt
+
+commands=
+   nosetests \
+      []
