Index: c/mapservice/src-gen/.dockerignore
===================================================================
--- src/mapservice/src-gen/.dockerignore	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,72 +1,0 @@
-.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: c/mapservice/src-gen/.gitignore
===================================================================
--- src/mapservice/src-gen/.gitignore	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,64 +1,0 @@
-# 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: c/mapservice/src-gen/.openapi-generator-ignore
===================================================================
--- src/mapservice/src-gen/.openapi-generator-ignore	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,23 +1,0 @@
-# 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: c/mapservice/src-gen/.openapi-generator/VERSION
===================================================================
--- src/mapservice/src-gen/.openapi-generator/VERSION	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,1 +1,0 @@
-4.0.0
Index: c/mapservice/src-gen/.travis.yml
===================================================================
--- src/mapservice/src-gen/.travis.yml	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,13 +1,0 @@
-# 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: c/mapservice/src-gen/Dockerfile
===================================================================
--- src/mapservice/src-gen/Dockerfile	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,16 +1,0 @@
-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: c/mapservice/src-gen/README.md
===================================================================
--- src/mapservice/src-gen/README.md	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,49 +1,0 @@
-# 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: c/mapservice/src-gen/git_push.sh
===================================================================
--- src/mapservice/src-gen/git_push.sh	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,52 +1,0 @@
-#!/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: c/mapservice/src-gen/openapi_server/__main__.py
===================================================================
--- src/mapservice/src-gen/openapi_server/__main__.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,44 +1,0 @@
-#!/usr/bin/env python3
-
-import connexion
-from flask_cors import CORS
-#from flask import render_template
-import flask
-from sqlalchemy import event
-
-from openapi_server import encoder
-
-from openapi_server.server_impl.database.Model import db, User, ApiKey, db_test_setup
-
-from openapi_server.server_impl.ValidatorWorkaround import ValidatorWorkaround
-
-app = connexion.App(__name__, specification_dir='./openapi/')
-application = app.app
-CORS(application)
-
-@application.before_first_request
-def create_database():
-	@event.listens_for(db.engine, "connect")
-	def load_spatialite(dbapi_conn, connection_record):
-		if 'sqlite' in flask.current_app.config['SQLALCHEMY_DATABASE_URI']:
-			# From https://geoalchemy-2.readthedocs.io/en/latest/spatialite_tutorial.html
-			dbapi_conn.enable_load_extension(True)
-			dbapi_conn.load_extension('/usr/local/lib64/mod_spatialite')
-
-	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, strict_validation=True, validator_map={'response': ValidatorWorkaround})
-	application.config.from_object('openapi_server.server_impl.Config.DevelopmentConfig')
-
-	db.init_app(application)
-
-	app.run(port=8080)
-
-if __name__ == '__main__':
-	main()
Index: c/mapservice/src-gen/openapi_server/controllers/waters_controller.py
===================================================================
--- src/mapservice/src-gen/openapi_server/controllers/waters_controller.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,119 +1,0 @@
-import connexion
-import six
-
-from openapi_server.models.gauge import Gauge  # noqa: E501
-from openapi_server.models.gauge_creation import GaugeCreation  # noqa: E501
-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 waters_create(water_creation=None):  # noqa: E501
-    """Add a new water
-
-    Adds a new water to the database # noqa: E501
-
-    :param water_creation: 
-    :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_create(water_creation=water_creation)
-
-from openapi_server.server_impl.controllers import WatersController
-
-def waters_gauge_create(water_id, gauge_creation=None):  # noqa: E501
-    """Add a new water
-
-    Adds a new gauge for water waterId to the database # noqa: E501
-
-    :param water_id: Water ID
-    :type water_id: int
-    :param gauge_creation: 
-    :type gauge_creation: dict | bytes
-
-    :rtype: Gauge
-    """
-    if connexion.request.is_json:
-        gauge_creation = GaugeCreation.from_dict(connexion.request.get_json())  # noqa: E501
-    return WatersController.waters_gauge_create(water_id, gauge_creation=gauge_creation)
-
-from openapi_server.server_impl.controllers import WatersController
-
-def waters_gauge_get_by_id(water_id, gauge_id):  # noqa: E501
-    """Represents a gauge
-
-    Returns the gauge identified by id # noqa: E501
-
-    :param water_id: Water ID
-    :type water_id: int
-    :param gauge_id: Gauge ID
-    :type gauge_id: int
-
-    :rtype: Gauge
-    """
-    return WatersController.waters_gauge_get_by_id(water_id, gauge_id)
-
-from openapi_server.server_impl.controllers import WatersController
-
-def waters_gauges_get(water_id, name=None, manager=None, order_by=None, offset=None, limit=None):  # noqa: E501
-    """Find gauges of water waterId by gaugeId
-
-    Returns all gauges of water waterId # noqa: E501
-
-    :param water_id: Water ID
-    :type water_id: int
-    :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[Gauge]
-    """
-    return WatersController.waters_gauges_get(water_id, name=name, manager=manager, order_by=order_by, offset=offset, limit=limit)
-
-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_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.waters_get_by_id(id)
Index: c/mapservice/src-gen/openapi_server/encoder.py
===================================================================
--- src/mapservice/src-gen/openapi_server/encoder.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,20 +1,0 @@
-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: c/mapservice/src-gen/openapi_server/models/__init__.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/__init__.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,18 +1,0 @@
-# coding: utf-8
-
-# flake8: noqa
-from __future__ import absolute_import
-# import models into model package
-from openapi_server.models.gauge import Gauge
-from openapi_server.models.gauge_creation import GaugeCreation
-from openapi_server.models.gauge_geo_json import GaugeGeoJson
-from openapi_server.models.gauge_geo_json_properties import GaugeGeoJsonProperties
-from openapi_server.models.geo_json_point import GeoJsonPoint
-from openapi_server.models.geo_json_type import GeoJsonType
-from openapi_server.models.http_error import HttpError
-from openapi_server.models.order import Order
-from openapi_server.models.osm_type import OsmType
-from openapi_server.models.user import User
-from openapi_server.models.user_creation import UserCreation
-from openapi_server.models.water import Water
-from openapi_server.models.water_creation import WaterCreation
Index: c/mapservice/src-gen/openapi_server/models/base_model_.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/base_model_.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,69 +1,0 @@
-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: c/mapservice/src-gen/openapi_server/models/http_error.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/http_error.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,94 +1,0 @@
-# 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: c/mapservice/src-gen/openapi_server/models/order.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/order.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,43 +1,0 @@
-# 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: c/mapservice/src-gen/openapi_server/models/water.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/water.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,202 +1,0 @@
-# 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.models.gauge import Gauge
-from openapi_server.models.osm_type import OsmType
-from openapi_server import util
-
-from openapi_server.models.gauge import Gauge  # noqa: E501
-from openapi_server.models.osm_type import OsmType  # noqa: E501
-
-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, gauges=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: OsmType
-        :param gauges: The gauges of this Water.  # noqa: E501
-        :type gauges: List[Gauge]
-        """
-        self.openapi_types = {
-            'water_id': int,
-            'name': str,
-            'manager': str,
-            'osm_id': int,
-            'osm_type': OsmType,
-            'gauges': List[Gauge]
-        }
-
-        self.attribute_map = {
-            'water_id': 'waterId',
-            'name': 'name',
-            'manager': 'manager',
-            'osm_id': 'osmId',
-            'osm_type': 'osmType',
-            'gauges': 'gauges'
-        }
-
-        self._water_id = water_id
-        self._name = name
-        self._manager = manager
-        self._osm_id = osm_id
-        self._osm_type = osm_type
-        self._gauges = gauges
-
-    @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: OsmType
-        """
-        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: OsmType
-        """
-
-        self._osm_type = osm_type
-
-    @property
-    def gauges(self):
-        """Gets the gauges of this Water.
-
-
-        :return: The gauges of this Water.
-        :rtype: List[Gauge]
-        """
-        return self._gauges
-
-    @gauges.setter
-    def gauges(self, gauges):
-        """Sets the gauges of this Water.
-
-
-        :param gauges: The gauges of this Water.
-        :type gauges: List[Gauge]
-        """
-
-        self._gauges = gauges
Index: c/mapservice/src-gen/openapi_server/models/water_creation.py
===================================================================
--- src/mapservice/src-gen/openapi_server/models/water_creation.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,120 +1,0 @@
-# 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.models.osm_type import OsmType
-from openapi_server import util
-
-from openapi_server.models.osm_type import OsmType  # noqa: E501
-
-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: OsmType
-        """
-        self.openapi_types = {
-            'name': str,
-            'osm_id': int,
-            'osm_type': OsmType
-        }
-
-        self.attribute_map = {
-            'name': 'name',
-            'osm_id': 'osmId',
-            'osm_type': 'osmType'
-        }
-
-        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: OsmType
-        """
-        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: OsmType
-        """
-
-        self._osm_type = osm_type
Index: c/mapservice/src-gen/openapi_server/openapi/openapi.yaml
===================================================================
--- src/mapservice/src-gen/openapi_server/openapi/openapi.yaml	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,1077 +1,0 @@
-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
-- description: All actions used to manage users and api keys
-  name: users
-paths:
-  /user:
-    get:
-      description: Returns information of current/authorized user
-      operationId: users_get
-      responses:
-        200:
-          content:
-            application/json:
-              examples:
-                User:
-                  $ref: '#/components/examples/User'
-              schema:
-                $ref: '#/components/schemas/User'
-          description: OK
-        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: Returns info of a user
-      tags:
-      - users
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-    options:
-      description: Used by CORS preflight
-      operationId: user_options
-      responses:
-        200:
-          content:
-            application/json: {}
-          description: CORS prefilght requests should return 200 as status code
-      tags:
-      - users
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-    post:
-      description: Registers a new user
-      operationId: users_register
-      requestBody:
-        content:
-          application/json:
-            examples:
-              Water:
-                $ref: '#/components/examples/UserCreation'
-            schema:
-              $ref: '#/components/schemas/UserCreation'
-      responses:
-        201:
-          content:
-            application/json:
-              examples:
-                Water:
-                  $ref: '#/components/examples/User'
-              schema:
-                $ref: '#/components/schemas/User'
-          description: Userr created
-        400:
-          content:
-            application/json:
-              examples:
-                HttpError:
-                  $ref: '#/components/examples/HttpError'
-              schema:
-                $ref: '#/components/schemas/HttpError'
-          description: Bad Request (400)
-      summary: Registers a new user
-      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
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-  /user/apikey_create:
-    get:
-      description: Generates and returns a new API key for current user
-      operationId: users_api_key_create
-      responses:
-        200:
-          content:
-            application/json:
-              example: NewApiKey4711
-              schema:
-                $ref: '#/components/schemas/apiKeys'
-          description: OK
-        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: []
-      summary: Returns a new API key
-      tags:
-      - users
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-  /user/{api_key}:
-    delete:
-      description: Deletes given API key and returns remaining API keys of the user
-      operationId: users_api_key_delete
-      parameters:
-      - description: API key
-        example: DelApiKey4711
-        explode: false
-        in: path
-        name: api_key
-        required: true
-        schema:
-          $ref: '#/components/schemas/apiKey'
-        style: simple
-      responses:
-        200:
-          content:
-            application/json:
-              example: ApiKey4711
-              schema:
-                $ref: '#/components/schemas/apiKeys'
-          description: OK
-        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
-        404:
-          content:
-            application/json:
-              examples:
-                HttpError:
-                  $ref: '#/components/examples/HttpError'
-              schema:
-                $ref: '#/components/schemas/HttpError'
-          description: Water with given Id not found
-      security:
-      - basicAuth: []
-      summary: Deletes API key
-      tags:
-      - users
-      x-openapi-router-controller: openapi_server.controllers.users_controller
-  /waters:
-    get:
-      description: Returns all waters
-      operationId: waters_get
-      parameters:
-      - 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:
-                Waters:
-                  $ref: '#/components/examples/waters'
-              schema:
-                $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:
-      - waters
-      x-openapi-router-controller: openapi_server.controllers.waters_controller
-    post:
-      description: Adds a new water to the database
-      operationId: waters_create
-      requestBody:
-        content:
-          application/json:
-            example:
-              name: Rhein
-              osmId: 1756854
-              osmType: Relation
-            schema:
-              $ref: '#/components/schemas/WaterCreation'
-      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: waters_get_by_id
-      parameters:
-      - description: Item ID
-        explode: false
-        in: path
-        name: id
-        required: true
-        schema:
-          $ref: '#/components/schemas/itemId'
-        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
-  /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
-      x-openapi-router-controller: openapi_server.controllers.waters_controller
-components:
-  examples:
-    User:
-      value:
-        username: jane
-        email: jane@example.org
-        firstName: Jane
-        lastName: Doe
-        activated: true
-        apiKeys:
-        - ApiKey4701
-    UserCreation:
-      value:
-        username: richard
-        email: richard@examle.org
-        firstName: Richard
-        lastName: Roe
-        password: sdfl.1238_ASDkeil?
-    Water:
-      summary: A water example object
-      value:
-        waterId: 1
-        name: Mississippi
-        osmId: 1756854
-        osmType: R
-    WaterCreation:
-      summary: A water example object for creation of a water
-      value:
-        name: Mississippi
-        osmId: 1756854
-        osmType: Relation
-    waters:
-      summary: A sample list with waters
-      value:
-      - waterId: 1
-        name: Mississippi
-        osmId: 1756854
-        osmType: Relation
-      - 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:
-        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
-        example: 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
-    apiKey:
-      title: API Key
-      type: string
-    apiKeys:
-      items:
-        $ref: '#/components/schemas/apiKey'
-      title: Array of API keys
-      type: array
-    activationCode:
-      title: Activation code for a User
-      type: string
-    itemId:
-      format: int32
-      title: Item ID
-      type: integer
-    itemName:
-      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:
-      - Node
-      - Way
-      - Relation
-      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:
-        firstName: firstName
-        lastName: lastName
-        apiKeys:
-        - null
-        - null
-        email: email
-        username: username
-        activated: true
-      properties:
-        username:
-          title: Username
-          type: string
-        email:
-          type: string
-        firstName:
-          type: string
-        lastName:
-          type: string
-        activated:
-          type: boolean
-        apiKeys:
-          items:
-            $ref: '#/components/schemas/apiKey'
-          title: Array of API keys
-          type: array
-      title: User
-      type: object
-    UserCreation:
-      example:
-        firstName: firstName
-        lastName: lastName
-        password: password
-        email: email
-        username: username
-      properties:
-        username:
-          title: Username
-          type: string
-        email:
-          type: string
-        firstName:
-          type: string
-        lastName:
-          type: string
-        password:
-          type: string
-      required:
-      - email
-      - firstName
-      - lastName
-      - password
-      - username
-      title: User
-      type: object
-    Water:
-      example:
-        manager: manager
-        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:
-        waterId:
-          format: int32
-          title: Item ID
-          type: integer
-        name:
-          title: Item Name
-          type: string
-        manager:
-          title: Username
-          type: string
-        osmId:
-          format: int32
-          title: Item ID
-          type: integer
-        osmType:
-          $ref: '#/components/schemas/osmType'
-        gauges:
-          items:
-            $ref: '#/components/schemas/Gauge'
-          title: Gauges
-          type: array
-      required:
-      - name
-      - waterId
-      title: Water
-      type: object
-    WaterCreation:
-      example:
-        osmId: 0
-        name: name
-      properties:
-        name:
-          title: Item Name
-          type: string
-        osmId:
-          format: int32
-          title: Item ID
-          type: integer
-        osmType:
-          $ref: '#/components/schemas/osmType'
-      required:
-      - name
-      title: Water
-      type: object
-    waters:
-      items:
-        $ref: '#/components/schemas/Water'
-      title: waters
-      type: array
-    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:
-          type: integer
-        message:
-          type: string
-      required:
-      - code
-      - message
-      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:
-      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: c/mapservice/src-gen/openapi_server/server_impl
===================================================================
--- src/mapservice/src-gen/openapi_server/server_impl	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,1 +1,0 @@
-../../src/server_impl/
Index: c/mapservice/src-gen/openapi_server/test/__init__.py
===================================================================
--- src/mapservice/src-gen/openapi_server/test/__init__.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,32 +1,0 @@
-import logging
-
-import connexion
-from flask_cors import CORS
-from flask_testing import TestCase
-
-from openapi_server.encoder import JSONEncoder
-
-from openapi_server.server_impl.database.Model import db, db_test_setup
-
-class BaseTestCase(TestCase):
-	def create_app(self):
-		logging.getLogger('connexion.operation').setLevel('ERROR')
-		app = connexion.App(__name__, specification_dir='../openapi/')
-		application = app.app
-		CORS(application)
-		application.json_encoder = JSONEncoder
-		app.add_api('openapi.yaml')
-
-		application.config.from_object('openapi_server.server_impl.Config.TestingConfig')
-		db.init_app(application)
-		application.app_context().push()
-		
-		return application
-
-	def setUp(self):
-		db.drop_all()
-		db_test_setup()
-        
-	def tearDown(self):
-		db.session.remove()
-		db.drop_all()
Index: c/mapservice/src-gen/openapi_server/test/test_waters_controller.py
===================================================================
--- src/mapservice/src-gen/openapi_server/test/test_waters_controller.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,143 +1,0 @@
-# coding: utf-8
-
-from __future__ import absolute_import
-import unittest
-
-from flask import json
-from six import BytesIO
-
-from openapi_server.models.gauge import Gauge  # noqa: E501
-from openapi_server.models.gauge_creation import GaugeCreation  # noqa: E501
-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.test import BaseTestCase
-
-
-class TestWatersController(BaseTestCase):
-    """WatersController integration test stubs"""
-
-    def test_waters_create(self):
-        """Test case for waters_create
-
-        Add a new water
-        """
-        water_creation = {
-  "osmId" : 0,
-  "name" : "name"
-}
-        headers = { 
-            'Accept': 'application/json',
-            'Content-Type': 'application/json',
-            'X-API-KEY': 'test_key',
-            'Authorization': 'BasicZm9vOmJhcg==',
-        }
-        response = self.client.open(
-            '/mapservice/v1/waters',
-            method='POST',
-            headers=headers,
-            data=json.dumps(water_creation),
-            content_type='application/json')
-        self.assert200(response,
-                       'Response body is : ' + response.data.decode('utf-8'))
-
-    def test_waters_gauge_create(self):
-        """Test case for waters_gauge_create
-
-        Add a new water
-        """
-        gauge_creation = {
-  "name" : "name",
-  "location" : [ 0.8008281904610115, 0.8008281904610115 ],
-  "comment" : "comment"
-}
-        headers = { 
-            'Accept': 'application/json',
-            'Content-Type': 'application/json',
-            'X-API-KEY': 'test_key',
-            'Authorization': 'BasicZm9vOmJhcg==',
-        }
-        response = self.client.open(
-            '/mapservice/v1/waters/{water_id}/gauges'.format(water_id='56'),
-            method='POST',
-            headers=headers,
-            data=json.dumps(gauge_creation),
-            content_type='application/json')
-        self.assert200(response,
-                       'Response body is : ' + response.data.decode('utf-8'))
-
-    def test_waters_gauge_get_by_id(self):
-        """Test case for waters_gauge_get_by_id
-
-        Represents a gauge
-        """
-        headers = { 
-            'Accept': 'application/json',
-        }
-        response = self.client.open(
-            '/mapservice/v1/waters/{water_id}/gauges/{gauge_id}'.format(water_id='56', gauge_id='56'),
-            method='GET',
-            headers=headers)
-        self.assert200(response,
-                       'Response body is : ' + response.data.decode('utf-8'))
-
-    def test_waters_gauges_get(self):
-        """Test case for waters_gauges_get
-
-        Find gauges of water waterId by gaugeId
-        """
-        query_string = [('name', 'Missi'),
-                        ('manager', 'jane'),
-                        ('order_by', 'name'),
-                        ('offset', '0'),
-                        ('limit', '10')]
-        headers = { 
-            'Accept': 'application/json',
-        }
-        response = self.client.open(
-            '/mapservice/v1/waters/{water_id}/gauges'.format(water_id='56'),
-            method='GET',
-            headers=headers,
-            query_string=query_string)
-        self.assert200(response,
-                       'Response body is : ' + response.data.decode('utf-8'))
-
-    def test_waters_get(self):
-        """Test case for waters_get
-
-        Find waters by id
-        """
-        query_string = [('name', 'Missi'),
-                        ('manager', 'jane'),
-                        ('order_by', 'name'),
-                        ('offset', '0'),
-                        ('limit', '10')]
-        headers = { 
-            'Accept': 'application/json',
-        }
-        response = self.client.open(
-            '/mapservice/v1/waters',
-            method='GET',
-            headers=headers,
-            query_string=query_string)
-        self.assert200(response,
-                       'Response body is : ' + response.data.decode('utf-8'))
-
-    def test_waters_get_by_id(self):
-        """Test case for waters_get_by_id
-
-        Represents a water
-        """
-        headers = { 
-            'Accept': 'application/json',
-        }
-        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: c/mapservice/src-gen/openapi_server/util.py
===================================================================
--- src/mapservice/src-gen/openapi_server/util.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,141 +1,0 @@
-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: c/mapservice/src-gen/requirements.txt
===================================================================
--- src/mapservice/src-gen/requirements.txt	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,7 +1,0 @@
-connexion == 2.2.0
-swagger-ui-bundle == 0.0.2
-python_dateutil == 2.6.0
-setuptools >= 21.0.0
-flask-sqlalchemy
-flask-cors
-shapely
Index: c/mapservice/src-gen/setup.py
===================================================================
--- src/mapservice/src-gen/setup.py	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,39 +1,0 @@
-# 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: c/mapservice/src-gen/test-requirements.txt
===================================================================
--- src/mapservice/src-gen/test-requirements.txt	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,6 +1,0 @@
-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: c/mapservice/src-gen/tox.ini
===================================================================
--- src/mapservice/src-gen/tox.ini	(revision fc99a86593cd1f714584a9e470dc9a4cb4beba73)
+++ 	(revision )
@@ -1,10 +1,0 @@
-[tox]
-envlist = py3
-
-[testenv]
-deps=-r{toxinidir}/requirements.txt
-     -r{toxinidir}/test-requirements.txt
-
-commands=
-   nosetests \
-      []
