Index: debian/apt/gnuboat-bullseye.list
===================================================================
--- debian/apt/gnuboat-bullseye.list	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/apt/gnuboat-bullseye.list	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,2 @@
+# GNUBoat repository
+deb http://ftp.engsas.de/unstable/gnuboat/ bullseye main
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/changelog	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,200 @@
+gnuboat (0.5.100) testing; urgency=medium
+
+  * Python >=3.7 fixes
+  * Postgres fixes
+
+ -- Joachim Langenbach <joachim.langenbach@engsas.de>  Tue, 05 Jan 2021 17:00:00 +0100
+gnuboat (0.5.99) testing; urgency=medium
+
+  * New upstream version 0.5.99
+
+ -- Joachim Langenbach <joachim.langenbach@engsas.de>  Sat, 22 Aug 2020 17:30:00 +0200
+gnuboat (0.5.2) jessie; urgency=low
+
+  * Fixed NMEA0183 position format
+  * Added checksum fix feature to gnuboat-log-converter
+
+ -- EngSaS - Maintainer <info@engsas.de>  Mon, 30 Oct 2017 11:00:00 +0100
+gnuboat (0.5.1) jessie; urgency=low
+
+  * Fixed python error in dpt and temp logging
+  * Improved error handling in gpsdpoller.py
+  * Cleanup leaflet css files in webclient
+
+ -- EngSaS - Maintainer <info@engsas.de>  Sun, 24 Sep 2017 16:00:00 +0200
+gnuboat (0.5.0) jessie; urgency=low
+
+  * Fixed python print() and string.format() errors
+  * Switched to feature freezed branch 0.5 as upstream
+    source
+
+ -- EngSaS - Maintainer <info@engsas.de>  Fri, 22 Sep 2017 08:30:00 +0200
+gnuboat (0.4.15) jessie; urgency=low
+
+  * Fixed wrong format of latitude and longitude in NMEA log
+  * Improved gnuboat-log-converter (NMEA, CSV, GPX formats)
+  * Removed timeout from gpsd poller (which caused falling behind in reading
+    gpsd messages)
+  * Fixed webservice to handle timestamps in front of the nmea sentence
+
+ -- EngSaS - Maintainer <info@engsas.de>  Thu, 21 Sep 2017 14:00:00 +0200
+gnuboat (0.4.14) jessie; urgency=low
+
+  * Several fixes applied for webservice and webclient
+
+ -- EngSaS - Maintainer <info@engsas.de>  Thu, 24 Aug 2017 20:00:00 +0200
+gnuboat (0.4.13) jessie; urgency=low
+
+  * Merged new features from master:
+    * 3D rendering
+    * Fixed gnuboat daemon
+    * Added data generator to simulate rrd database input
+    * Added OpenCPN hint
+    * Added colored tracks to leaflet map
+
+ -- EngSaS - Maintainer <info@engsas.de>  Thu, 24 Aug 2017 18:00:00 +0200
+gnuboat (0.4.12) jessie; urgency=low
+
+  * Removed gnuboat-webserver php5-zip dependency, cause it seems to be
+    not needed on debian systems
+
+ -- EngSaS - Maintainer <info@engsas.de>  Thu, 10 Aug 2017 21:30:00 +0200
+gnuboat (0.4.11) jessie; urgency=low
+
+  * Fixed gnuboat-webserver.postinst script
+  * Merged improved webservice and webclient from master
+  * Fixed gnuboat daemon shutdown
+  * Logfile download is possible and daemon creates
+    one logfile per day
+
+ -- EngSaS - Maintainer <info@engsas.de>  Thu, 10 Aug 2017 12:30:00 +0200
+gnuboat (0.4.10) jessie; urgency=low
+
+  * Fixed python-gnuboat.prerm script
+  * Added gnuboat-webserver.postinst script to set correct permissions for map upload
+
+ -- EngSaS - Maintainer <info@engsas.de>  Wed, 09 Aug 2017 18:00:00 +0200
+gnuboat (0.4.9) jessie; urgency=low
+
+  * Fixed gnuboat-puppet postinst script
+  * Improved webclient and webserver
+  * Configures php.ini to upload files
+
+ -- EngSaS - Maintainer <info@engsas.de>  Wed, 09 Aug 2017 16:15:00 +0200
+gnuboat (0.4.8) jessie; urgency=low
+
+  * New webclient
+  * Fixes in gnuboat daemon
+  * Fixed python-gnuboat postinst and prerm script names
+
+ -- EngSaS - Maintainer <info@engsas.de>  Tue, 08 Aug 2017 11:30:00 +0200
+gnuboat (0.4.7) jessie; urgency=low
+
+  * Fixed pynmea dependency
+  * Fixed puppet config adaption to python-gnuboat
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 06 Aug 2017 17:15:00 +0200
+gnuboat (0.4.6) jessie; urgency=low
+
+  * refactored gnuboat daemon into a python module
+  * Added logging functionality to gnuboat daemon
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 06 Aug 2017 15:30:00 +0200
+gnuboat (0.4.5) jessie; urgency=low
+
+  * Added chrony as time server sourcing gpsd
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 01 Aug 2017 15:45:00 +0200
+gnuboat (0.4.4) jessie; urgency=low
+
+  * Fixed puppet configversion
+  * Fixed webservice config path error
+  * Fixed webclient main.js datatype check error
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Jul 2017 19:00:00 +0200
+gnuboat (0.4.3) jessie; urgency=low
+
+  * Fixed repository pinning
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Jul 2017 18:32:00 +0200
+gnuboat (0.4.2) jessie; urgency=low
+
+  * Fixed old puppet configversion
+  * Merged udev management for hostapd into puppet configuration from trunk
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 10:30:00 +0200
+gnuboat (0.4.1) jessie; urgency=low
+
+  * uncommented gnuboat repository in puppet, as it is managed by the
+    debian-release package now
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 09:30:00 +0200
+gnuboat (0.4.0) jessie; urgency=low
+
+  * Added gnuboat-jessie release package
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 25 Jul 2017 17:00:00 +0200
+gnuboat (0.3.4) jessie; urgency=low
+
+  * gnuboat-puppet: Fixed invalid default channel in hostapd puppet module
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 25 Jul 2017 15:00:00 +0200
+gnuboat (0.3.3) jessie; urgency=low
+
+  * gnuboat-puppet: Fixed typo in gnuboat_hiera.yaml
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 21:00:00 +0200
+gnuboat (0.3.2) jessie; urgency=low
+
+  * Merge puppet config fixes from master
+  * gnuboat.service fix from master
+  * gnuboat-puppet install locations fixed
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 20:20:00 +0200
+gnuboat (0.3.1) jessie; urgency=low
+
+  * Merged fixes for gnuboat daemon, webservice and webclient
+    from master
+  * Added gnuboat-puppet package
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 16:34:00 +0200
+gnuboat (0.3.0) jessie; urgency=low
+
+  * Merged fixes for gnuboat daemon, webservice and webclient
+    from master
+  * Incompatible rrd database schema to previous versions!
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 27 Apr 2017 12:04:00 +0200
+gnuboat (0.2.1) jessie; urgency=low
+
+  * Added php5-mysql dependency for gnuboat-server
+  * Merged improvements to gnuboat-server and gnuboat-webclient
+    from master
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 23 Apr 2017 12:54:00 +0200
+gnuboat (0.2.0) jessie; urgency=low
+
+  * Merged fixed gnuboat daemon from master
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 23 Apr 2017 11:41:00 +0200
+gnuboat (0.1.3) jessie; urgency=low
+
+  * gnuboat-server: Fixed service file handling
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 21 Apr 2017 14:15:00 +0200
+gnuboat (0.1.2) jessie; urgency=low
+
+  * gnuboat-server: Improved handling of data directory by
+    postinst and prerm scripts
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 21 Apr 2017 12:06:00 +0200
+gnuboat (0.1.1) jessie; urgency=low
+
+  * Packages are now build architecture independend
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 23 Aug 2016 07:15:00 +0000
+gnuboat (0.1) unstable; urgency=low
+
+  * Initial release
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 21 Jul 2016 15:00:00 +0000
Index: debian/compat
===================================================================
--- debian/compat	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/compat	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,1 @@
+10
Index: debian/control
===================================================================
--- debian/control	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/control	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,138 @@
+Source: gnuboat
+Section: science
+Priority: optional
+Maintainer: Joachim Langenbach <joachim.langenbach@engsas.de>
+Build-Depends: debhelper (>= 10~),
+    dh-python,
+    python3-all,
+    python3-all-dbg,
+    python3-setuptools,
+    python3-flask (>= 1.0),
+    python3-flask-sqlalchemy,
+    python3-flask-mail,
+    python3-flask-migrate,
+    python3-flask-cors,
+    python3-swagger-ui-bundle,
+    python3-connexion (>=2.6.0),
+    python3-celery,,
+    python3-shapely,
+    python3-geoalchemy2,
+    python3-sqlalchemy-utils,
+    python3-memcache,
+    memcached,
+    python3-rrdtool,
+    python3-nmea2,
+    python3-gdal,
+    python3-mercantile,
+    python3-pil,
+    python3-requests,
+    python3-progressbar,
+    python3-urllib3,
+    python3-gunicorn,
+    python3-sphinx,
+    nodejs
+Standards-Version: 4.5.0
+Homepage: https://trac.engsas.de/gnuboat
+Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-python
+Vcs-Git: https://svn.engsas.de/gnuboat -b debian/bullseye
+Vcs-Browser: https://trac.engsas.de/gnuboat/browser
+
+Package: python3-gnuboat
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends},
+         ${python3:Depends}
+Description: Measuring and analysing water depth
+ GNUBoat packages provides functions to measure,
+ analyse and view water depth data.
+ .
+ This package contains the common module for Python 3.
+
+Package: gnuboat-common
+Architecture: all
+Section: utils
+Depends: python3-gnuboat (>= ${binary:Version}),
+         ${python3:Depends},
+         ${misc:Depends}
+Description: Measuring and analysing water depth
+ GNUBoat packages provides functions to measure,
+ analyse and view water depth data.
+ .
+ This package contains the GNUBoat common utilities.
+
+Package: gnuboat-device
+Architecture: all
+Section: utils
+Depends: python3-gnuboat (>= ${binary:Version}),
+         gnuboat-common (>= ${binary:Version}),
+         ${python3:Depends},
+         ${misc:Depends}
+Recommends: gunicorn
+Description: Measuring and analysing water depth
+ GNUBoat packages provides functions to measure,
+ analyse and view water depth data.
+ .
+ This package contains the GNUBoat device utilities.
+
+Package: gnuboat-mapservice
+Architecture: all
+Section: utils
+Depends: python3-gnuboat (>= ${binary:Version}),
+         gnuboat-common (>= ${binary:Version}),
+         python3-psycopg2,
+         ${python3:Depends},
+         ${misc:Depends}
+Recommends: gunicorn,
+            celery,
+            rabbitmq-server,
+            postgresql-all,
+            postgis
+Description: Measuring and analysing water depth
+ GNUBoat packages provides functions to measure,
+ analyse and view water depth data.
+ .
+ This package contains the GNUBoat device utilities.
+
+Package: gnuboat-dev
+Architecture: all
+Section: libdevel
+Depends: python3-gnuboat (>= ${binary:Version}),
+         gnuboat-common (>= ${binary:Version}),
+         gnuboat-device (>= ${binary:Version}),
+         gnuboat-mapservice (>= ${binary:Version}),
+         gunicorn,
+         celery,
+         rabbitmq-server,
+         memcached,
+         ${python3:Depends},
+         ${misc:Depends}
+Description: Measuring and analysing water depth
+ GNUBoat packages provides functions to measure,
+ analyse and view water depth data.
+ .
+ This package contains the GNUBoat development utilities.
+
+Package: gnuboat-puppet
+Architecture: all
+Depends: ${misc:Depends}, puppet (>= 3.8)
+Description: GNUBoat puppet configuration environment
+ Contains a complete puppet environment to configure a device
+ as a gnu.boat server and webclient
+
+Package: gnuboat-config
+Architecture: all
+Section: admin
+Depends: ${misc:Depends}
+Description: Release packages for the GNUBoat repository
+ This package adds the gnuboat repository and the
+ needed trusted keyring to apt.
+ 
+Package: gnuboat-jessie
+Depends: gnuboat-config, ${misc:Depends}
+Architecture: all
+Priority: optional
+Section: oldlibs
+Description: transitional package
+ This is a transitional package. It can safely be removed.
Index: debian/copyright
===================================================================
--- debian/copyright	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/copyright	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,68 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gnuboat
+Source: https://svn.falaba.de/gnuboat
+
+Files: *
+Copyright: 2016 EngSaS - Engineering Solutions and Services Langenbach
+License: GPL-3+
+ 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+Files: src/puppetcode/environments/gnuboat/modules/apt
+       src/puppetcode/environments/gnuboat/modules/stdlib
+Copyright: Puppet
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache license 2.0 can be found in
+ /usr/share/common-licenses/Apache-2.0 file.
+
+Files: src/puppetcode/environments/gnuboat/modules/chrony
+Copyright: Michael Hampton
+License: GPL-3
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License version 3 as published by the Free Software Foundation.
+ .
+ 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
Index: debian/gnuboat-common.manpages
===================================================================
--- debian/gnuboat-common.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-common.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,3 @@
+doc/app/_build/man/gnuboat-log-analyser.1
+doc/app/_build/man/gnuboat-log-converter.1
+doc/app/_build/man/gnuboat-log-uploader.1
Index: debian/gnuboat-config.postinst
===================================================================
--- debian/gnuboat-config.postinst	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-config.postinst	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+# Set up any specific permissions needed...
+chmod '0644' '/etc/apt/trusted.gpg.d/gnuboat-jessie-keyring.gpg'
+
+#DEBHELPER#
+
+exit 0
+
Index: debian/gnuboat-dev.manpages
===================================================================
--- debian/gnuboat-dev.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-dev.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,4 @@
+doc/app/_build/man/gnuboat-data-generator.1
+doc/app/_build/man/gnuboat-dev-deviceservice.1
+doc/app/_build/man/gnuboat-dev-mapservice.1
+doc/app/_build/man/gnuboat-dev-mapservice-worker.1
Index: debian/gnuboat-device.manpages
===================================================================
--- debian/gnuboat-device.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-device.manpages	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,2 @@
+doc/app/_build/man/gnuboat-device-daemon.1
+doc/app/_build/man/gnuboat-splashscreen.1
Index: debian/gnuboat-puppet.lintian-overrides
===================================================================
--- debian/gnuboat-puppet.lintian-overrides	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-puppet.lintian-overrides	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,2 @@
+gnuboat-puppet binary: ruby-script-but-no-ruby-dep etc/puppet/environments/gnuboat/modules/*
+gnuboat-puppet binary: script-not-executable etc/puppet/environments/gnuboat/modules/*
Index: debian/gnuboat-puppet.postinst
===================================================================
--- debian/gnuboat-puppet.postinst	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/gnuboat-puppet.postinst	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -e
+
+# Run puppet, if wanted by the user (in upgrade case)
+# Not possible, as this apt instance locks the database
+# and therefore the puppet apt instance is hanging
+#if [ "$1" = configure ]; then
+#	if [ ! -z $2 ]; then
+		# it's an upgrade
+		# Source debconf library.
+#		. /usr/share/debconf/confmodule
+#
+#		db_get gnuboat-puppet/runpuppetagent
+#		if [ "$RET" = "true" ]; then
+#			puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/ || true
+#		fi
+#	fi
+#fi
+echo 'To apply the GNUBoat config to your system run "puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/"'
+
+#DEBHELPER#
+
+exit 0
Index: debian/python3-gnuboat.doc-base
===================================================================
--- debian/python3-gnuboat.doc-base	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/python3-gnuboat.doc-base	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,9 @@
+Document: gnuboat
+Title: GNUBoat README and manual
+Author: Joachim Langenbach <joachim.langenbach@engsas.de>
+Abstract: This manual describes the usage of gnuboat.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-gnuboat/html/index.html
+Files: /usr/share/doc/python3-gnuboat/html/*
Index: debian/rules
===================================================================
--- debian/rules	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/rules	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export PYBUILD_NAME=gnuboat
+
+%:
+	dh $@ --with systemd,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+
+	make -C doc/app clean
+	$(RM) -R .pytest_cache
+	$(RM) -R *.egg-info
+	$(RM) -R .tox
+
+	# clean openapi-generator-cli-*.jar
+	$(RM) buildhelpers/codegen/openapi-generator-cli-*.jar
+
+	# clean generated code from APIs
+# 	$(RM) -R src/mapservice-webclient/src-gen
+# 	$(RM) -R src/gnuboat/deviceservice
+# 	$(RM) -R src/gnuboat/mapservice_client
+
+	# clean mapservice-webclient
+	(cd src/mapservice-webclient; $(RM) -R dist node_modules)
+
+override_dh_auto_build:
+	# python3 buildhelpers/configure
+	dh_auto_build
+	PYTHONPATH=$(CURDIR):$(CURDIR)/doc/app make -C doc/app html man
+
+override_dh_auto_install:
+	dh_auto_install
+	
+	# Move files into gnuboat-commmon package
+	mkdir -p debian/gnuboat-common/usr/bin
+	#mkdir -p debian/gnuboat-common/usr/lib/python3.9/dist-packages/gnuboat
+	mv debian/python3-gnuboat/usr/bin/gnuboat-log-* debian/gnuboat-common/usr/bin
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/common debian/gnuboat-common/usr/lib/python3.9/dist-packages/gnuboat
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/mapservice_client debian/gnuboat-common/usr/lib/python3.9/dist-packages/gnuboat
+
+	# Move files into gnuboat-device package
+	mkdir -p debian/gnuboat-device/usr/bin
+	mkdir -p debian/gnuboat-device/lib/systemd/system
+	#mkdir -p debian/gnuboat-device/usr/lib/python3.9/dist-packages/gnuboat
+	mv debian/python3-gnuboat/usr/bin/gnuboat-device-daemon debian/gnuboat-device/usr/bin
+	mv debian/python3-gnuboat/usr/bin/gnuboat-splashscreen debian/gnuboat-device/usr/bin
+	cp src/gnuboat/device/config/gnuboat-device.service debian/gnuboat-device/lib/systemd/system
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/deviceservice debian/gnuboat-device/usr/lib/python3.9/dist-packages/gnuboat
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/deviceservice_impl debian/gnuboat-device/usr/lib/python3.9/dist-packages/gnuboat
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/device debian/gnuboat-device/usr/lib/python3.9/dist-packages/gnuboat
+	
+	# Move files into gnuboat-mapservice package
+	mkdir -p debian/gnuboat-mapservice/usr/bin
+	#mkdir -p debian/gnuboat-mapservice/usr/lib/python3.9/dist-packages/gnuboat
+	mv debian/python3-gnuboat/usr/bin/gdal2tiles-gnuboat.py debian/gnuboat-mapservice/usr/bin
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/mapservice debian/gnuboat-mapservice/usr/lib/python3.9/dist-packages/gnuboat
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/mapservice_impl debian/gnuboat-mapservice/usr/lib/python3.9/dist-packages/gnuboat
+	
+	# Move files into gnuboat-dev package
+	mkdir -p debian/gnuboat-dev/usr/bin
+	#mkdir -p debian/gnuboat-dev/usr/lib/python3.9/dist-packages/gnuboat
+	mv debian/python3-gnuboat/usr/bin/gnuboat-data-generator debian/gnuboat-dev/usr/bin
+	mv debian/python3-gnuboat/usr/bin/gnuboat-dev-deviceservice debian/gnuboat-dev/usr/bin
+	mv debian/python3-gnuboat/usr/bin/gnuboat-dev-mapservice debian/gnuboat-dev/usr/bin
+	mv debian/python3-gnuboat/usr/bin/gnuboat-dev-mapservice-worker debian/gnuboat-dev/usr/bin
+	#mv debian/python3-gnuboat/usr/lib/python3.9/dist-packages/gnuboat/samples debian/gnuboat-dev/usr/lib/python3.9/dist-packages/gnuboat
+
+	# Move files into gnuboat-puppet package
+	mkdir -p debian/gnuboat-puppet/etc/puppet
+	cp src/puppetcode/gnuboat_hiera.yaml debian/gnuboat-puppet/etc/puppet/
+	cp src/puppetcode/gnuboat_puppet.conf debian/gnuboat-puppet/etc/puppet/
+	cp -r src/puppetcode/environments debian/gnuboat-puppet/etc/puppet/
+	
+	# Move files into gnuboat-config package
+	mkdir -p debian/gnuboat-config/etc/apt/sources.list.d debian/gnuboat-config/etc/apt/trusted.gpg.d
+	cp debian/apt/gnuboat-bullseye.list debian/gnuboat-config/etc/apt/sources.list.d/
+	cp debian/apt/gnuboat-keyring.gpg debian/gnuboat-config/etc/apt/trusted.gpg.d/
+	
Index: debian/source/format
===================================================================
--- debian/source/format	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/source/format	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,1 @@
+3.0 (native)
Index: debian/source/lintian-overrides
===================================================================
--- debian/source/lintian-overrides	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ debian/source/lintian-overrides	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,12 @@
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/leaflet.js
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/jquery.validate.min.js
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/jquery-3.2.1.min.js
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/additional-methods.min.js
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/three.min.js
+# compressed, but full source, of the js script
+gnuboat source: source-is-missing src/webapp/webclient/lib/js/leaflet.hotline.min.js
Index: src/apt/sources.list.d/gnuboat-jessie.list
===================================================================
--- src/apt/sources.list.d/gnuboat-jessie.list	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/apt/sources.list.d/gnuboat-jessie.list	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,2 @@
+# GNUBoat jessie repository
+deb http://ftp.engsas.de/unstable/gnuboat/ jessie main
Index: src/gnuboat/deviceservice/__main__.py
===================================================================
--- src/gnuboat/deviceservice/__main__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/__main__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,22 @@
+#!/usr/bin/env python3
+
+import os
+
+from gnuboat.deviceservice_impl import (
+    app, application, setup_app, config_object
+)
+
+
+def main():
+    template_folder = os.path.join(os.path.dirname(__file__), 'templates')
+    setup_app(
+        'GNUBoat Device API', config_object, template_folder=template_folder
+    )
+    app.run(
+        host=application.config.get("HOST", "localhost"),
+        port=application.config.get("PORT", 8090)
+    )
+
+
+if __name__ == '__main__':
+    main()
Index: src/gnuboat/deviceservice/controllers/device_controller.py
===================================================================
--- src/gnuboat/deviceservice/controllers/device_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/controllers/device_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,40 @@
+import connexion
+import six
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice.models.instrument_data import InstrumentData  # noqa: E501
+from gnuboat.deviceservice import util
+from gnuboat.deviceservice_impl.controllers import device_controller
+
+
+def instrument_data_get():  # noqa: E501
+    """instrument_data_get
+
+    The current dates like speed, water depth, ... # noqa: E501
+
+
+    :rtype: InstrumentData
+    """
+    return device_controller.instrument_data_get()
+
+
+def shutdown():  # noqa: E501
+    """shutdown
+
+    Shutdown the device # noqa: E501
+
+
+    :rtype: None
+    """
+    return device_controller.shutdown()
+
+
+def track_get():  # noqa: E501
+    """track_get
+
+    The track with dates like speed, water depth, ... # noqa: E501
+
+
+    :rtype: Dict[str, object]
+    """
+    return device_controller.track_get()
Index: src/gnuboat/deviceservice/controllers/device_logs_controller.py
===================================================================
--- src/gnuboat/deviceservice/controllers/device_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/controllers/device_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,43 @@
+import connexion
+import six
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice import util
+from gnuboat.deviceservice_impl.controllers import device_logs_controller
+
+
+def logfiles_get():  # noqa: E501
+    """logfiles_get
+
+    List of local logfiles # noqa: E501
+
+
+    :rtype: List[str]
+    """
+    return device_logs_controller.logfiles_get()
+
+
+def logs_get(name):  # noqa: E501
+    """logs_get
+
+    Download local logfiles # noqa: E501
+
+    :param name: Logfiles to download
+    :type name: str
+
+    :rtype: str
+    """
+    return device_logs_controller.logs_get(name)
+
+
+def logs_track_get(name):  # noqa: E501
+    """logs_track_get
+
+    Get the logfile as a track # noqa: E501
+
+    :param name: Logfiles to download
+    :type name: str
+
+    :rtype: Dict[str, object]
+    """
+    return device_logs_controller.logs_track_get(name)
Index: src/gnuboat/deviceservice/controllers/device_maps_controller.py
===================================================================
--- src/gnuboat/deviceservice/controllers/device_maps_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/controllers/device_maps_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,49 @@
+import connexion
+import six
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice import util
+from gnuboat.deviceservice_impl.controllers import device_maps_controller
+
+
+def maps_get():  # noqa: E501
+    """maps_get
+
+    Get a list of currently installed maps # noqa: E501
+
+
+    :rtype: List[Dict]
+    """
+    return device_maps_controller.maps_get()
+
+
+def maps_tile_get(mapname, zoom, x_tile, y_tile):  # noqa: E501
+    """maps_tile_get
+
+    Get tiles of a map with help of it&#39;s tiles urls # noqa: E501
+
+    :param mapname: Map basename
+    :type mapname: str
+    :param zoom: Zoomlevel
+    :type zoom: int
+    :param x_tile: Number of the tile in x dimension
+    :type x_tile: int
+    :param y_tile: Number of the tile in y dimension
+    :type y_tile: int
+
+    :rtype: file
+    """
+    return device_maps_controller.maps_tile_get(mapname, zoom, x_tile, y_tile)
+
+
+def maps_upload(body):  # noqa: E501
+    """maps_upload
+
+    Upload a new mbtiles file as a new map # noqa: E501
+
+    :param body: 
+    :type body: str
+
+    :rtype: List[Dict]
+    """
+    return device_maps_controller.maps_upload(body)
Index: src/gnuboat/deviceservice/controllers/mapservice_controller.py
===================================================================
--- src/gnuboat/deviceservice/controllers/mapservice_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/controllers/mapservice_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,60 @@
+import connexion
+import six
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice.models.log_creation import LogCreation  # noqa: E501
+from gnuboat.deviceservice.models.mapservice_status import MapserviceStatus  # noqa: E501
+from gnuboat.deviceservice.models.water import Water  # noqa: E501
+from gnuboat.deviceservice import util
+from gnuboat.deviceservice_impl.controllers import mapservice_controller
+
+
+def log_create(log_creation=None):  # noqa: E501
+    """Add a new log
+
+    Upload log to the mapservice # noqa: E501
+
+    :param log_creation: 
+    :type log_creation: dict | bytes
+
+    :rtype: None
+    """
+    if connexion.request.is_json:
+        log_creation = LogCreation.from_dict(
+            connexion.request.get_json()
+        )  # noqa: E501
+    return mapservice_controller.log_create(log_creation=log_creation)
+
+
+def mapservice_status():  # noqa: E501
+    """mapservice_status
+
+    The status of the mapservice connection # noqa: E501
+
+
+    :rtype: MapserviceStatus
+    """
+    return mapservice_controller.mapservice_status()
+
+
+def waters_get(
+    name=None, order_by=None, offset=None, limit=None
+):  # noqa: E501
+    """Find own waters
+
+    Search waters on mapservice # noqa: E501
+
+    :param name: 
+    :type name: 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 mapservice_controller.waters_get(
+        name=name, order_by=order_by, offset=offset, limit=limit
+    )
Index: src/gnuboat/deviceservice/controllers/security_controller_.py
===================================================================
--- src/gnuboat/deviceservice/controllers/security_controller_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/controllers/security_controller_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,1 @@
+from typing import List
Index: src/gnuboat/deviceservice/encoder.py
===================================================================
--- src/gnuboat/deviceservice/encoder.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/encoder.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+from connexion.apps.flask_app import FlaskJSONEncoder
+import six
+
+from gnuboat.deviceservice.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/gnuboat/deviceservice/models/__init__.py
===================================================================
--- src/gnuboat/deviceservice/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,14 @@
+# coding: utf-8
+
+# flake8: noqa
+from __future__ import absolute_import
+# import models into model package
+from gnuboat.deviceservice.models.gauge import Gauge
+from gnuboat.deviceservice.models.gps_fix import GpsFix
+from gnuboat.deviceservice.models.http_error import HttpError
+from gnuboat.deviceservice.models.instrument_data import InstrumentData
+from gnuboat.deviceservice.models.log_creation import LogCreation
+from gnuboat.deviceservice.models.map import Map
+from gnuboat.deviceservice.models.mapservice_status import MapserviceStatus
+from gnuboat.deviceservice.models.order import Order
+from gnuboat.deviceservice.models.water import Water
Index: src/gnuboat/deviceservice/models/base_model_.py
===================================================================
--- src/gnuboat/deviceservice/models/base_model_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/base_model_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,72 @@
+import pprint
+
+import six
+import typing
+
+from gnuboat.deviceservice 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/gnuboat/deviceservice/models/gauge.py
===================================================================
--- src/gnuboat/deviceservice/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,200 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice import util
+
+
+class Gauge(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        gauge_id=None,
+        name=None,
+        location=None,
+        reference_water_level_gauge_height=None,
+        comment=None
+    ):  # noqa: E501
+        """Gauge - a model defined in OpenAPI
+
+        :param gauge_id: The gauge_id of this Gauge.  # noqa: E501
+        :type gauge_id: int
+        :param name: The name of this Gauge.  # noqa: E501
+        :type name: str
+        :param location: The location of this Gauge.  # noqa: E501
+        :type location: List[float]
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this Gauge.  # noqa: E501
+        :type reference_water_level_gauge_height: float
+        :param comment: The comment of this Gauge.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'gauge_id': int,
+            'name': str,
+            'location': List[float],
+            'reference_water_level_gauge_height': float,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'gauge_id':
+                'gaugeId',
+            'name':
+                'name',
+            'location':
+                'location',
+            'reference_water_level_gauge_height':
+                'referenceWaterLevelGaugeHeight',
+            'comment':
+                'comment'
+        }
+
+        self._gauge_id = gauge_id
+        self._name = name
+        self._location = location
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Gauge':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The Gauge of this Gauge.  # noqa: E501
+        :rtype: Gauge
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def gauge_id(self):
+        """Gets the gauge_id of this Gauge.
+
+
+        :return: The gauge_id of this Gauge.
+        :rtype: int
+        """
+        return self._gauge_id
+
+    @gauge_id.setter
+    def gauge_id(self, gauge_id):
+        """Sets the gauge_id of this Gauge.
+
+
+        :param gauge_id: The gauge_id of this Gauge.
+        :type gauge_id: int
+        """
+        if gauge_id is None:
+            raise ValueError(
+                "Invalid value for `gauge_id`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_id = gauge_id
+
+    @property
+    def name(self):
+        """Gets the name of this Gauge.
+
+
+        :return: The name of this Gauge.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Gauge.
+
+
+        :param name: The name of this Gauge.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def location(self):
+        """Gets the location of this Gauge.
+
+
+        :return: The location of this Gauge.
+        :rtype: List[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this Gauge.
+
+
+        :param location: The location of this Gauge.
+        :type location: List[float]
+        """
+        if location is None:
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this Gauge.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this Gauge.
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this Gauge.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this Gauge.
+        :type reference_water_level_gauge_height: float
+        """
+        if reference_water_level_gauge_height is None:
+            raise ValueError(
+                "Invalid value for `reference_water_level_gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this Gauge.
+
+
+        :return: The comment of this Gauge.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this Gauge.
+
+
+        :param comment: The comment of this Gauge.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/deviceservice/models/gps_fix.py
===================================================================
--- src/gnuboat/deviceservice/models/gps_fix.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/gps_fix.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,42 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice import util
+
+
+class GpsFix(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    _ = "-"
+    _2D = "2D"
+    _3D = "3D"
+
+    def __init__(self):  # noqa: E501
+        """GpsFix - a model defined in OpenAPI
+
+        """
+        self.openapi_types = {}
+
+        self.attribute_map = {}
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GpsFix':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The gpsFix of this GpsFix.  # noqa: E501
+        :rtype: GpsFix
+        """
+        return util.deserialize_model(dikt, cls)
Index: src/gnuboat/deviceservice/models/http_error.py
===================================================================
--- src/gnuboat/deviceservice/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,160 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice 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, type=None, title=None, detail=None, instance=None
+    ):  # noqa: E501
+        """HttpError - a model defined in OpenAPI
+
+        :param type: The type of this HttpError.  # noqa: E501
+        :type type: str
+        :param title: The title of this HttpError.  # noqa: E501
+        :type title: str
+        :param detail: The detail of this HttpError.  # noqa: E501
+        :type detail: str
+        :param instance: The instance of this HttpError.  # noqa: E501
+        :type instance: str
+        """
+        self.openapi_types = {
+            'type': str,
+            'title': str,
+            'detail': str,
+            'instance': str
+        }
+
+        self.attribute_map = {
+            'type': 'type',
+            'title': 'title',
+            'detail': 'detail',
+            'instance': 'instance'
+        }
+
+        self._type = type
+        self._title = title
+        self._detail = detail
+        self._instance = instance
+
+    @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 type(self):
+        """Gets the type of this HttpError.
+
+
+        :return: The type of this HttpError.
+        :rtype: str
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this HttpError.
+
+
+        :param type: The type of this HttpError.
+        :type type: str
+        """
+        if type is None:
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def title(self):
+        """Gets the title of this HttpError.
+
+
+        :return: The title of this HttpError.
+        :rtype: str
+        """
+        return self._title
+
+    @title.setter
+    def title(self, title):
+        """Sets the title of this HttpError.
+
+
+        :param title: The title of this HttpError.
+        :type title: str
+        """
+        if title is None:
+            raise ValueError(
+                "Invalid value for `title`, must not be `None`"
+            )  # noqa: E501
+
+        self._title = title
+
+    @property
+    def detail(self):
+        """Gets the detail of this HttpError.
+
+
+        :return: The detail of this HttpError.
+        :rtype: str
+        """
+        return self._detail
+
+    @detail.setter
+    def detail(self, detail):
+        """Sets the detail of this HttpError.
+
+
+        :param detail: The detail of this HttpError.
+        :type detail: str
+        """
+        if detail is None:
+            raise ValueError(
+                "Invalid value for `detail`, must not be `None`"
+            )  # noqa: E501
+
+        self._detail = detail
+
+    @property
+    def instance(self):
+        """Gets the instance of this HttpError.
+
+
+        :return: The instance of this HttpError.
+        :rtype: str
+        """
+        return self._instance
+
+    @instance.setter
+    def instance(self, instance):
+        """Sets the instance of this HttpError.
+
+
+        :param instance: The instance of this HttpError.
+        :type instance: str
+        """
+        if instance is None:
+            raise ValueError(
+                "Invalid value for `instance`, must not be `None`"
+            )  # noqa: E501
+
+        self._instance = instance
Index: src/gnuboat/deviceservice/models/instrument_data.py
===================================================================
--- src/gnuboat/deviceservice/models/instrument_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/instrument_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,260 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice.models.gps_fix import GpsFix
+from gnuboat.deviceservice import util
+
+from gnuboat.deviceservice.models.gps_fix import GpsFix  # noqa: E501
+
+
+class InstrumentData(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        speed_through_water=None,
+        speed_over_ground=None,
+        course_over_ground=None,
+        water_depth=None,
+        water_temperature=None,
+        position=None,
+        gps_fix=None
+    ):  # noqa: E501
+        """InstrumentData - a model defined in OpenAPI
+
+        :param speed_through_water: The speed_through_water of this InstrumentData.  # noqa: E501
+        :type speed_through_water: float
+        :param speed_over_ground: The speed_over_ground of this InstrumentData.  # noqa: E501
+        :type speed_over_ground: float
+        :param course_over_ground: The course_over_ground of this InstrumentData.  # noqa: E501
+        :type course_over_ground: float
+        :param water_depth: The water_depth of this InstrumentData.  # noqa: E501
+        :type water_depth: float
+        :param water_temperature: The water_temperature of this InstrumentData.  # noqa: E501
+        :type water_temperature: float
+        :param position: The position of this InstrumentData.  # noqa: E501
+        :type position: List[float]
+        :param gps_fix: The gps_fix of this InstrumentData.  # noqa: E501
+        :type gps_fix: GpsFix
+        """
+        self.openapi_types = {
+            'speed_through_water': float,
+            'speed_over_ground': float,
+            'course_over_ground': float,
+            'water_depth': float,
+            'water_temperature': float,
+            'position': List[float],
+            'gps_fix': GpsFix
+        }
+
+        self.attribute_map = {
+            'speed_through_water': 'speedThroughWater',
+            'speed_over_ground': 'speedOverGround',
+            'course_over_ground': 'courseOverGround',
+            'water_depth': 'waterDepth',
+            'water_temperature': 'waterTemperature',
+            'position': 'position',
+            'gps_fix': 'gpsFix'
+        }
+
+        self._speed_through_water = speed_through_water
+        self._speed_over_ground = speed_over_ground
+        self._course_over_ground = course_over_ground
+        self._water_depth = water_depth
+        self._water_temperature = water_temperature
+        self._position = position
+        self._gps_fix = gps_fix
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'InstrumentData':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The InstrumentData of this InstrumentData.  # noqa: E501
+        :rtype: InstrumentData
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def speed_through_water(self):
+        """Gets the speed_through_water of this InstrumentData.
+
+
+        :return: The speed_through_water of this InstrumentData.
+        :rtype: float
+        """
+        return self._speed_through_water
+
+    @speed_through_water.setter
+    def speed_through_water(self, speed_through_water):
+        """Sets the speed_through_water of this InstrumentData.
+
+
+        :param speed_through_water: The speed_through_water of this InstrumentData.
+        :type speed_through_water: float
+        """
+
+        self._speed_through_water = speed_through_water
+
+    @property
+    def speed_over_ground(self):
+        """Gets the speed_over_ground of this InstrumentData.
+
+
+        :return: The speed_over_ground of this InstrumentData.
+        :rtype: float
+        """
+        return self._speed_over_ground
+
+    @speed_over_ground.setter
+    def speed_over_ground(self, speed_over_ground):
+        """Sets the speed_over_ground of this InstrumentData.
+
+
+        :param speed_over_ground: The speed_over_ground of this InstrumentData.
+        :type speed_over_ground: float
+        """
+        if speed_over_ground is None:
+            raise ValueError(
+                "Invalid value for `speed_over_ground`, must not be `None`"
+            )  # noqa: E501
+
+        self._speed_over_ground = speed_over_ground
+
+    @property
+    def course_over_ground(self):
+        """Gets the course_over_ground of this InstrumentData.
+
+
+        :return: The course_over_ground of this InstrumentData.
+        :rtype: float
+        """
+        return self._course_over_ground
+
+    @course_over_ground.setter
+    def course_over_ground(self, course_over_ground):
+        """Sets the course_over_ground of this InstrumentData.
+
+
+        :param course_over_ground: The course_over_ground of this InstrumentData.
+        :type course_over_ground: float
+        """
+        if course_over_ground is None:
+            raise ValueError(
+                "Invalid value for `course_over_ground`, must not be `None`"
+            )  # noqa: E501
+        if course_over_ground is not None and course_over_ground > 360:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `course_over_ground`, must be a value less than or equal to `360`"
+            )  # noqa: E501
+        if course_over_ground is not None and course_over_ground < 0:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `course_over_ground`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._course_over_ground = course_over_ground
+
+    @property
+    def water_depth(self):
+        """Gets the water_depth of this InstrumentData.
+
+
+        :return: The water_depth of this InstrumentData.
+        :rtype: float
+        """
+        return self._water_depth
+
+    @water_depth.setter
+    def water_depth(self, water_depth):
+        """Sets the water_depth of this InstrumentData.
+
+
+        :param water_depth: The water_depth of this InstrumentData.
+        :type water_depth: float
+        """
+        if water_depth is None:
+            raise ValueError(
+                "Invalid value for `water_depth`, must not be `None`"
+            )  # noqa: E501
+
+        self._water_depth = water_depth
+
+    @property
+    def water_temperature(self):
+        """Gets the water_temperature of this InstrumentData.
+
+
+        :return: The water_temperature of this InstrumentData.
+        :rtype: float
+        """
+        return self._water_temperature
+
+    @water_temperature.setter
+    def water_temperature(self, water_temperature):
+        """Sets the water_temperature of this InstrumentData.
+
+
+        :param water_temperature: The water_temperature of this InstrumentData.
+        :type water_temperature: float
+        """
+
+        self._water_temperature = water_temperature
+
+    @property
+    def position(self):
+        """Gets the position of this InstrumentData.
+
+
+        :return: The position of this InstrumentData.
+        :rtype: List[float]
+        """
+        return self._position
+
+    @position.setter
+    def position(self, position):
+        """Sets the position of this InstrumentData.
+
+
+        :param position: The position of this InstrumentData.
+        :type position: List[float]
+        """
+        if position is None:
+            raise ValueError(
+                "Invalid value for `position`, must not be `None`"
+            )  # noqa: E501
+
+        self._position = position
+
+    @property
+    def gps_fix(self):
+        """Gets the gps_fix of this InstrumentData.
+
+
+        :return: The gps_fix of this InstrumentData.
+        :rtype: GpsFix
+        """
+        return self._gps_fix
+
+    @gps_fix.setter
+    def gps_fix(self, gps_fix):
+        """Sets the gps_fix of this InstrumentData.
+
+
+        :param gps_fix: The gps_fix of this InstrumentData.
+        :type gps_fix: GpsFix
+        """
+        if gps_fix is None:
+            raise ValueError(
+                "Invalid value for `gps_fix`, must not be `None`"
+            )  # noqa: E501
+
+        self._gps_fix = gps_fix
Index: src/gnuboat/deviceservice/models/log_creation.py
===================================================================
--- src/gnuboat/deviceservice/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,220 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice import util
+
+
+class LogCreation(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        water=None,
+        gauge=None,
+        gauge_height=None,
+        comment=None,
+        logfile=None,
+        delete=True
+    ):  # noqa: E501
+        """LogCreation - a model defined in OpenAPI
+
+        :param water: The water of this LogCreation.  # noqa: E501
+        :type water: int
+        :param gauge: The gauge of this LogCreation.  # noqa: E501
+        :type gauge: int
+        :param gauge_height: The gauge_height of this LogCreation.  # noqa: E501
+        :type gauge_height: float
+        :param comment: The comment of this LogCreation.  # noqa: E501
+        :type comment: str
+        :param logfile: The logfile of this LogCreation.  # noqa: E501
+        :type logfile: str
+        :param delete: The delete of this LogCreation.  # noqa: E501
+        :type delete: bool
+        """
+        self.openapi_types = {
+            'water': int,
+            'gauge': int,
+            'gauge_height': float,
+            'comment': str,
+            'logfile': str,
+            'delete': bool
+        }
+
+        self.attribute_map = {
+            'water': 'water',
+            'gauge': 'gauge',
+            'gauge_height': 'gaugeHeight',
+            'comment': 'comment',
+            'logfile': 'logfile',
+            'delete': 'delete'
+        }
+
+        self._water = water
+        self._gauge = gauge
+        self._gauge_height = gauge_height
+        self._comment = comment
+        self._logfile = logfile
+        self._delete = delete
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogCreation of this LogCreation.  # noqa: E501
+        :rtype: LogCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def water(self):
+        """Gets the water of this LogCreation.
+
+
+        :return: The water of this LogCreation.
+        :rtype: int
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this LogCreation.
+
+
+        :param water: The water of this LogCreation.
+        :type water: int
+        """
+        if water is None:
+            raise ValueError(
+                "Invalid value for `water`, must not be `None`"
+            )  # noqa: E501
+
+        self._water = water
+
+    @property
+    def gauge(self):
+        """Gets the gauge of this LogCreation.
+
+
+        :return: The gauge of this LogCreation.
+        :rtype: int
+        """
+        return self._gauge
+
+    @gauge.setter
+    def gauge(self, gauge):
+        """Sets the gauge of this LogCreation.
+
+
+        :param gauge: The gauge of this LogCreation.
+        :type gauge: int
+        """
+        if gauge is None:
+            raise ValueError(
+                "Invalid value for `gauge`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge = gauge
+
+    @property
+    def gauge_height(self):
+        """Gets the gauge_height of this LogCreation.
+
+
+        :return: The gauge_height of this LogCreation.
+        :rtype: float
+        """
+        return self._gauge_height
+
+    @gauge_height.setter
+    def gauge_height(self, gauge_height):
+        """Sets the gauge_height of this LogCreation.
+
+
+        :param gauge_height: The gauge_height of this LogCreation.
+        :type gauge_height: float
+        """
+        if gauge_height is None:
+            raise ValueError(
+                "Invalid value for `gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_height = gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this LogCreation.
+
+
+        :return: The comment of this LogCreation.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this LogCreation.
+
+
+        :param comment: The comment of this LogCreation.
+        :type comment: str
+        """
+
+        self._comment = comment
+
+    @property
+    def logfile(self):
+        """Gets the logfile of this LogCreation.
+
+
+        :return: The logfile of this LogCreation.
+        :rtype: str
+        """
+        return self._logfile
+
+    @logfile.setter
+    def logfile(self, logfile):
+        """Sets the logfile of this LogCreation.
+
+
+        :param logfile: The logfile of this LogCreation.
+        :type logfile: str
+        """
+        if logfile is None:
+            raise ValueError(
+                "Invalid value for `logfile`, must not be `None`"
+            )  # noqa: E501
+
+        self._logfile = logfile
+
+    @property
+    def delete(self):
+        """Gets the delete of this LogCreation.
+
+        Delete the logfile locally after successfull upload  # noqa: E501
+
+        :return: The delete of this LogCreation.
+        :rtype: bool
+        """
+        return self._delete
+
+    @delete.setter
+    def delete(self, delete):
+        """Sets the delete of this LogCreation.
+
+        Delete the logfile locally after successfull upload  # noqa: E501
+
+        :param delete: The delete of this LogCreation.
+        :type delete: bool
+        """
+
+        self._delete = delete
Index: src/gnuboat/deviceservice/models/map.py
===================================================================
--- src/gnuboat/deviceservice/models/map.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/map.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,500 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice import util
+
+
+class Map(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        tilejson=None,
+        name=None,
+        description=None,
+        version=None,
+        attribution=None,
+        template=None,
+        legend=None,
+        schema='xyz',
+        tiles=None,
+        grids=None,
+        data=None,
+        minzoom=0,
+        maxzoom=30,
+        bounds=None,
+        center=None
+    ):  # noqa: E501
+        """Map - a model defined in OpenAPI
+
+        :param tilejson: The tilejson of this Map.  # noqa: E501
+        :type tilejson: str
+        :param name: The name of this Map.  # noqa: E501
+        :type name: str
+        :param description: The description of this Map.  # noqa: E501
+        :type description: str
+        :param version: The version of this Map.  # noqa: E501
+        :type version: str
+        :param attribution: The attribution of this Map.  # noqa: E501
+        :type attribution: str
+        :param template: The template of this Map.  # noqa: E501
+        :type template: str
+        :param legend: The legend of this Map.  # noqa: E501
+        :type legend: str
+        :param schema: The schema of this Map.  # noqa: E501
+        :type schema: str
+        :param tiles: The tiles of this Map.  # noqa: E501
+        :type tiles: List[str]
+        :param grids: The grids of this Map.  # noqa: E501
+        :type grids: List[str]
+        :param data: The data of this Map.  # noqa: E501
+        :type data: List[str]
+        :param minzoom: The minzoom of this Map.  # noqa: E501
+        :type minzoom: int
+        :param maxzoom: The maxzoom of this Map.  # noqa: E501
+        :type maxzoom: int
+        :param bounds: The bounds of this Map.  # noqa: E501
+        :type bounds: List[float]
+        :param center: The center of this Map.  # noqa: E501
+        :type center: List[float]
+        """
+        self.openapi_types = {
+            'tilejson': str,
+            'name': str,
+            'description': str,
+            'version': str,
+            'attribution': str,
+            'template': str,
+            'legend': str,
+            'schema': str,
+            'tiles': List[str],
+            'grids': List[str],
+            'data': List[str],
+            'minzoom': int,
+            'maxzoom': int,
+            'bounds': List[float],
+            'center': List[float]
+        }
+
+        self.attribute_map = {
+            'tilejson': 'tilejson',
+            'name': 'name',
+            'description': 'description',
+            'version': 'version',
+            'attribution': 'attribution',
+            'template': 'template',
+            'legend': 'legend',
+            'schema': 'schema',
+            'tiles': 'tiles',
+            'grids': 'grids',
+            'data': 'data',
+            'minzoom': 'minzoom',
+            'maxzoom': 'maxzoom',
+            'bounds': 'bounds',
+            'center': 'center'
+        }
+
+        self._tilejson = tilejson
+        self._name = name
+        self._description = description
+        self._version = version
+        self._attribution = attribution
+        self._template = template
+        self._legend = legend
+        self._schema = schema
+        self._tiles = tiles
+        self._grids = grids
+        self._data = data
+        self._minzoom = minzoom
+        self._maxzoom = maxzoom
+        self._bounds = bounds
+        self._center = center
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Map':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The map of this Map.  # noqa: E501
+        :rtype: Map
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def tilejson(self):
+        """Gets the tilejson of this Map.
+
+        Version number of the tilejson spec (semver.org style)  # noqa: E501
+
+        :return: The tilejson of this Map.
+        :rtype: str
+        """
+        return self._tilejson
+
+    @tilejson.setter
+    def tilejson(self, tilejson):
+        """Sets the tilejson of this Map.
+
+        Version number of the tilejson spec (semver.org style)  # noqa: E501
+
+        :param tilejson: The tilejson of this Map.
+        :type tilejson: str
+        """
+        if tilejson is None:
+            raise ValueError(
+                "Invalid value for `tilejson`, must not be `None`"
+            )  # noqa: E501
+
+        self._tilejson = tilejson
+
+    @property
+    def name(self):
+        """Gets the name of this Map.
+
+        Name describing the tileset  # noqa: E501
+
+        :return: The name of this Map.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Map.
+
+        Name describing the tileset  # noqa: E501
+
+        :param name: The name of this Map.
+        :type name: str
+        """
+
+        self._name = name
+
+    @property
+    def description(self):
+        """Gets the description of this Map.
+
+
+        :return: The description of this Map.
+        :rtype: str
+        """
+        return self._description
+
+    @description.setter
+    def description(self, description):
+        """Sets the description of this Map.
+
+
+        :param description: The description of this Map.
+        :type description: str
+        """
+
+        self._description = description
+
+    @property
+    def version(self):
+        """Gets the version of this Map.
+
+        semver.org style version number of the map  # noqa: E501
+
+        :return: The version of this Map.
+        :rtype: str
+        """
+        return self._version
+
+    @version.setter
+    def version(self, version):
+        """Sets the version of this Map.
+
+        semver.org style version number of the map  # noqa: E501
+
+        :param version: The version of this Map.
+        :type version: str
+        """
+
+        self._version = version
+
+    @property
+    def attribution(self):
+        """Gets the attribution of this Map.
+
+        Attribution label of the map (could be interprated as HTML or literal text)  # noqa: E501
+
+        :return: The attribution of this Map.
+        :rtype: str
+        """
+        return self._attribution
+
+    @attribution.setter
+    def attribution(self, attribution):
+        """Sets the attribution of this Map.
+
+        Attribution label of the map (could be interprated as HTML or literal text)  # noqa: E501
+
+        :param attribution: The attribution of this Map.
+        :type attribution: str
+        """
+
+        self._attribution = attribution
+
+    @property
+    def template(self):
+        """Gets the template of this Map.
+
+        Mustache tamplate for format data from grids  # noqa: E501
+
+        :return: The template of this Map.
+        :rtype: str
+        """
+        return self._template
+
+    @template.setter
+    def template(self, template):
+        """Sets the template of this Map.
+
+        Mustache tamplate for format data from grids  # noqa: E501
+
+        :param template: The template of this Map.
+        :type template: str
+        """
+
+        self._template = template
+
+    @property
+    def legend(self):
+        """Gets the legend of this Map.
+
+        Legend to be displayed (could be treated as HTML or literal text)  # noqa: E501
+
+        :return: The legend of this Map.
+        :rtype: str
+        """
+        return self._legend
+
+    @legend.setter
+    def legend(self, legend):
+        """Sets the legend of this Map.
+
+        Legend to be displayed (could be treated as HTML or literal text)  # noqa: E501
+
+        :param legend: The legend of this Map.
+        :type legend: str
+        """
+
+        self._legend = legend
+
+    @property
+    def schema(self):
+        """Gets the schema of this Map.
+
+        The map tile scheme (xyz or tms). If missing xyz  # noqa: E501
+
+        :return: The schema of this Map.
+        :rtype: str
+        """
+        return self._schema
+
+    @schema.setter
+    def schema(self, schema):
+        """Sets the schema of this Map.
+
+        The map tile scheme (xyz or tms). If missing xyz  # noqa: E501
+
+        :param schema: The schema of this Map.
+        :type schema: str
+        """
+        allowed_values = ["xyz", "tms"]  # noqa: E501
+        if schema not in allowed_values:
+            raise ValueError(
+                "Invalid value for `schema` ({0}), must be one of {1}".format(
+                    schema, allowed_values
+                )
+            )
+
+        self._schema = schema
+
+    @property
+    def tiles(self):
+        """Gets the tiles of this Map.
+
+        Url to get the tiles from. It must be at least one endpoint. If more than one endpoints given, all must return the same information for the same url. {z}, {y}, {x} should be replaced by zoomleve, y tile number and x tile number.  # noqa: E501
+
+        :return: The tiles of this Map.
+        :rtype: List[str]
+        """
+        return self._tiles
+
+    @tiles.setter
+    def tiles(self, tiles):
+        """Sets the tiles of this Map.
+
+        Url to get the tiles from. It must be at least one endpoint. If more than one endpoints given, all must return the same information for the same url. {z}, {y}, {x} should be replaced by zoomleve, y tile number and x tile number.  # noqa: E501
+
+        :param tiles: The tiles of this Map.
+        :type tiles: List[str]
+        """
+        if tiles is None:
+            raise ValueError(
+                "Invalid value for `tiles`, must not be `None`"
+            )  # noqa: E501
+
+        self._tiles = tiles
+
+    @property
+    def grids(self):
+        """Gets the grids of this Map.
+
+        An array of interactivity endpoints  # noqa: E501
+
+        :return: The grids of this Map.
+        :rtype: List[str]
+        """
+        return self._grids
+
+    @grids.setter
+    def grids(self, grids):
+        """Sets the grids of this Map.
+
+        An array of interactivity endpoints  # noqa: E501
+
+        :param grids: The grids of this Map.
+        :type grids: List[str]
+        """
+
+        self._grids = grids
+
+    @property
+    def data(self):
+        """Gets the data of this Map.
+
+        An array of data files in GeoJSON format  # noqa: E501
+
+        :return: The data of this Map.
+        :rtype: List[str]
+        """
+        return self._data
+
+    @data.setter
+    def data(self, data):
+        """Sets the data of this Map.
+
+        An array of data files in GeoJSON format  # noqa: E501
+
+        :param data: The data of this Map.
+        :type data: List[str]
+        """
+
+        self._data = data
+
+    @property
+    def minzoom(self):
+        """Gets the minzoom of this Map.
+
+
+        :return: The minzoom of this Map.
+        :rtype: int
+        """
+        return self._minzoom
+
+    @minzoom.setter
+    def minzoom(self, minzoom):
+        """Sets the minzoom of this Map.
+
+
+        :param minzoom: The minzoom of this Map.
+        :type minzoom: int
+        """
+        if minzoom is not None and minzoom > 30:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `minzoom`, must be a value less than or equal to `30`"
+            )  # noqa: E501
+        if minzoom is not None and minzoom < 0:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `minzoom`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._minzoom = minzoom
+
+    @property
+    def maxzoom(self):
+        """Gets the maxzoom of this Map.
+
+
+        :return: The maxzoom of this Map.
+        :rtype: int
+        """
+        return self._maxzoom
+
+    @maxzoom.setter
+    def maxzoom(self, maxzoom):
+        """Sets the maxzoom of this Map.
+
+
+        :param maxzoom: The maxzoom of this Map.
+        :type maxzoom: int
+        """
+        if maxzoom is not None and maxzoom > 30:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `maxzoom`, must be a value less than or equal to `30`"
+            )  # noqa: E501
+        if maxzoom is not None and maxzoom < 0:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `maxzoom`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._maxzoom = maxzoom
+
+    @property
+    def bounds(self):
+        """Gets the bounds of this Map.
+
+        The maximum extent of available map tiles at any zoomlevel, in WGS84 reference system. The bounds are given in the order left, bottom, right, top  # noqa: E501
+
+        :return: The bounds of this Map.
+        :rtype: List[float]
+        """
+        return self._bounds
+
+    @bounds.setter
+    def bounds(self, bounds):
+        """Sets the bounds of this Map.
+
+        The maximum extent of available map tiles at any zoomlevel, in WGS84 reference system. The bounds are given in the order left, bottom, right, top  # noqa: E501
+
+        :param bounds: The bounds of this Map.
+        :type bounds: List[float]
+        """
+
+        self._bounds = bounds
+
+    @property
+    def center(self):
+        """Gets the center of this Map.
+
+        Initial values of longitude, latitude and zoomlevel  # noqa: E501
+
+        :return: The center of this Map.
+        :rtype: List[float]
+        """
+        return self._center
+
+    @center.setter
+    def center(self, center):
+        """Sets the center of this Map.
+
+        Initial values of longitude, latitude and zoomlevel  # noqa: E501
+
+        :param center: The center of this Map.
+        :type center: List[float]
+        """
+
+        self._center = center
Index: src/gnuboat/deviceservice/models/mapservice_status.py
===================================================================
--- src/gnuboat/deviceservice/models/mapservice_status.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/mapservice_status.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,44 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice import util
+
+
+class MapserviceStatus(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    NO_API_KEY = "NO_API_KEY"
+    NO_DEVICE = "NO_DEVICE"
+    DEVICE_NOT_FOUND = "DEVICE_NOT_FOUND"
+    NO_CONNECTION = "NO_CONNECTION"
+    OK = "OK"
+
+    def __init__(self):  # noqa: E501
+        """MapserviceStatus - a model defined in OpenAPI
+
+        """
+        self.openapi_types = {}
+
+        self.attribute_map = {}
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'MapserviceStatus':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The MapserviceStatus of this MapserviceStatus.  # noqa: E501
+        :rtype: MapserviceStatus
+        """
+        return util.deserialize_model(dikt, cls)
Index: src/gnuboat/deviceservice/models/order.py
===================================================================
--- src/gnuboat/deviceservice/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,41 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice 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/gnuboat/deviceservice/models/water.py
===================================================================
--- src/gnuboat/deviceservice/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,127 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.deviceservice.models.base_model_ import Model
+from gnuboat.deviceservice.models.gauge import Gauge
+from gnuboat.deviceservice import util
+
+from gnuboat.deviceservice.models.gauge import Gauge  # 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, 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 gauges: The gauges of this Water.  # noqa: E501
+        :type gauges: List[Gauge]
+        """
+        self.openapi_types = {
+            'water_id': int,
+            'name': str,
+            'gauges': List[Gauge]
+        }
+
+        self.attribute_map = {
+            'water_id': 'waterId',
+            'name': 'name',
+            'gauges': 'gauges'
+        }
+
+        self._water_id = water_id
+        self._name = name
+        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 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: src/gnuboat/deviceservice/openapi/openapi.yaml
===================================================================
--- src/gnuboat/deviceservice/openapi/openapi.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/openapi/openapi.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,988 @@
+openapi: 3.0.0
+info:
+  contact:
+    email: info@engsas.de
+    name: EngSaS - Engineering Solutions and Services Langenbach
+    url: http://www.engsas.com
+  description: API for GNUBoat devices
+  license:
+    name: GPL 3
+    url: https://www.gnu.org/licenses/gpl-3.0.en.html
+  title: GNUBoat Device API
+  version: v1
+servers:
+- description: The production API server
+  url: http://gnuboat/deviceservice/{version}
+  variables:
+    version:
+      default: v1
+- description: The local flask development url
+  url: http://localhost:8090/deviceservice/{version}
+  variables:
+    version:
+      default: v1
+tags:
+- description: All actions related to the device functionality
+  name: device
+- description: All actions for handling logs on the local device
+  name: deviceLogs
+- description: All actions for handlings maps on the local device
+  name: deviceMaps
+- description: All actions used to interact with a GNUBoat mapservice
+  name: mapservice
+paths:
+  /instrumentdata:
+    get:
+      description: The current dates like speed, water depth, ...
+      operationId: instrument_data_get
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/InstrumentData'
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - device
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_controller
+  /logfiles:
+    get:
+      description: List of local logfiles
+      operationId: logfiles_get
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Logfiles'
+          description: OK
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceLogs
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_logs_controller
+  /logfiles/{name}:
+    get:
+      description: Download local logfiles
+      operationId: logs_get
+      parameters:
+      - description: Logfiles to download
+        example: test-1.log,test-2.log
+        explode: true
+        in: path
+        name: name
+        required: true
+        schema:
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            text/plain:
+              schema:
+                type: string
+            application/zip:
+              schema:
+                format: byte
+                type: string
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceLogs
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_logs_controller
+  /logfiles/{name}/track:
+    get:
+      description: Get the logfile as a track
+      operationId: logs_track_get
+      parameters:
+      - description: Logfiles to download
+        example: test-1.log
+        explode: false
+        in: path
+        name: name
+        required: true
+        schema:
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Track'
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceLogs
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_logs_controller
+  /maps:
+    get:
+      description: Get a list of currently installed maps
+      operationId: maps_get
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Maps'
+          description: OK
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceMaps
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_maps_controller
+    post:
+      description: Upload a new mbtiles file as a new map
+      operationId: maps_upload
+      requestBody:
+        content:
+          application/octet-stream:
+            schema:
+              format: byte
+              type: string
+        required: true
+      responses:
+        "201":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Maps'
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "413":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Uploaded file is to large (413)
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceMaps
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_maps_controller
+  /maps/{mapname}/{zoom}/{x_tile}/{y_tile}.png:
+    get:
+      description: Get tiles of a map with help of it's tiles urls
+      operationId: maps_tile_get
+      parameters:
+      - description: Map basename
+        example: 7f92508911d84ff957acc862fd38bdafddbaae14ce508dda2aa6857e73863318
+        explode: false
+        in: path
+        name: mapname
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: Zoomlevel
+        example: 15
+        explode: false
+        in: path
+        name: zoom
+        required: true
+        schema:
+          type: integer
+        style: simple
+      - description: Number of the tile in x dimension
+        example: 17298
+        explode: false
+        in: path
+        name: x_tile
+        required: true
+        schema:
+          type: integer
+        style: simple
+      - description: Number of the tile in y dimension
+        example: 21435
+        explode: false
+        in: path
+        name: y_tile
+        required: true
+        schema:
+          type: integer
+        style: simple
+      responses:
+        "200":
+          content:
+            image/*:
+              schema:
+                format: binary
+                type: string
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - deviceMaps
+      x-xfail-test:
+        reason: URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_maps_controller
+  /mapservice:
+    get:
+      description: The status of the mapservice connection
+      operationId: mapservice_status
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/MapserviceStatus'
+          description: OK
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+        "502":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Gateway (HTTP Code 502)
+        "504":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/MapserviceStatus'
+          description: Mapservice has not answered and connection timed out
+      tags:
+      - mapservice
+      x-mapservice-required: true
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.mapservice_controller
+  /mapservice/log:
+    post:
+      description: Upload log to the mapservice
+      operationId: log_create
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/LogCreation'
+      responses:
+        "204":
+          description: Log created
+        "400":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "502":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Gateway (HTTP Code 502)
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      summary: Add a new log
+      tags:
+      - mapservice
+      x-mapservice-required: true
+      x-xfail-test:
+        reason: Timesout because of not running celery broker during the tests
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.mapservice_controller
+  /mapservice/waters:
+    get:
+      description: Search waters on mapservice
+      operationId: waters_get
+      parameters:
+      - example: Miss
+        explode: true
+        in: query
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/itemName'
+        style: form
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: order_by
+        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:
+              schema:
+                $ref: '#/components/schemas/Waters'
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "404":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+        "502":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Gateway (HTTP Code 502)
+        "504":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/MapserviceStatus'
+          description: Mapservice has not answered and connection timed out
+      summary: Find own waters
+      tags:
+      - mapservice
+      x-mapservice-required: true
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.mapservice_controller
+  /shutdown:
+    get:
+      description: Shutdown the device
+      operationId: shutdown
+      responses:
+        "204":
+          description: Shutdown initiated
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - device
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_controller
+  /track:
+    get:
+      description: The track with dates like speed, water depth, ...
+      operationId: track_get
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Track'
+          description: OK
+        "500":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      tags:
+      - device
+      x-openapi-router-controller: gnuboat.deviceservice.controllers.device_controller
+components:
+  parameters:
+    orderBy:
+      description: 'Order by field: name'
+      explode: true
+      in: query
+      name: order_by
+      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/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Bad Request (400)
+    Unauthorized:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Unauthorized (401) acces to resource
+    NotFound:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Item with given Id not found
+    PayloadToLarge:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Uploaded file is to large (413)
+    InternalServerError:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Internal Server Error (HTTP Code 500)
+    BadGatewayError:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Bad Gateway (HTTP Code 502)
+  schemas:
+    point:
+      items:
+        type: number
+      maxItems: 2
+      minItems: 2
+      title: Point of type [longitude, latitude] in decimal degrees
+      type: array
+    speedOverGround:
+      format: float
+      title: Speed over Ground in m/s
+      type: number
+    speedThroughWater:
+      format: float
+      title: Speed through the water in m/s
+      type: number
+    courseOverGround:
+      format: float
+      maximum: 360
+      minimum: 0
+      title: Course over the ground in degree
+      type: number
+    waterDepth:
+      format: float
+      title: Water depth in m
+      type: number
+    waterTemperature:
+      format: float
+      title: Water temperature in degree celsius
+      type: number
+    gpsFix:
+      enum:
+      - '-'
+      - 2D
+      - 3D
+      title: Status of GPS fix
+      type: string
+    InstrumentData:
+      example:
+        speedThroughWater: 0.8008282
+        courseOverGround: 52.769268
+        speedOverGround: 6.0274563
+        waterDepth: 5.962134
+        waterTemperature: 5.637377
+        position:
+        - 2.3021358869347655
+        - 2.3021358869347655
+      properties:
+        speedThroughWater:
+          format: float
+          title: Speed through the water in m/s
+          type: number
+        speedOverGround:
+          format: float
+          title: Speed over Ground in m/s
+          type: number
+        courseOverGround:
+          format: float
+          maximum: 360
+          minimum: 0
+          title: Course over the ground in degree
+          type: number
+        waterDepth:
+          format: float
+          title: Water depth in m
+          type: number
+        waterTemperature:
+          format: float
+          title: Water temperature in degree celsius
+          type: number
+        position:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude] in decimal degrees
+          type: array
+        gpsFix:
+          $ref: '#/components/schemas/gpsFix'
+      required:
+      - courseOverGround
+      - gpsFix
+      - position
+      - speedOverGround
+      - waterDepth
+      title: Data displayed in the instrument section
+      type: object
+    Track:
+      additionalProperties:
+        properties:
+          code:
+            format: int64
+            type: integer
+          text:
+            $ref: '#/components/schemas/InstrumentData'
+        type: object
+      title: List of InstrumentData sorted by time
+      type: object
+    Logfile:
+      title: A logfile
+      type: string
+    Logfiles:
+      items:
+        $ref: '#/components/schemas/Logfile'
+      title: Array of logfiles
+      type: array
+    map:
+      description: Following the tilejson specification https://github.com/mapbox
+        Version 2.0.0
+      example:
+        template: template
+        schema: xyz
+        data:
+        - data
+        - data
+        legend: legend
+        center:
+        - 5.962134
+        - 5.962134
+        description: description
+        version: version
+        grids:
+        - grids
+        - grids
+        tiles:
+        - tiles
+        - tiles
+        tilejson: tilejson
+        maxzoom: 18
+        name: name
+        attribution: attribution
+        bounds:
+        - 1.4658129
+        - 1.4658129
+        minzoom: 2
+      properties:
+        tilejson:
+          description: Version number of the tilejson spec (semver.org style)
+          type: string
+        name:
+          description: Name describing the tileset
+          type: string
+        description:
+          type: string
+        version:
+          description: semver.org style version number of the map
+          type: string
+        attribution:
+          description: Attribution label of the map (could be interprated as HTML
+            or literal text)
+          type: string
+        template:
+          description: Mustache tamplate for format data from grids
+          type: string
+        legend:
+          description: Legend to be displayed (could be treated as HTML or literal
+            text)
+          type: string
+        schema:
+          default: xyz
+          description: The map tile scheme (xyz or tms). If missing xyz
+          enum:
+          - xyz
+          - tms
+          type: string
+        tiles:
+          description: Url to get the tiles from. It must be at least one endpoint.
+            If more than one endpoints given, all must return the same information
+            for the same url. {z}, {y}, {x} should be replaced by zoomleve, y tile
+            number and x tile number.
+          items:
+            minItems: 1
+            type: string
+          type: array
+        grids:
+          description: An array of interactivity endpoints
+          items:
+            type: string
+          type: array
+        data:
+          description: An array of data files in GeoJSON format
+          items:
+            type: string
+          type: array
+        minzoom:
+          default: 0
+          maximum: 30
+          minimum: 0
+          type: integer
+        maxzoom:
+          default: 30
+          maximum: 30
+          minimum: 0
+          type: integer
+        bounds:
+          description: The maximum extent of available map tiles at any zoomlevel,
+            in WGS84 reference system. The bounds are given in the order left, bottom,
+            right, top
+          items:
+            format: float
+            maxItems: 4
+            minItems: 4
+            type: number
+          type: array
+        center:
+          description: Initial values of longitude, latitude and zoomlevel
+          items:
+            format: float
+            maxItems: 3
+            minItems: 3
+            type: number
+          type: array
+      required:
+      - tilejson
+      - tiles
+      title: Represents a Map
+      type: object
+    Maps:
+      items:
+        $ref: '#/components/schemas/map'
+      title: List of Map
+      type: array
+    MapserviceStatus:
+      enum:
+      - NO_API_KEY
+      - NO_DEVICE
+      - DEVICE_NOT_FOUND
+      - NO_CONNECTION
+      - OK
+      type: string
+    itemName:
+      title: Item Name
+      type: string
+    itemId:
+      format: int64
+      title: Item ID
+      type: integer
+    comment:
+      title: Comment of an item
+      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
+    Water:
+      example:
+        name: name
+        gauges:
+        - name: name
+          location:
+          - 1.4658129805029452
+          - 1.4658129805029452
+          comment: comment
+          gaugeId: 6
+          referenceWaterLevelGaugeHeight: 5.962134
+        - name: name
+          location:
+          - 1.4658129805029452
+          - 1.4658129805029452
+          comment: comment
+          gaugeId: 6
+          referenceWaterLevelGaugeHeight: 5.962134
+        waterId: 0
+      properties:
+        waterId:
+          format: int64
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        gauges:
+          items:
+            $ref: '#/components/schemas/Gauge'
+          title: Gauges
+          type: array
+      required:
+      - name
+      - waterId
+      title: Water
+      type: object
+    Waters:
+      items:
+        $ref: '#/components/schemas/Water'
+      title: A list of Water
+      type: array
+    ReferenceWaterLevelGaugeHeight:
+      description: The gauge height (stage) for reference water level. The reference
+        water level is the water level, the depth on the map is shown at. Therefore,
+        the water depth of a LogEntry is transformed to this referenceWaterLevel,
+        with help of the gaugeHeight of the Log related to the LogEntry.
+      format: float
+      title: Gauge Height of reference water level of a Gauge
+      type: number
+    GaugeHeight:
+      format: float
+      title: Gauge height (stage) of the gauge, at the time of measuring
+      type: number
+    Gauge:
+      example:
+        name: name
+        location:
+        - 1.4658129805029452
+        - 1.4658129805029452
+        comment: comment
+        gaugeId: 6
+        referenceWaterLevelGaugeHeight: 5.962134
+      properties:
+        gaugeId:
+          format: int64
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        location:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude] in decimal degrees
+          type: array
+        referenceWaterLevelGaugeHeight:
+          description: The gauge height (stage) for reference water level. The reference
+            water level is the water level, the depth on the map is shown at. Therefore,
+            the water depth of a LogEntry is transformed to this referenceWaterLevel,
+            with help of the gaugeHeight of the Log related to the LogEntry.
+          format: float
+          title: Gauge Height of reference water level of a Gauge
+          type: number
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - gaugeId
+      - location
+      - name
+      - referenceWaterLevelGaugeHeight
+      title: Gauge
+      type: object
+    Gauges:
+      items:
+        $ref: '#/components/schemas/Gauge'
+      title: Gauges
+      type: array
+    LogCreation:
+      example:
+        water: 1
+        gauge: 1
+        gaugeHeight: 66
+        logfile: test-1.log
+        comment: LogCreation for auto generated tests
+      properties:
+        water:
+          format: int64
+          title: Item ID
+          type: integer
+        gauge:
+          format: int64
+          title: Item ID
+          type: integer
+        gaugeHeight:
+          format: float
+          title: Gauge height (stage) of the gauge, at the time of measuring
+          type: number
+        comment:
+          title: Comment of an item
+          type: string
+        logfile:
+          title: A logfile
+          type: string
+        delete:
+          default: true
+          description: Delete the logfile locally after successfull upload
+          type: boolean
+      required:
+      - gauge
+      - gaugeHeight
+      - logfile
+      - water
+      title: Log for Creation
+      type: object
+    HttpError:
+      properties:
+        type:
+          type: string
+        title:
+          type: string
+        detail:
+          type: string
+        instance:
+          type: string
+      required:
+      - detail
+      - instance
+      - title
+      - type
+      title: HTTP Error Response Object
+      type: object
Index: src/gnuboat/deviceservice/test/conftest.py
===================================================================
--- src/gnuboat/deviceservice/test/conftest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/test/conftest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,117 @@
+'''
+    Copyright (C) 2020 EngSaS - 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 pytest
+import subprocess
+import socket
+from urllib.parse import urlparse
+from werkzeug.utils import import_string
+import os
+import time
+
+from gnuboat.deviceservice_impl.tests import create_app, setup, teardown
+from gnuboat.common.webservice.config import (
+    config_get
+)
+
+
+class TestCaseDummy:
+    pass
+
+
+@pytest.fixture(scope="module")
+def app():
+    testcase = TestCaseDummy()
+    connexion_app = create_app(testcase)
+    app = connexion_app.app
+    # LIVESERVER_PORT=8943
+    setup(app, testcase)
+    yield app
+    teardown(app, testcase)
+    del app
+    del connexion_app
+
+
+@pytest.fixture(scope="module")
+def mapservice(app):
+    print('MAPSERVICE Starting')
+    mapservice_url = config_get(app.config, 'MAPSERVICE', None)
+    if mapservice_url is None:
+        raise LookupError('MAPSERVICE not configured')
+    fragments = urlparse(mapservice_url)
+    if fragments.hostname is None:
+        raise LookupError('MAPSERVICE host not found')
+    if fragments.port is None:
+        raise LookupError('MAPSERVICE port not found')
+
+    mapservice_config = 'Testing'
+    mapservice_config_object = import_string(
+        'gnuboat.mapservice_impl.config.{}Config'.format(mapservice_config)
+    )
+    database_uri = config_get(mapservice_config_object,
+                              'SQLALCHEMY_DATABASE_URI', None)
+    if database_uri is None:
+        raise LookupError(
+            'SQLALCHEMY_DATABASE_URI not in MAPSERVICE Testing config')
+    database_uri = database_uri.replace('sqlite:///', '')
+    if os.path.isfile(database_uri):
+        os.remove(database_uri)
+
+    mapservice_env = dict(os.environ)
+    mapservice_env['FLASK_ENV'] = mapservice_config
+    # the timeout is needed, because of the spatiallite table creation,
+    # which is pretty slow
+    mapservice_process = subprocess.Popen(
+        [
+            'gnuboat-dev-mapservice',
+            '--bind={}:{}'.format(fragments.hostname, fragments.port),
+            '--log-level=debug'
+        ],
+        env=mapservice_env, shell=True,
+        stdout=subprocess.PIPE, stderr=subprocess.PIPE
+    )
+    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+    # we need to give mapservice a chance to start before calling
+    # connect_ex
+    time.sleep(2)
+    s.settimeout(10)
+    if s.connect_ex((fragments.hostname, int(fragments.port))) == 0:
+        print('MAPSERVICE running at {}:{}'.format(
+            fragments.hostname, fragments.port))
+        s.shutdown(socket.SHUT_RDWR)
+    else:
+        print('MAPSERVICE Failed to start at {}:{}'.format(
+            fragments.hostname, fragments.port))
+        mapservice_process.terminate()
+        (stdout_data, stderr_data) = \
+            mapservice_process.communicate(timeout=10)
+        if stdout_data:
+            stdout_data = stdout_data.decode('utf-8')
+            print('MAPSERVICE STDOUT: {}'.format(stdout_data))
+        if stderr_data:
+            stderr_data = stderr_data.decode('utf-8')
+            print('MAPSERVICE STDERR: {}'.format(stderr_data))
+        mapservice_process = None
+    yield True
+    mapservice_process.terminate()
+    (stdout_data, stderr_data) = \
+        mapservice_process.communicate(timeout=10)
+    if stdout_data:
+        stdout_data = stdout_data.decode('utf-8')
+        print('MAPSERVICE STDOUT: {}'.format(stdout_data))
+    if stderr_data:
+        stderr_data = stderr_data.decode('utf-8')
+        print('MAPSERVICE STDERR: {}'.format(stderr_data))
Index: src/gnuboat/deviceservice/test/test_device_controller.py
===================================================================
--- src/gnuboat/deviceservice/test/test_device_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/test/test_device_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,69 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice.models.instrument_data import InstrumentData  # noqa: E501
+
+
+# device_controller integration test stubs
+def test_instrument_data_get(client):
+    """Test case for instrument_data_get
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/instrumentdata', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
+
+
+def test_shutdown(client):
+    """Test case for shutdown
+    
+    """
+    headers = {
+        'Accept': 'application/problem+json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/shutdown', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 204, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 500
+
+
+def test_track_get(client):
+    """Test case for track_get
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/track', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 500
Index: src/gnuboat/deviceservice/test/test_device_logs_controller.py
===================================================================
--- src/gnuboat/deviceservice/test/test_device_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/test/test_device_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,75 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+
+
+# device_logs_controller integration test stubs
+def test_logfiles_get(client):
+    """Test case for logfiles_get
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/logfiles', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 500
+
+
+def test_logs_get(client):
+    """Test case for logs_get
+    
+    """
+    headers = {
+        'Accept': 'application/problem+json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/logfiles/{name}'.format(
+            name='test-1.log,test-2.log'
+        ),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
+
+
+def test_logs_track_get(client):
+    """Test case for logs_track_get
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/logfiles/{name}/track'.format(name='test-1.log'),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
Index: src/gnuboat/deviceservice/test/test_device_maps_controller.py
===================================================================
--- src/gnuboat/deviceservice/test/test_device_maps_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/test/test_device_maps_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,92 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+
+
+# device_maps_controller integration test stubs
+def test_maps_get(client):
+    """Test case for maps_get
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/maps', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 500
+
+
+@pytest.mark.xfail(
+    reason=(
+        'Reason: '
+        'URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator'
+    )
+)  # noqa: E501
+def test_maps_tile_get(client):
+    """Test case for maps_tile_get
+    
+    """
+    headers = {
+        'Accept': 'application/problem+json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/maps/{mapname}/{zoom}/{x_tile}/{y_tile_pn}'.format(
+            mapname=
+            '7f92508911d84ff957acc862fd38bdafddbaae14ce508dda2aa6857e73863318',
+            zoom='15',
+            x_tile='17298',
+            y_tile='21435'
+        ),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
+
+
+@pytest.mark.skip(reason="application/octet-stream not supported by Connexion")
+def test_maps_upload(client):
+    """Test case for maps_upload
+    
+    """
+    body = None
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/octet-stream',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/maps',
+        method='POST',
+        headers=headers,
+        data=json.dumps(body),
+        content_type='application/octet-stream'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 413
+    # Skipping responses with status code 500
Index: src/gnuboat/deviceservice/test/test_mapservice_controller.py
===================================================================
--- src/gnuboat/deviceservice/test/test_mapservice_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/test/test_mapservice_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,104 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.deviceservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.deviceservice.models.log_creation import LogCreation  # noqa: E501
+from gnuboat.deviceservice.models.mapservice_status import MapserviceStatus  # noqa: E501
+from gnuboat.deviceservice.models.water import Water  # noqa: E501
+
+
+# mapservice_controller integration test stubs
+@pytest.mark.xfail(
+    reason=(
+        'Reason: '
+        'Timesout because of not running celery broker during the tests'
+    )
+)  # noqa: E501
+def test_log_create(mapservice, client):
+    """Test case for log_create
+    Add a new log
+    """
+    log_creation = {
+        "water": 1,
+        "gauge": 1,
+        "gaugeHeight": 66,
+        "logfile": "test-1.log",
+        "comment": "LogCreation for auto generated tests"
+    }
+    headers = {
+        'Accept': 'application/problem+json',
+        'Content-Type': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/mapservice/log',
+        method='POST',
+        headers=headers,
+        data=json.dumps(log_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 204, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 404
+    # Skipping responses with status code 502
+    # Skipping responses with status code 500
+
+
+def test_mapservice_status(mapservice, client):
+    """Test case for mapservice_status
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/mapservice', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 500
+    # Skipping responses with status code 502
+    # Skipping responses with status code 504
+
+
+def test_waters_get(mapservice, client):
+    """Test case for waters_get
+    Find own waters
+    """
+    query_string = [('name', 'Miss'), ('order_by', 'name'), ('offset', '0'),
+                    ('limit', '10')]
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/deviceservice/v1/mapservice/waters',
+        method='GET',
+        headers=headers,
+        query_string=query_string
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
+    # Skipping responses with status code 502
+    # Skipping responses with status code 504
Index: src/gnuboat/deviceservice/typing_utils.py
===================================================================
--- src/gnuboat/deviceservice/typing_utils.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/typing_utils.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,32 @@
+# coding: utf-8
+
+import sys
+
+if sys.version_info < (3, 7):
+    import typing
+
+    def is_generic(klass):
+        """ Determine whether klass is a generic class """
+        return type(klass) == typing.GenericMeta
+
+    def is_dict(klass):
+        """ Determine whether klass is a Dict """
+        return klass.__extra__ == dict
+
+    def is_list(klass):
+        """ Determine whether klass is a List """
+        return klass.__extra__ == list
+
+else:
+
+    def is_generic(klass):
+        """ Determine whether klass is a generic class """
+        return hasattr(klass, '__origin__')
+
+    def is_dict(klass):
+        """ Determine whether klass is a Dict """
+        return klass.__origin__ == dict
+
+    def is_list(klass):
+        """ Determine whether klass is a List """
+        return klass.__origin__ == list
Index: src/gnuboat/deviceservice/util.py
===================================================================
--- src/gnuboat/deviceservice/util.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/deviceservice/util.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,140 @@
+import datetime
+
+import six
+import typing
+from gnuboat.deviceservice import typing_utils
+
+
+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, bytearray):
+        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 typing_utils.is_generic(klass):
+        if typing_utils.is_list(klass):
+            return _deserialize_list(data, klass.__args__[0])
+        if typing_utils.is_dict(klass):
+            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/gnuboat/mapservice/__main__.py
===================================================================
--- src/gnuboat/mapservice/__main__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/__main__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,24 @@
+#!/usr/bin/env python3
+
+import os
+
+from gnuboat.mapservice_impl import (
+    app, application, setup_app, config_object
+)
+
+
+def main():
+    template_folder = os.path.join(os.path.dirname(__file__), 'templates')
+    setup_app(
+        'GNUBoat Mapservice API',
+        config_object,
+        template_folder=template_folder
+    )
+    app.run(
+        host=application.config.get("HOST", "localhost"),
+        port=application.config.get("PORT", 8080)
+    )
+
+
+if __name__ == '__main__':
+    main()
Index: src/gnuboat/mapservice/controllers/devices_controller.py
===================================================================
--- src/gnuboat/mapservice/controllers/devices_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/devices_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,74 @@
+import connexion
+import six
+
+from gnuboat.mapservice.models.device import Device  # noqa: E501
+from gnuboat.mapservice.models.device_creation import DeviceCreation  # noqa: E501
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice import util
+from gnuboat.mapservice_impl.controllers import devices_controller
+
+
+def devices_create(device_creation=None):  # noqa: E501
+    """Add a new device
+
+    Adds a new device to the database # noqa: E501
+
+    :param device_creation: 
+    :type device_creation: dict | bytes
+
+    :rtype: Device
+    """
+    if connexion.request.is_json:
+        device_creation = DeviceCreation.from_dict(
+            connexion.request.get_json()
+        )  # noqa: E501
+    return devices_controller.devices_create(device_creation=device_creation)
+
+
+def devices_device_delete(id):  # noqa: E501
+    """Deletes device
+
+    Deletes given device and returns remaining devices of the user # noqa: E501
+
+    :param id: Item id
+    :type id: int
+
+    :rtype: List[Device]
+    """
+    return devices_controller.devices_device_delete(id)
+
+
+def devices_get(
+    name=None, order_by=None, offset=None, limit=None
+):  # noqa: E501
+    """Find devices by id
+
+    Returns all devices of user # noqa: E501
+
+    :param name: 
+    :type name: 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[Device]
+    """
+    return devices_controller.devices_get(
+        name=name, order_by=order_by, offset=offset, limit=limit
+    )
+
+
+def devices_get_by_id(id):  # noqa: E501
+    """Represents a device
+
+    Returns the device identified by id # noqa: E501
+
+    :param id: Item ID
+    :type id: int
+
+    :rtype: Device
+    """
+    return devices_controller.devices_get_by_id(id)
Index: src/gnuboat/mapservice/controllers/logs_controller.py
===================================================================
--- src/gnuboat/mapservice/controllers/logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,90 @@
+import connexion
+import six
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.log import Log  # noqa: E501
+from gnuboat.mapservice.models.log_creation import LogCreation  # noqa: E501
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+from gnuboat.mapservice import util
+from gnuboat.mapservice_impl.controllers import logs_controller
+
+
+def logs_get(
+    submitter=None, order_by=None, offset=None, limit=None
+):  # noqa: E501
+    """Find logs by
+
+    Returns all log metadata # noqa: E501
+
+    :param submitter: 
+    :type submitter: 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[LogMetaData]
+    """
+    return logs_controller.logs_get(
+        submitter=submitter, order_by=order_by, offset=offset, limit=limit
+    )
+
+
+def logs_log_create(log_creation=None):  # noqa: E501
+    """Add a new log
+
+    Creates a new log from given meta data. The log entries itself, must be uploaded per /logs/{log_id} # noqa: E501
+
+    :param log_creation: 
+    :type log_creation: dict | bytes
+
+    :rtype: LogMetaData
+    """
+    if connexion.request.is_json:
+        log_creation = LogCreation.from_dict(
+            connexion.request.get_json()
+        )  # noqa: E501
+    return logs_controller.logs_log_create(log_creation=log_creation)
+
+
+def logs_log_delete(log_id):  # noqa: E501
+    """Deletes log
+
+    Deletes given log and returns remaining logs of the gauge # noqa: E501
+
+    :param log_id: Log ID
+    :type log_id: int
+
+    :rtype: List[LogMetaData]
+    """
+    return logs_controller.logs_log_delete(log_id)
+
+
+def logs_log_get_by_id(log_id):  # noqa: E501
+    """Represents a log
+
+    Returns the log identified by id # noqa: E501
+
+    :param log_id: Log ID
+    :type log_id: int
+
+    :rtype: Log
+    """
+    return logs_controller.logs_log_get_by_id(log_id)
+
+
+def logs_log_upload(log_id, body=None):  # noqa: E501
+    """Add a new log entries
+
+    Adds log entries from uploaded file to current Log # noqa: E501
+
+    :param log_id: Log ID
+    :type log_id: int
+    :param body: 
+    :type body: str
+
+    :rtype: LogMetaData
+    """
+    return logs_controller.logs_log_upload(log_id, body=body)
Index: src/gnuboat/mapservice/controllers/security_controller_.py
===================================================================
--- src/gnuboat/mapservice/controllers/security_controller_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/security_controller_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,35 @@
+from typing import List
+
+
+def info_from_apiKeyAuth(api_key, required_scopes):
+    """
+    Check and retrieve authentication information from api_key.
+    Returned value will be passed in 'token_info' parameter of your operation function, if there is one.
+    'sub' or 'uid' will be set in 'user' parameter of your operation function, if there is one.
+
+    :param api_key API key provided by Authorization header
+    :type api_key: str
+    :param required_scopes Always None. Used for other authentication method
+    :type required_scopes: None
+    :return: Information attached to provided api_key or None if api_key is invalid or does not allow access to called API
+    :rtype: dict | None
+    """
+    return {'uid': 'user_id'}
+
+
+def info_from_basicAuth(username, password, required_scopes):
+    """
+    Check and retrieve authentication information from basic auth.
+    Returned value will be passed in 'token_info' parameter of your operation function, if there is one.
+    'sub' or 'uid' will be set in 'user' parameter of your operation function, if there is one.
+
+    :param username login provided by Authorization header
+    :type username: str
+    :param password password provided by Authorization header
+    :type password: str
+    :param required_scopes Always None. Used for other authentication method
+    :type required_scopes: None
+    :return: Information attached to user or None if credentials are invalid or does not allow access to called API
+    :rtype: dict | None
+    """
+    return {'uid': 'user_id'}
Index: src/gnuboat/mapservice/controllers/tiles_controller.py
===================================================================
--- src/gnuboat/mapservice/controllers/tiles_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/tiles_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,29 @@
+import connexion
+import six
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice import util
+from gnuboat.mapservice_impl.controllers import tiles_controller
+
+
+def tiles_tile_get(accuracy, resolution, zoom, x_tile, y_tile):  # noqa: E501
+    """Represents a tile
+
+    Returns the map tile x_tile, y_tile at Zoomlevel zoom # noqa: E501
+
+    :param accuracy: Accuracy of generated tiles
+    :type accuracy: str
+    :param resolution: Resolution of the tiles
+    :type resolution: int
+    :param zoom: Zoomlevel
+    :type zoom: int
+    :param x_tile: Number of the tile in x dimension
+    :type x_tile: int
+    :param y_tile: Number of the tile in y dimension
+    :type y_tile: int
+
+    :rtype: file
+    """
+    return tiles_controller.tiles_tile_get(
+        accuracy, resolution, zoom, x_tile, y_tile
+    )
Index: src/gnuboat/mapservice/controllers/users_controller.py
===================================================================
--- src/gnuboat/mapservice/controllers/users_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/users_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,84 @@
+import connexion
+import six
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.user import User  # noqa: E501
+from gnuboat.mapservice.models.user_creation import UserCreation  # noqa: E501
+from gnuboat.mapservice import util
+from gnuboat.mapservice_impl.controllers import users_controller
+
+
+def user_options():  # noqa: E501
+    """user_options
+
+    Used by CORS preflight # noqa: E501
+
+
+    :rtype: None
+    """
+    return users_controller.user_options()
+
+
+def users_activate(activation_code):  # noqa: E501
+    """Activates a user account
+
+    Activates a user account # noqa: E501
+
+    :param activation_code: Activation code
+    :type activation_code: str
+
+    :rtype: None
+    """
+    return users_controller.users_activate(activation_code)
+
+
+def users_api_key_create():  # noqa: E501
+    """Returns a new API key
+
+    Generates and returns a new API key for current user # noqa: E501
+
+
+    :rtype: List[str]
+    """
+    return users_controller.users_api_key_create()
+
+
+def users_api_key_delete(api_key):  # noqa: E501
+    """Deletes API key
+
+    Deletes given API key and returns remaining API keys of the user # noqa: E501
+
+    :param api_key: API key
+    :type api_key: str
+
+    :rtype: List[str]
+    """
+    return users_controller.users_api_key_delete(api_key)
+
+
+def users_get():  # noqa: E501
+    """Returns info of a user
+
+    Returns information of current/authorized user # noqa: E501
+
+
+    :rtype: User
+    """
+    return users_controller.users_get()
+
+
+def users_register(user_creation=None):  # noqa: E501
+    """Registers a new user
+
+    Registers a new user # noqa: E501
+
+    :param user_creation: 
+    :type user_creation: dict | bytes
+
+    :rtype: User
+    """
+    if connexion.request.is_json:
+        user_creation = UserCreation.from_dict(
+            connexion.request.get_json()
+        )  # noqa: E501
+    return users_controller.users_register(user_creation=user_creation)
Index: src/gnuboat/mapservice/controllers/waters_controller.py
===================================================================
--- src/gnuboat/mapservice/controllers/waters_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/controllers/waters_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,150 @@
+import connexion
+import six
+
+from gnuboat.mapservice.models.gauge import Gauge  # noqa: E501
+from gnuboat.mapservice.models.gauge_creation import GaugeCreation  # noqa: E501
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.water import Water  # noqa: E501
+from gnuboat.mapservice.models.water_creation import WaterCreation  # noqa: E501
+from gnuboat.mapservice import util
+from gnuboat.mapservice_impl.controllers import waters_controller
+
+
+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 waters_controller.waters_create(water_creation=water_creation)
+
+
+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 waters_controller.waters_gauge_create(
+        water_id, gauge_creation=gauge_creation
+    )
+
+
+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 waters_controller.waters_gauge_get_by_id(water_id, gauge_id)
+
+
+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 waters_controller.waters_gauges_get(
+        water_id,
+        name=name,
+        manager=manager,
+        order_by=order_by,
+        offset=offset,
+        limit=limit
+    )
+
+
+def waters_get(
+    name=None,
+    manager=None,
+    stakeholder=None,
+    order_by=None,
+    offset=None,
+    limit=None
+):  # noqa: E501
+    """Find waters
+
+    Returns all waters # noqa: E501
+
+    :param name: 
+    :type name: str
+    :param manager: 
+    :type manager: str
+    :param stakeholder: A stakeholder is a user, which has uploaded Logfiles to water, added a gauge, ...
+    :type stakeholder: 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 waters_controller.waters_get(
+        name=name,
+        manager=manager,
+        stakeholder=stakeholder,
+        order_by=order_by,
+        offset=offset,
+        limit=limit
+    )
+
+
+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 waters_controller.waters_get_by_id(id)
Index: src/gnuboat/mapservice/encoder.py
===================================================================
--- src/gnuboat/mapservice/encoder.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/encoder.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+from connexion.apps.flask_app import FlaskJSONEncoder
+import six
+
+from gnuboat.mapservice.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/gnuboat/mapservice/models/__init__.py
===================================================================
--- src/gnuboat/mapservice/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,28 @@
+# coding: utf-8
+
+# flake8: noqa
+from __future__ import absolute_import
+# import models into model package
+from gnuboat.mapservice.models.device import Device
+from gnuboat.mapservice.models.device_creation import DeviceCreation
+from gnuboat.mapservice.models.gauge import Gauge
+from gnuboat.mapservice.models.gauge_creation import GaugeCreation
+from gnuboat.mapservice.models.gauge_geo_json import GaugeGeoJson
+from gnuboat.mapservice.models.gauge_geo_json_properties import GaugeGeoJsonProperties
+from gnuboat.mapservice.models.geo_json_point import GeoJsonPoint
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice.models.http_error import HttpError
+from gnuboat.mapservice.models.item_base import ItemBase
+from gnuboat.mapservice.models.log import Log
+from gnuboat.mapservice.models.log_creation import LogCreation
+from gnuboat.mapservice.models.log_entry import LogEntry
+from gnuboat.mapservice.models.log_entry_geo_json import LogEntryGeoJson
+from gnuboat.mapservice.models.log_entry_geo_json_properties import LogEntryGeoJsonProperties
+from gnuboat.mapservice.models.log_geo_json import LogGeoJson
+from gnuboat.mapservice.models.log_meta_data import LogMetaData
+from gnuboat.mapservice.models.order import Order
+from gnuboat.mapservice.models.osm_type import OsmType
+from gnuboat.mapservice.models.user import User
+from gnuboat.mapservice.models.user_creation import UserCreation
+from gnuboat.mapservice.models.water import Water
+from gnuboat.mapservice.models.water_creation import WaterCreation
Index: src/gnuboat/mapservice/models/base_model_.py
===================================================================
--- src/gnuboat/mapservice/models/base_model_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/base_model_.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,72 @@
+import pprint
+
+import six
+import typing
+
+from gnuboat.mapservice 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/gnuboat/mapservice/models/device.py
===================================================================
--- src/gnuboat/mapservice/models/device.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/device.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,194 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.log_meta_data import LogMetaData
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+
+
+class Device(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        device_id=None,
+        name=None,
+        sensor_depth=None,
+        logs=None,
+        comment=None
+    ):  # noqa: E501
+        """Device - a model defined in OpenAPI
+
+        :param device_id: The device_id of this Device.  # noqa: E501
+        :type device_id: int
+        :param name: The name of this Device.  # noqa: E501
+        :type name: str
+        :param sensor_depth: The sensor_depth of this Device.  # noqa: E501
+        :type sensor_depth: float
+        :param logs: The logs of this Device.  # noqa: E501
+        :type logs: List[LogMetaData]
+        :param comment: The comment of this Device.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'device_id': int,
+            'name': str,
+            'sensor_depth': float,
+            'logs': List[LogMetaData],
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'device_id': 'deviceId',
+            'name': 'name',
+            'sensor_depth': 'sensorDepth',
+            'logs': 'logs',
+            'comment': 'comment'
+        }
+
+        self._device_id = device_id
+        self._name = name
+        self._sensor_depth = sensor_depth
+        self._logs = logs
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Device':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The Device of this Device.  # noqa: E501
+        :rtype: Device
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def device_id(self):
+        """Gets the device_id of this Device.
+
+
+        :return: The device_id of this Device.
+        :rtype: int
+        """
+        return self._device_id
+
+    @device_id.setter
+    def device_id(self, device_id):
+        """Sets the device_id of this Device.
+
+
+        :param device_id: The device_id of this Device.
+        :type device_id: int
+        """
+        if device_id is None:
+            raise ValueError(
+                "Invalid value for `device_id`, must not be `None`"
+            )  # noqa: E501
+
+        self._device_id = device_id
+
+    @property
+    def name(self):
+        """Gets the name of this Device.
+
+
+        :return: The name of this Device.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Device.
+
+
+        :param name: The name of this Device.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def sensor_depth(self):
+        """Gets the sensor_depth of this Device.
+
+
+        :return: The sensor_depth of this Device.
+        :rtype: float
+        """
+        return self._sensor_depth
+
+    @sensor_depth.setter
+    def sensor_depth(self, sensor_depth):
+        """Sets the sensor_depth of this Device.
+
+
+        :param sensor_depth: The sensor_depth of this Device.
+        :type sensor_depth: float
+        """
+        if sensor_depth is None:
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must not be `None`"
+            )  # noqa: E501
+        if sensor_depth is not None and sensor_depth < 0:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._sensor_depth = sensor_depth
+
+    @property
+    def logs(self):
+        """Gets the logs of this Device.
+
+
+        :return: The logs of this Device.
+        :rtype: List[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Device.
+
+
+        :param logs: The logs of this Device.
+        :type logs: List[LogMetaData]
+        """
+
+        self._logs = logs
+
+    @property
+    def comment(self):
+        """Gets the comment of this Device.
+
+
+        :return: The comment of this Device.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this Device.
+
+
+        :param comment: The comment of this Device.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/device_creation.py
===================================================================
--- src/gnuboat/mapservice/models/device_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/device_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,130 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class DeviceCreation(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, sensor_depth=None, comment=None
+    ):  # noqa: E501
+        """DeviceCreation - a model defined in OpenAPI
+
+        :param name: The name of this DeviceCreation.  # noqa: E501
+        :type name: str
+        :param sensor_depth: The sensor_depth of this DeviceCreation.  # noqa: E501
+        :type sensor_depth: float
+        :param comment: The comment of this DeviceCreation.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'name': str,
+            'sensor_depth': float,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'name': 'name',
+            'sensor_depth': 'sensorDepth',
+            'comment': 'comment'
+        }
+
+        self._name = name
+        self._sensor_depth = sensor_depth
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'DeviceCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The DeviceCreation of this DeviceCreation.  # noqa: E501
+        :rtype: DeviceCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def name(self):
+        """Gets the name of this DeviceCreation.
+
+
+        :return: The name of this DeviceCreation.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this DeviceCreation.
+
+
+        :param name: The name of this DeviceCreation.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def sensor_depth(self):
+        """Gets the sensor_depth of this DeviceCreation.
+
+
+        :return: The sensor_depth of this DeviceCreation.
+        :rtype: float
+        """
+        return self._sensor_depth
+
+    @sensor_depth.setter
+    def sensor_depth(self, sensor_depth):
+        """Sets the sensor_depth of this DeviceCreation.
+
+
+        :param sensor_depth: The sensor_depth of this DeviceCreation.
+        :type sensor_depth: float
+        """
+        if sensor_depth is None:
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must not be `None`"
+            )  # noqa: E501
+        if sensor_depth is not None and sensor_depth < 0:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._sensor_depth = sensor_depth
+
+    @property
+    def comment(self):
+        """Gets the comment of this DeviceCreation.
+
+
+        :return: The comment of this DeviceCreation.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this DeviceCreation.
+
+
+        :param comment: The comment of this DeviceCreation.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/gauge.py
===================================================================
--- src/gnuboat/mapservice/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,259 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.log_meta_data import LogMetaData
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+
+
+class Gauge(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        gauge_id=None,
+        name=None,
+        manager=None,
+        location=None,
+        reference_water_level_gauge_height=None,
+        logs=None,
+        comment=None
+    ):  # noqa: E501
+        """Gauge - a model defined in OpenAPI
+
+        :param gauge_id: The gauge_id of this Gauge.  # noqa: E501
+        :type gauge_id: int
+        :param name: The name of this Gauge.  # noqa: E501
+        :type name: str
+        :param manager: The manager of this Gauge.  # noqa: E501
+        :type manager: str
+        :param location: The location of this Gauge.  # noqa: E501
+        :type location: List[float]
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this Gauge.  # noqa: E501
+        :type reference_water_level_gauge_height: float
+        :param logs: The logs of this Gauge.  # noqa: E501
+        :type logs: List[LogMetaData]
+        :param comment: The comment of this Gauge.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'gauge_id': int,
+            'name': str,
+            'manager': str,
+            'location': List[float],
+            'reference_water_level_gauge_height': float,
+            'logs': List[LogMetaData],
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'gauge_id':
+                'gaugeId',
+            'name':
+                'name',
+            'manager':
+                'manager',
+            'location':
+                'location',
+            'reference_water_level_gauge_height':
+                'referenceWaterLevelGaugeHeight',
+            'logs':
+                'logs',
+            'comment':
+                'comment'
+        }
+
+        self._gauge_id = gauge_id
+        self._name = name
+        self._manager = manager
+        self._location = location
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+        self._logs = logs
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Gauge':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The Gauge of this Gauge.  # noqa: E501
+        :rtype: Gauge
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def gauge_id(self):
+        """Gets the gauge_id of this Gauge.
+
+
+        :return: The gauge_id of this Gauge.
+        :rtype: int
+        """
+        return self._gauge_id
+
+    @gauge_id.setter
+    def gauge_id(self, gauge_id):
+        """Sets the gauge_id of this Gauge.
+
+
+        :param gauge_id: The gauge_id of this Gauge.
+        :type gauge_id: int
+        """
+        if gauge_id is None:
+            raise ValueError(
+                "Invalid value for `gauge_id`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_id = gauge_id
+
+    @property
+    def name(self):
+        """Gets the name of this Gauge.
+
+
+        :return: The name of this Gauge.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Gauge.
+
+
+        :param name: The name of this Gauge.
+        :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 Gauge.
+
+
+        :return: The manager of this Gauge.
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this Gauge.
+
+
+        :param manager: The manager of this Gauge.
+        :type manager: str
+        """
+
+        self._manager = manager
+
+    @property
+    def location(self):
+        """Gets the location of this Gauge.
+
+
+        :return: The location of this Gauge.
+        :rtype: List[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this Gauge.
+
+
+        :param location: The location of this Gauge.
+        :type location: List[float]
+        """
+        if location is None:
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this Gauge.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this Gauge.
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this Gauge.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this Gauge.
+        :type reference_water_level_gauge_height: float
+        """
+        if reference_water_level_gauge_height is None:
+            raise ValueError(
+                "Invalid value for `reference_water_level_gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def logs(self):
+        """Gets the logs of this Gauge.
+
+
+        :return: The logs of this Gauge.
+        :rtype: List[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Gauge.
+
+
+        :param logs: The logs of this Gauge.
+        :type logs: List[LogMetaData]
+        """
+
+        self._logs = logs
+
+    @property
+    def comment(self):
+        """Gets the comment of this Gauge.
+
+
+        :return: The comment of this Gauge.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this Gauge.
+
+
+        :param comment: The comment of this Gauge.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/gauge_creation.py
===================================================================
--- src/gnuboat/mapservice/models/gauge_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/gauge_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,192 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class GaugeCreation(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,
+        location=None,
+        reference_water_level_gauge_height=None,
+        water=None,
+        comment=None
+    ):  # noqa: E501
+        """GaugeCreation - a model defined in OpenAPI
+
+        :param name: The name of this GaugeCreation.  # noqa: E501
+        :type name: str
+        :param location: The location of this GaugeCreation.  # noqa: E501
+        :type location: List[float]
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeCreation.  # noqa: E501
+        :type reference_water_level_gauge_height: float
+        :param water: The water of this GaugeCreation.  # noqa: E501
+        :type water: int
+        :param comment: The comment of this GaugeCreation.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'name': str,
+            'location': List[float],
+            'reference_water_level_gauge_height': float,
+            'water': int,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'name':
+                'name',
+            'location':
+                'location',
+            'reference_water_level_gauge_height':
+                'referenceWaterLevelGaugeHeight',
+            'water':
+                'water',
+            'comment':
+                'comment'
+        }
+
+        self._name = name
+        self._location = location
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+        self._water = water
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GaugeCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The GaugeCreation of this GaugeCreation.  # noqa: E501
+        :rtype: GaugeCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def name(self):
+        """Gets the name of this GaugeCreation.
+
+
+        :return: The name of this GaugeCreation.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this GaugeCreation.
+
+
+        :param name: The name of this GaugeCreation.
+        :type name: str
+        """
+        if name is None:
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def location(self):
+        """Gets the location of this GaugeCreation.
+
+
+        :return: The location of this GaugeCreation.
+        :rtype: List[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this GaugeCreation.
+
+
+        :param location: The location of this GaugeCreation.
+        :type location: List[float]
+        """
+        if location is None:
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this GaugeCreation.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this GaugeCreation.
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this GaugeCreation.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeCreation.
+        :type reference_water_level_gauge_height: float
+        """
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def water(self):
+        """Gets the water of this GaugeCreation.
+
+
+        :return: The water of this GaugeCreation.
+        :rtype: int
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this GaugeCreation.
+
+
+        :param water: The water of this GaugeCreation.
+        :type water: int
+        """
+
+        self._water = water
+
+    @property
+    def comment(self):
+        """Gets the comment of this GaugeCreation.
+
+
+        :return: The comment of this GaugeCreation.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this GaugeCreation.
+
+
+        :param comment: The comment of this GaugeCreation.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/gauge_geo_json.py
===================================================================
--- src/gnuboat/mapservice/models/gauge_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/gauge_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,137 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.gauge_geo_json_properties import GaugeGeoJsonProperties
+from gnuboat.mapservice.models.geo_json_point import GeoJsonPoint
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.gauge_geo_json_properties import GaugeGeoJsonProperties  # noqa: E501
+from gnuboat.mapservice.models.geo_json_point import GeoJsonPoint  # noqa: E501
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType  # noqa: E501
+
+
+class GaugeGeoJson(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self, type=None, geometry=None, properties=None
+    ):  # noqa: E501
+        """GaugeGeoJson - a model defined in OpenAPI
+
+        :param type: The type of this GaugeGeoJson.  # noqa: E501
+        :type type: GeoJsonType
+        :param geometry: The geometry of this GaugeGeoJson.  # noqa: E501
+        :type geometry: GeoJsonPoint
+        :param properties: The properties of this GaugeGeoJson.  # noqa: E501
+        :type properties: GaugeGeoJsonProperties
+        """
+        self.openapi_types = {
+            'type': GeoJsonType,
+            'geometry': GeoJsonPoint,
+            'properties': GaugeGeoJsonProperties
+        }
+
+        self.attribute_map = {
+            'type': 'type',
+            'geometry': 'geometry',
+            'properties': 'properties'
+        }
+
+        self._type = type
+        self._geometry = geometry
+        self._properties = properties
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GaugeGeoJson':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The GaugeGeoJson of this GaugeGeoJson.  # noqa: E501
+        :rtype: GaugeGeoJson
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def type(self):
+        """Gets the type of this GaugeGeoJson.
+
+
+        :return: The type of this GaugeGeoJson.
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this GaugeGeoJson.
+
+
+        :param type: The type of this GaugeGeoJson.
+        :type type: GeoJsonType
+        """
+        if type is None:
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def geometry(self):
+        """Gets the geometry of this GaugeGeoJson.
+
+
+        :return: The geometry of this GaugeGeoJson.
+        :rtype: GeoJsonPoint
+        """
+        return self._geometry
+
+    @geometry.setter
+    def geometry(self, geometry):
+        """Sets the geometry of this GaugeGeoJson.
+
+
+        :param geometry: The geometry of this GaugeGeoJson.
+        :type geometry: GeoJsonPoint
+        """
+        if geometry is None:
+            raise ValueError(
+                "Invalid value for `geometry`, must not be `None`"
+            )  # noqa: E501
+
+        self._geometry = geometry
+
+    @property
+    def properties(self):
+        """Gets the properties of this GaugeGeoJson.
+
+
+        :return: The properties of this GaugeGeoJson.
+        :rtype: GaugeGeoJsonProperties
+        """
+        return self._properties
+
+    @properties.setter
+    def properties(self, properties):
+        """Sets the properties of this GaugeGeoJson.
+
+
+        :param properties: The properties of this GaugeGeoJson.
+        :type properties: GaugeGeoJsonProperties
+        """
+        if properties is None:
+            raise ValueError(
+                "Invalid value for `properties`, must not be `None`"
+            )  # noqa: E501
+
+        self._properties = properties
Index: src/gnuboat/mapservice/models/gauge_geo_json_properties.py
===================================================================
--- src/gnuboat/mapservice/models/gauge_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/gauge_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,160 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class GaugeGeoJsonProperties(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,
+        manager=None,
+        reference_water_level_gauge_height=None,
+        comment=None
+    ):  # noqa: E501
+        """GaugeGeoJsonProperties - a model defined in OpenAPI
+
+        :param name: The name of this GaugeGeoJsonProperties.  # noqa: E501
+        :type name: str
+        :param manager: The manager of this GaugeGeoJsonProperties.  # noqa: E501
+        :type manager: str
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeGeoJsonProperties.  # noqa: E501
+        :type reference_water_level_gauge_height: float
+        :param comment: The comment of this GaugeGeoJsonProperties.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'name': str,
+            'manager': str,
+            'reference_water_level_gauge_height': float,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'name':
+                'name',
+            'manager':
+                'manager',
+            'reference_water_level_gauge_height':
+                'referenceWaterLevelGaugeHeight',
+            'comment':
+                'comment'
+        }
+
+        self._name = name
+        self._manager = manager
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GaugeGeoJsonProperties':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The GaugeGeoJson_properties of this GaugeGeoJsonProperties.  # noqa: E501
+        :rtype: GaugeGeoJsonProperties
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def name(self):
+        """Gets the name of this GaugeGeoJsonProperties.
+
+
+        :return: The name of this GaugeGeoJsonProperties.
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this GaugeGeoJsonProperties.
+
+
+        :param name: The name of this GaugeGeoJsonProperties.
+        :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 GaugeGeoJsonProperties.
+
+
+        :return: The manager of this GaugeGeoJsonProperties.
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this GaugeGeoJsonProperties.
+
+
+        :param manager: The manager of this GaugeGeoJsonProperties.
+        :type manager: str
+        """
+
+        self._manager = manager
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this GaugeGeoJsonProperties.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this GaugeGeoJsonProperties.
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this GaugeGeoJsonProperties.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeGeoJsonProperties.
+        :type reference_water_level_gauge_height: float
+        """
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this GaugeGeoJsonProperties.
+
+
+        :return: The comment of this GaugeGeoJsonProperties.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this GaugeGeoJsonProperties.
+
+
+        :param comment: The comment of this GaugeGeoJsonProperties.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/geo_json_point.py
===================================================================
--- src/gnuboat/mapservice/models/geo_json_point.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/geo_json_point.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,84 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class GeoJsonPoint(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(self, type=None, coordinates=None):  # noqa: E501
+        """GeoJsonPoint - a model defined in OpenAPI
+
+        :param type: The type of this GeoJsonPoint.  # noqa: E501
+        :type type: str
+        :param coordinates: The coordinates of this GeoJsonPoint.  # noqa: E501
+        :type coordinates: List[float]
+        """
+        self.openapi_types = {'type': str, 'coordinates': List[float]}
+
+        self.attribute_map = {'type': 'type', 'coordinates': 'coordinates'}
+
+        self._type = type
+        self._coordinates = coordinates
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GeoJsonPoint':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The geoJsonPoint of this GeoJsonPoint.  # noqa: E501
+        :rtype: GeoJsonPoint
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def type(self):
+        """Gets the type of this GeoJsonPoint.
+
+
+        :return: The type of this GeoJsonPoint.
+        :rtype: str
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this GeoJsonPoint.
+
+
+        :param type: The type of this GeoJsonPoint.
+        :type type: str
+        """
+
+        self._type = type
+
+    @property
+    def coordinates(self):
+        """Gets the coordinates of this GeoJsonPoint.
+
+
+        :return: The coordinates of this GeoJsonPoint.
+        :rtype: List[float]
+        """
+        return self._coordinates
+
+    @coordinates.setter
+    def coordinates(self, coordinates):
+        """Sets the coordinates of this GeoJsonPoint.
+
+
+        :param coordinates: The coordinates of this GeoJsonPoint.
+        :type coordinates: List[float]
+        """
+
+        self._coordinates = coordinates
Index: src/gnuboat/mapservice/models/geo_json_type.py
===================================================================
--- src/gnuboat/mapservice/models/geo_json_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/geo_json_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,42 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class GeoJsonType(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    FEATURE = "Feature"
+    POINT = "Point"
+    FEATURECOLLECTION = "FeatureCollection"
+
+    def __init__(self):  # noqa: E501
+        """GeoJsonType - a model defined in OpenAPI
+
+        """
+        self.openapi_types = {}
+
+        self.attribute_map = {}
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'GeoJsonType':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The geoJsonType of this GeoJsonType.  # noqa: E501
+        :rtype: GeoJsonType
+        """
+        return util.deserialize_model(dikt, cls)
Index: src/gnuboat/mapservice/models/http_error.py
===================================================================
--- src/gnuboat/mapservice/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,160 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice 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, type=None, title=None, detail=None, instance=None
+    ):  # noqa: E501
+        """HttpError - a model defined in OpenAPI
+
+        :param type: The type of this HttpError.  # noqa: E501
+        :type type: str
+        :param title: The title of this HttpError.  # noqa: E501
+        :type title: str
+        :param detail: The detail of this HttpError.  # noqa: E501
+        :type detail: str
+        :param instance: The instance of this HttpError.  # noqa: E501
+        :type instance: str
+        """
+        self.openapi_types = {
+            'type': str,
+            'title': str,
+            'detail': str,
+            'instance': str
+        }
+
+        self.attribute_map = {
+            'type': 'type',
+            'title': 'title',
+            'detail': 'detail',
+            'instance': 'instance'
+        }
+
+        self._type = type
+        self._title = title
+        self._detail = detail
+        self._instance = instance
+
+    @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 type(self):
+        """Gets the type of this HttpError.
+
+
+        :return: The type of this HttpError.
+        :rtype: str
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this HttpError.
+
+
+        :param type: The type of this HttpError.
+        :type type: str
+        """
+        if type is None:
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def title(self):
+        """Gets the title of this HttpError.
+
+
+        :return: The title of this HttpError.
+        :rtype: str
+        """
+        return self._title
+
+    @title.setter
+    def title(self, title):
+        """Sets the title of this HttpError.
+
+
+        :param title: The title of this HttpError.
+        :type title: str
+        """
+        if title is None:
+            raise ValueError(
+                "Invalid value for `title`, must not be `None`"
+            )  # noqa: E501
+
+        self._title = title
+
+    @property
+    def detail(self):
+        """Gets the detail of this HttpError.
+
+
+        :return: The detail of this HttpError.
+        :rtype: str
+        """
+        return self._detail
+
+    @detail.setter
+    def detail(self, detail):
+        """Sets the detail of this HttpError.
+
+
+        :param detail: The detail of this HttpError.
+        :type detail: str
+        """
+        if detail is None:
+            raise ValueError(
+                "Invalid value for `detail`, must not be `None`"
+            )  # noqa: E501
+
+        self._detail = detail
+
+    @property
+    def instance(self):
+        """Gets the instance of this HttpError.
+
+
+        :return: The instance of this HttpError.
+        :rtype: str
+        """
+        return self._instance
+
+    @instance.setter
+    def instance(self, instance):
+        """Sets the instance of this HttpError.
+
+
+        :param instance: The instance of this HttpError.
+        :type instance: str
+        """
+        if instance is None:
+            raise ValueError(
+                "Invalid value for `instance`, must not be `None`"
+            )  # noqa: E501
+
+        self._instance = instance
Index: src/gnuboat/mapservice/models/item_base.py
===================================================================
--- src/gnuboat/mapservice/models/item_base.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/item_base.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,120 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class ItemBase(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(self, label=None, id=None, url=None):  # noqa: E501
+        """ItemBase - a model defined in OpenAPI
+
+        :param label: The label of this ItemBase.  # noqa: E501
+        :type label: str
+        :param id: The id of this ItemBase.  # noqa: E501
+        :type id: int
+        :param url: The url of this ItemBase.  # noqa: E501
+        :type url: str
+        """
+        self.openapi_types = {'label': str, 'id': int, 'url': str}
+
+        self.attribute_map = {'label': 'label', 'id': 'id', 'url': 'url'}
+
+        self._label = label
+        self._id = id
+        self._url = url
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'ItemBase':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The itemBase of this ItemBase.  # noqa: E501
+        :rtype: ItemBase
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def label(self):
+        """Gets the label of this ItemBase.
+
+        A representative name, for the item, which could be understand by the user. Mostly it should be the itemName  # noqa: E501
+
+        :return: The label of this ItemBase.
+        :rtype: str
+        """
+        return self._label
+
+    @label.setter
+    def label(self, label):
+        """Sets the label of this ItemBase.
+
+        A representative name, for the item, which could be understand by the user. Mostly it should be the itemName  # noqa: E501
+
+        :param label: The label of this ItemBase.
+        :type label: str
+        """
+        if label is None:
+            raise ValueError(
+                "Invalid value for `label`, must not be `None`"
+            )  # noqa: E501
+
+        self._label = label
+
+    @property
+    def id(self):
+        """Gets the id of this ItemBase.
+
+
+        :return: The id of this ItemBase.
+        :rtype: int
+        """
+        return self._id
+
+    @id.setter
+    def id(self, id):
+        """Sets the id of this ItemBase.
+
+
+        :param id: The id of this ItemBase.
+        :type id: int
+        """
+        if id is None:
+            raise ValueError(
+                "Invalid value for `id`, must not be `None`"
+            )  # noqa: E501
+
+        self._id = id
+
+    @property
+    def url(self):
+        """Gets the url of this ItemBase.
+
+        Url, where details of the object could be retrieved  # noqa: E501
+
+        :return: The url of this ItemBase.
+        :rtype: str
+        """
+        return self._url
+
+    @url.setter
+    def url(self, url):
+        """Sets the url of this ItemBase.
+
+        Url, where details of the object could be retrieved  # noqa: E501
+
+        :param url: The url of this ItemBase.
+        :type url: str
+        """
+
+        self._url = url
Index: src/gnuboat/mapservice/models/log.py
===================================================================
--- src/gnuboat/mapservice/models/log.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,100 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.log_entry import LogEntry
+from gnuboat.mapservice.models.log_meta_data import LogMetaData
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.log_entry import LogEntry  # noqa: E501
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+
+
+class Log(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(self, meta_data=None, entries=None):  # noqa: E501
+        """Log - a model defined in OpenAPI
+
+        :param meta_data: The meta_data of this Log.  # noqa: E501
+        :type meta_data: LogMetaData
+        :param entries: The entries of this Log.  # noqa: E501
+        :type entries: List[LogEntry]
+        """
+        self.openapi_types = {
+            'meta_data': LogMetaData,
+            'entries': List[LogEntry]
+        }
+
+        self.attribute_map = {'meta_data': 'metaData', 'entries': 'entries'}
+
+        self._meta_data = meta_data
+        self._entries = entries
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'Log':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The Log of this Log.  # noqa: E501
+        :rtype: Log
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def meta_data(self):
+        """Gets the meta_data of this Log.
+
+
+        :return: The meta_data of this Log.
+        :rtype: LogMetaData
+        """
+        return self._meta_data
+
+    @meta_data.setter
+    def meta_data(self, meta_data):
+        """Sets the meta_data of this Log.
+
+
+        :param meta_data: The meta_data of this Log.
+        :type meta_data: LogMetaData
+        """
+        if meta_data is None:
+            raise ValueError(
+                "Invalid value for `meta_data`, must not be `None`"
+            )  # noqa: E501
+
+        self._meta_data = meta_data
+
+    @property
+    def entries(self):
+        """Gets the entries of this Log.
+
+
+        :return: The entries of this Log.
+        :rtype: List[LogEntry]
+        """
+        return self._entries
+
+    @entries.setter
+    def entries(self, entries):
+        """Sets the entries of this Log.
+
+
+        :param entries: The entries of this Log.
+        :type entries: List[LogEntry]
+        """
+        if entries is None:
+            raise ValueError(
+                "Invalid value for `entries`, must not be `None`"
+            )  # noqa: E501
+
+        self._entries = entries
Index: src/gnuboat/mapservice/models/log_creation.py
===================================================================
--- src/gnuboat/mapservice/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,191 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class LogCreation(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        water=None,
+        device=None,
+        gauge=None,
+        gauge_height=None,
+        comment=None
+    ):  # noqa: E501
+        """LogCreation - a model defined in OpenAPI
+
+        :param water: The water of this LogCreation.  # noqa: E501
+        :type water: int
+        :param device: The device of this LogCreation.  # noqa: E501
+        :type device: int
+        :param gauge: The gauge of this LogCreation.  # noqa: E501
+        :type gauge: int
+        :param gauge_height: The gauge_height of this LogCreation.  # noqa: E501
+        :type gauge_height: float
+        :param comment: The comment of this LogCreation.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'water': int,
+            'device': int,
+            'gauge': int,
+            'gauge_height': float,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'water': 'water',
+            'device': 'device',
+            'gauge': 'gauge',
+            'gauge_height': 'gaugeHeight',
+            'comment': 'comment'
+        }
+
+        self._water = water
+        self._device = device
+        self._gauge = gauge
+        self._gauge_height = gauge_height
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogCreation of this LogCreation.  # noqa: E501
+        :rtype: LogCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def water(self):
+        """Gets the water of this LogCreation.
+
+
+        :return: The water of this LogCreation.
+        :rtype: int
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this LogCreation.
+
+
+        :param water: The water of this LogCreation.
+        :type water: int
+        """
+        if water is None:
+            raise ValueError(
+                "Invalid value for `water`, must not be `None`"
+            )  # noqa: E501
+
+        self._water = water
+
+    @property
+    def device(self):
+        """Gets the device of this LogCreation.
+
+
+        :return: The device of this LogCreation.
+        :rtype: int
+        """
+        return self._device
+
+    @device.setter
+    def device(self, device):
+        """Sets the device of this LogCreation.
+
+
+        :param device: The device of this LogCreation.
+        :type device: int
+        """
+        if device is None:
+            raise ValueError(
+                "Invalid value for `device`, must not be `None`"
+            )  # noqa: E501
+
+        self._device = device
+
+    @property
+    def gauge(self):
+        """Gets the gauge of this LogCreation.
+
+
+        :return: The gauge of this LogCreation.
+        :rtype: int
+        """
+        return self._gauge
+
+    @gauge.setter
+    def gauge(self, gauge):
+        """Sets the gauge of this LogCreation.
+
+
+        :param gauge: The gauge of this LogCreation.
+        :type gauge: int
+        """
+        if gauge is None:
+            raise ValueError(
+                "Invalid value for `gauge`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge = gauge
+
+    @property
+    def gauge_height(self):
+        """Gets the gauge_height of this LogCreation.
+
+
+        :return: The gauge_height of this LogCreation.
+        :rtype: float
+        """
+        return self._gauge_height
+
+    @gauge_height.setter
+    def gauge_height(self, gauge_height):
+        """Sets the gauge_height of this LogCreation.
+
+
+        :param gauge_height: The gauge_height of this LogCreation.
+        :type gauge_height: float
+        """
+        if gauge_height is None:
+            raise ValueError(
+                "Invalid value for `gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_height = gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this LogCreation.
+
+
+        :return: The comment of this LogCreation.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this LogCreation.
+
+
+        :param comment: The comment of this LogCreation.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/log_entry.py
===================================================================
--- src/gnuboat/mapservice/models/log_entry.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_entry.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,126 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class LogEntry(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self, datetime=None, location=None, water_depth=None
+    ):  # noqa: E501
+        """LogEntry - a model defined in OpenAPI
+
+        :param datetime: The datetime of this LogEntry.  # noqa: E501
+        :type datetime: datetime
+        :param location: The location of this LogEntry.  # noqa: E501
+        :type location: List[float]
+        :param water_depth: The water_depth of this LogEntry.  # noqa: E501
+        :type water_depth: float
+        """
+        self.openapi_types = {
+            'datetime': datetime,
+            'location': List[float],
+            'water_depth': float
+        }
+
+        self.attribute_map = {
+            'datetime': 'datetime',
+            'location': 'location',
+            'water_depth': 'waterDepth'
+        }
+
+        self._datetime = datetime
+        self._location = location
+        self._water_depth = water_depth
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogEntry':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogEntry of this LogEntry.  # noqa: E501
+        :rtype: LogEntry
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def datetime(self):
+        """Gets the datetime of this LogEntry.
+
+
+        :return: The datetime of this LogEntry.
+        :rtype: datetime
+        """
+        return self._datetime
+
+    @datetime.setter
+    def datetime(self, datetime):
+        """Sets the datetime of this LogEntry.
+
+
+        :param datetime: The datetime of this LogEntry.
+        :type datetime: datetime
+        """
+        if datetime is None:
+            raise ValueError(
+                "Invalid value for `datetime`, must not be `None`"
+            )  # noqa: E501
+
+        self._datetime = datetime
+
+    @property
+    def location(self):
+        """Gets the location of this LogEntry.
+
+
+        :return: The location of this LogEntry.
+        :rtype: List[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this LogEntry.
+
+
+        :param location: The location of this LogEntry.
+        :type location: List[float]
+        """
+        if location is None:
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def water_depth(self):
+        """Gets the water_depth of this LogEntry.
+
+
+        :return: The water_depth of this LogEntry.
+        :rtype: float
+        """
+        return self._water_depth
+
+    @water_depth.setter
+    def water_depth(self, water_depth):
+        """Sets the water_depth of this LogEntry.
+
+
+        :param water_depth: The water_depth of this LogEntry.
+        :type water_depth: float
+        """
+
+        self._water_depth = water_depth
Index: src/gnuboat/mapservice/models/log_entry_geo_json.py
===================================================================
--- src/gnuboat/mapservice/models/log_entry_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_entry_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,137 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.geo_json_point import GeoJsonPoint
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice.models.log_entry_geo_json_properties import LogEntryGeoJsonProperties
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.geo_json_point import GeoJsonPoint  # noqa: E501
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType  # noqa: E501
+from gnuboat.mapservice.models.log_entry_geo_json_properties import LogEntryGeoJsonProperties  # noqa: E501
+
+
+class LogEntryGeoJson(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self, type=None, geometry=None, properties=None
+    ):  # noqa: E501
+        """LogEntryGeoJson - a model defined in OpenAPI
+
+        :param type: The type of this LogEntryGeoJson.  # noqa: E501
+        :type type: GeoJsonType
+        :param geometry: The geometry of this LogEntryGeoJson.  # noqa: E501
+        :type geometry: GeoJsonPoint
+        :param properties: The properties of this LogEntryGeoJson.  # noqa: E501
+        :type properties: LogEntryGeoJsonProperties
+        """
+        self.openapi_types = {
+            'type': GeoJsonType,
+            'geometry': GeoJsonPoint,
+            'properties': LogEntryGeoJsonProperties
+        }
+
+        self.attribute_map = {
+            'type': 'type',
+            'geometry': 'geometry',
+            'properties': 'properties'
+        }
+
+        self._type = type
+        self._geometry = geometry
+        self._properties = properties
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogEntryGeoJson':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogEntryGeoJson of this LogEntryGeoJson.  # noqa: E501
+        :rtype: LogEntryGeoJson
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def type(self):
+        """Gets the type of this LogEntryGeoJson.
+
+
+        :return: The type of this LogEntryGeoJson.
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this LogEntryGeoJson.
+
+
+        :param type: The type of this LogEntryGeoJson.
+        :type type: GeoJsonType
+        """
+        if type is None:
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def geometry(self):
+        """Gets the geometry of this LogEntryGeoJson.
+
+
+        :return: The geometry of this LogEntryGeoJson.
+        :rtype: GeoJsonPoint
+        """
+        return self._geometry
+
+    @geometry.setter
+    def geometry(self, geometry):
+        """Sets the geometry of this LogEntryGeoJson.
+
+
+        :param geometry: The geometry of this LogEntryGeoJson.
+        :type geometry: GeoJsonPoint
+        """
+        if geometry is None:
+            raise ValueError(
+                "Invalid value for `geometry`, must not be `None`"
+            )  # noqa: E501
+
+        self._geometry = geometry
+
+    @property
+    def properties(self):
+        """Gets the properties of this LogEntryGeoJson.
+
+
+        :return: The properties of this LogEntryGeoJson.
+        :rtype: LogEntryGeoJsonProperties
+        """
+        return self._properties
+
+    @properties.setter
+    def properties(self, properties):
+        """Sets the properties of this LogEntryGeoJson.
+
+
+        :param properties: The properties of this LogEntryGeoJson.
+        :type properties: LogEntryGeoJsonProperties
+        """
+        if properties is None:
+            raise ValueError(
+                "Invalid value for `properties`, must not be `None`"
+            )  # noqa: E501
+
+        self._properties = properties
Index: src/gnuboat/mapservice/models/log_entry_geo_json_properties.py
===================================================================
--- src/gnuboat/mapservice/models/log_entry_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_entry_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,91 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class LogEntryGeoJsonProperties(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(self, datetime=None, water_depth=None):  # noqa: E501
+        """LogEntryGeoJsonProperties - a model defined in OpenAPI
+
+        :param datetime: The datetime of this LogEntryGeoJsonProperties.  # noqa: E501
+        :type datetime: datetime
+        :param water_depth: The water_depth of this LogEntryGeoJsonProperties.  # noqa: E501
+        :type water_depth: float
+        """
+        self.openapi_types = {'datetime': datetime, 'water_depth': float}
+
+        self.attribute_map = {
+            'datetime': 'datetime',
+            'water_depth': 'waterDepth'
+        }
+
+        self._datetime = datetime
+        self._water_depth = water_depth
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogEntryGeoJsonProperties':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogEntryGeoJson_properties of this LogEntryGeoJsonProperties.  # noqa: E501
+        :rtype: LogEntryGeoJsonProperties
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def datetime(self):
+        """Gets the datetime of this LogEntryGeoJsonProperties.
+
+
+        :return: The datetime of this LogEntryGeoJsonProperties.
+        :rtype: datetime
+        """
+        return self._datetime
+
+    @datetime.setter
+    def datetime(self, datetime):
+        """Sets the datetime of this LogEntryGeoJsonProperties.
+
+
+        :param datetime: The datetime of this LogEntryGeoJsonProperties.
+        :type datetime: datetime
+        """
+        if datetime is None:
+            raise ValueError(
+                "Invalid value for `datetime`, must not be `None`"
+            )  # noqa: E501
+
+        self._datetime = datetime
+
+    @property
+    def water_depth(self):
+        """Gets the water_depth of this LogEntryGeoJsonProperties.
+
+
+        :return: The water_depth of this LogEntryGeoJsonProperties.
+        :rtype: float
+        """
+        return self._water_depth
+
+    @water_depth.setter
+    def water_depth(self, water_depth):
+        """Sets the water_depth of this LogEntryGeoJsonProperties.
+
+
+        :param water_depth: The water_depth of this LogEntryGeoJsonProperties.
+        :type water_depth: float
+        """
+
+        self._water_depth = water_depth
Index: src/gnuboat/mapservice/models/log_geo_json.py
===================================================================
--- src/gnuboat/mapservice/models/log_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,100 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice.models.log_entry_geo_json import LogEntryGeoJson
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.geo_json_type import GeoJsonType  # noqa: E501
+from gnuboat.mapservice.models.log_entry_geo_json import LogEntryGeoJson  # noqa: E501
+
+
+class LogGeoJson(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(self, type=None, features=None):  # noqa: E501
+        """LogGeoJson - a model defined in OpenAPI
+
+        :param type: The type of this LogGeoJson.  # noqa: E501
+        :type type: GeoJsonType
+        :param features: The features of this LogGeoJson.  # noqa: E501
+        :type features: List[LogEntryGeoJson]
+        """
+        self.openapi_types = {
+            'type': GeoJsonType,
+            'features': List[LogEntryGeoJson]
+        }
+
+        self.attribute_map = {'type': 'type', 'features': 'features'}
+
+        self._type = type
+        self._features = features
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogGeoJson':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogGeoJson of this LogGeoJson.  # noqa: E501
+        :rtype: LogGeoJson
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def type(self):
+        """Gets the type of this LogGeoJson.
+
+
+        :return: The type of this LogGeoJson.
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this LogGeoJson.
+
+
+        :param type: The type of this LogGeoJson.
+        :type type: GeoJsonType
+        """
+        if type is None:
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def features(self):
+        """Gets the features of this LogGeoJson.
+
+
+        :return: The features of this LogGeoJson.
+        :rtype: List[LogEntryGeoJson]
+        """
+        return self._features
+
+    @features.setter
+    def features(self, features):
+        """Sets the features of this LogGeoJson.
+
+
+        :param features: The features of this LogGeoJson.
+        :type features: List[LogEntryGeoJson]
+        """
+        if features is None:
+            raise ValueError(
+                "Invalid value for `features`, must not be `None`"
+            )  # noqa: E501
+
+        self._features = features
Index: src/gnuboat/mapservice/models/log_meta_data.py
===================================================================
--- src/gnuboat/mapservice/models/log_meta_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/log_meta_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,356 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.item_base import ItemBase
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.item_base import ItemBase  # noqa: E501
+
+
+class LogMetaData(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        log_id=None,
+        submitter=None,
+        water=None,
+        device=None,
+        gauge=None,
+        gauge_height=None,
+        start=None,
+        end=None,
+        processing_state=None,
+        entries_count=None,
+        comment=None
+    ):  # noqa: E501
+        """LogMetaData - a model defined in OpenAPI
+
+        :param log_id: The log_id of this LogMetaData.  # noqa: E501
+        :type log_id: int
+        :param submitter: The submitter of this LogMetaData.  # noqa: E501
+        :type submitter: str
+        :param water: The water of this LogMetaData.  # noqa: E501
+        :type water: ItemBase
+        :param device: The device of this LogMetaData.  # noqa: E501
+        :type device: ItemBase
+        :param gauge: The gauge of this LogMetaData.  # noqa: E501
+        :type gauge: ItemBase
+        :param gauge_height: The gauge_height of this LogMetaData.  # noqa: E501
+        :type gauge_height: float
+        :param start: The start of this LogMetaData.  # noqa: E501
+        :type start: datetime
+        :param end: The end of this LogMetaData.  # noqa: E501
+        :type end: datetime
+        :param processing_state: The processing_state of this LogMetaData.  # noqa: E501
+        :type processing_state: ItemBase
+        :param entries_count: The entries_count of this LogMetaData.  # noqa: E501
+        :type entries_count: int
+        :param comment: The comment of this LogMetaData.  # noqa: E501
+        :type comment: str
+        """
+        self.openapi_types = {
+            'log_id': int,
+            'submitter': str,
+            'water': ItemBase,
+            'device': ItemBase,
+            'gauge': ItemBase,
+            'gauge_height': float,
+            'start': datetime,
+            'end': datetime,
+            'processing_state': ItemBase,
+            'entries_count': int,
+            'comment': str
+        }
+
+        self.attribute_map = {
+            'log_id': 'logId',
+            'submitter': 'submitter',
+            'water': 'water',
+            'device': 'device',
+            'gauge': 'gauge',
+            'gauge_height': 'gaugeHeight',
+            'start': 'start',
+            'end': 'end',
+            'processing_state': 'processingState',
+            'entries_count': 'entriesCount',
+            'comment': 'comment'
+        }
+
+        self._log_id = log_id
+        self._submitter = submitter
+        self._water = water
+        self._device = device
+        self._gauge = gauge
+        self._gauge_height = gauge_height
+        self._start = start
+        self._end = end
+        self._processing_state = processing_state
+        self._entries_count = entries_count
+        self._comment = comment
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'LogMetaData':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The LogMetaData of this LogMetaData.  # noqa: E501
+        :rtype: LogMetaData
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def log_id(self):
+        """Gets the log_id of this LogMetaData.
+
+
+        :return: The log_id of this LogMetaData.
+        :rtype: int
+        """
+        return self._log_id
+
+    @log_id.setter
+    def log_id(self, log_id):
+        """Sets the log_id of this LogMetaData.
+
+
+        :param log_id: The log_id of this LogMetaData.
+        :type log_id: int
+        """
+
+        self._log_id = log_id
+
+    @property
+    def submitter(self):
+        """Gets the submitter of this LogMetaData.
+
+
+        :return: The submitter of this LogMetaData.
+        :rtype: str
+        """
+        return self._submitter
+
+    @submitter.setter
+    def submitter(self, submitter):
+        """Sets the submitter of this LogMetaData.
+
+
+        :param submitter: The submitter of this LogMetaData.
+        :type submitter: str
+        """
+
+        self._submitter = submitter
+
+    @property
+    def water(self):
+        """Gets the water of this LogMetaData.
+
+
+        :return: The water of this LogMetaData.
+        :rtype: ItemBase
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this LogMetaData.
+
+
+        :param water: The water of this LogMetaData.
+        :type water: ItemBase
+        """
+
+        self._water = water
+
+    @property
+    def device(self):
+        """Gets the device of this LogMetaData.
+
+
+        :return: The device of this LogMetaData.
+        :rtype: ItemBase
+        """
+        return self._device
+
+    @device.setter
+    def device(self, device):
+        """Sets the device of this LogMetaData.
+
+
+        :param device: The device of this LogMetaData.
+        :type device: ItemBase
+        """
+
+        self._device = device
+
+    @property
+    def gauge(self):
+        """Gets the gauge of this LogMetaData.
+
+
+        :return: The gauge of this LogMetaData.
+        :rtype: ItemBase
+        """
+        return self._gauge
+
+    @gauge.setter
+    def gauge(self, gauge):
+        """Sets the gauge of this LogMetaData.
+
+
+        :param gauge: The gauge of this LogMetaData.
+        :type gauge: ItemBase
+        """
+
+        self._gauge = gauge
+
+    @property
+    def gauge_height(self):
+        """Gets the gauge_height of this LogMetaData.
+
+
+        :return: The gauge_height of this LogMetaData.
+        :rtype: float
+        """
+        return self._gauge_height
+
+    @gauge_height.setter
+    def gauge_height(self, gauge_height):
+        """Sets the gauge_height of this LogMetaData.
+
+
+        :param gauge_height: The gauge_height of this LogMetaData.
+        :type gauge_height: float
+        """
+        if gauge_height is None:
+            raise ValueError(
+                "Invalid value for `gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_height = gauge_height
+
+    @property
+    def start(self):
+        """Gets the start of this LogMetaData.
+
+
+        :return: The start of this LogMetaData.
+        :rtype: datetime
+        """
+        return self._start
+
+    @start.setter
+    def start(self, start):
+        """Sets the start of this LogMetaData.
+
+
+        :param start: The start of this LogMetaData.
+        :type start: datetime
+        """
+        if start is None:
+            raise ValueError(
+                "Invalid value for `start`, must not be `None`"
+            )  # noqa: E501
+
+        self._start = start
+
+    @property
+    def end(self):
+        """Gets the end of this LogMetaData.
+
+
+        :return: The end of this LogMetaData.
+        :rtype: datetime
+        """
+        return self._end
+
+    @end.setter
+    def end(self, end):
+        """Sets the end of this LogMetaData.
+
+
+        :param end: The end of this LogMetaData.
+        :type end: datetime
+        """
+        if end is None:
+            raise ValueError(
+                "Invalid value for `end`, must not be `None`"
+            )  # noqa: E501
+
+        self._end = end
+
+    @property
+    def processing_state(self):
+        """Gets the processing_state of this LogMetaData.
+
+
+        :return: The processing_state of this LogMetaData.
+        :rtype: ItemBase
+        """
+        return self._processing_state
+
+    @processing_state.setter
+    def processing_state(self, processing_state):
+        """Sets the processing_state of this LogMetaData.
+
+
+        :param processing_state: The processing_state of this LogMetaData.
+        :type processing_state: ItemBase
+        """
+
+        self._processing_state = processing_state
+
+    @property
+    def entries_count(self):
+        """Gets the entries_count of this LogMetaData.
+
+
+        :return: The entries_count of this LogMetaData.
+        :rtype: int
+        """
+        return self._entries_count
+
+    @entries_count.setter
+    def entries_count(self, entries_count):
+        """Sets the entries_count of this LogMetaData.
+
+
+        :param entries_count: The entries_count of this LogMetaData.
+        :type entries_count: int
+        """
+        if entries_count is None:
+            raise ValueError(
+                "Invalid value for `entries_count`, must not be `None`"
+            )  # noqa: E501
+
+        self._entries_count = entries_count
+
+    @property
+    def comment(self):
+        """Gets the comment of this LogMetaData.
+
+
+        :return: The comment of this LogMetaData.
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this LogMetaData.
+
+
+        :param comment: The comment of this LogMetaData.
+        :type comment: str
+        """
+
+        self._comment = comment
Index: src/gnuboat/mapservice/models/order.py
===================================================================
--- src/gnuboat/mapservice/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,41 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice 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/gnuboat/mapservice/models/osm_type.py
===================================================================
--- src/gnuboat/mapservice/models/osm_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/osm_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,42 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class OsmType(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    NODE = "Node"
+    WAY = "Way"
+    RELATION = "Relation"
+
+    def __init__(self):  # noqa: E501
+        """OsmType - a model defined in OpenAPI
+
+        """
+        self.openapi_types = {}
+
+        self.attribute_map = {}
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'OsmType':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The osmType of this OsmType.  # noqa: E501
+        :rtype: OsmType
+        """
+        return util.deserialize_model(dikt, cls)
Index: src/gnuboat/mapservice/models/user.py
===================================================================
--- src/gnuboat/mapservice/models/user.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/user.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,229 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class User(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        username=None,
+        email=None,
+        first_name=None,
+        last_name=None,
+        activated=None,
+        license_accepted=None,
+        api_keys=None
+    ):  # noqa: E501
+        """User - a model defined in OpenAPI
+
+        :param username: The username of this User.  # noqa: E501
+        :type username: str
+        :param email: The email of this User.  # noqa: E501
+        :type email: str
+        :param first_name: The first_name of this User.  # noqa: E501
+        :type first_name: str
+        :param last_name: The last_name of this User.  # noqa: E501
+        :type last_name: str
+        :param activated: The activated of this User.  # noqa: E501
+        :type activated: bool
+        :param license_accepted: The license_accepted of this User.  # noqa: E501
+        :type license_accepted: bool
+        :param api_keys: The api_keys of this User.  # noqa: E501
+        :type api_keys: List[str]
+        """
+        self.openapi_types = {
+            'username': str,
+            'email': str,
+            'first_name': str,
+            'last_name': str,
+            'activated': bool,
+            'license_accepted': bool,
+            'api_keys': List[str]
+        }
+
+        self.attribute_map = {
+            'username': 'username',
+            'email': 'email',
+            'first_name': 'firstName',
+            'last_name': 'lastName',
+            'activated': 'activated',
+            'license_accepted': 'licenseAccepted',
+            'api_keys': 'apiKeys'
+        }
+
+        self._username = username
+        self._email = email
+        self._first_name = first_name
+        self._last_name = last_name
+        self._activated = activated
+        self._license_accepted = license_accepted
+        self._api_keys = api_keys
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'User':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The User of this User.  # noqa: E501
+        :rtype: User
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def username(self):
+        """Gets the username of this User.
+
+
+        :return: The username of this User.
+        :rtype: str
+        """
+        return self._username
+
+    @username.setter
+    def username(self, username):
+        """Sets the username of this User.
+
+
+        :param username: The username of this User.
+        :type username: str
+        """
+
+        self._username = username
+
+    @property
+    def email(self):
+        """Gets the email of this User.
+
+
+        :return: The email of this User.
+        :rtype: str
+        """
+        return self._email
+
+    @email.setter
+    def email(self, email):
+        """Sets the email of this User.
+
+
+        :param email: The email of this User.
+        :type email: str
+        """
+
+        self._email = email
+
+    @property
+    def first_name(self):
+        """Gets the first_name of this User.
+
+
+        :return: The first_name of this User.
+        :rtype: str
+        """
+        return self._first_name
+
+    @first_name.setter
+    def first_name(self, first_name):
+        """Sets the first_name of this User.
+
+
+        :param first_name: The first_name of this User.
+        :type first_name: str
+        """
+
+        self._first_name = first_name
+
+    @property
+    def last_name(self):
+        """Gets the last_name of this User.
+
+
+        :return: The last_name of this User.
+        :rtype: str
+        """
+        return self._last_name
+
+    @last_name.setter
+    def last_name(self, last_name):
+        """Sets the last_name of this User.
+
+
+        :param last_name: The last_name of this User.
+        :type last_name: str
+        """
+
+        self._last_name = last_name
+
+    @property
+    def activated(self):
+        """Gets the activated of this User.
+
+
+        :return: The activated of this User.
+        :rtype: bool
+        """
+        return self._activated
+
+    @activated.setter
+    def activated(self, activated):
+        """Sets the activated of this User.
+
+
+        :param activated: The activated of this User.
+        :type activated: bool
+        """
+
+        self._activated = activated
+
+    @property
+    def license_accepted(self):
+        """Gets the license_accepted of this User.
+
+
+        :return: The license_accepted of this User.
+        :rtype: bool
+        """
+        return self._license_accepted
+
+    @license_accepted.setter
+    def license_accepted(self, license_accepted):
+        """Sets the license_accepted of this User.
+
+
+        :param license_accepted: The license_accepted of this User.
+        :type license_accepted: bool
+        """
+
+        self._license_accepted = license_accepted
+
+    @property
+    def api_keys(self):
+        """Gets the api_keys of this User.
+
+
+        :return: The api_keys of this User.
+        :rtype: List[str]
+        """
+        return self._api_keys
+
+    @api_keys.setter
+    def api_keys(self, api_keys):
+        """Sets the api_keys of this User.
+
+
+        :param api_keys: The api_keys of this User.
+        :type api_keys: List[str]
+        """
+
+        self._api_keys = api_keys
Index: src/gnuboat/mapservice/models/user_creation.py
===================================================================
--- src/gnuboat/mapservice/models/user_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/user_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,226 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice import util
+
+
+class UserCreation(Model):
+    """NOTE: This class is auto generated by OpenAPI Generator
+       (https://openapi-generator.tech).
+
+    Do not edit the class manually.
+    """
+    def __init__(
+        self,
+        username=None,
+        email=None,
+        first_name=None,
+        last_name=None,
+        password=None,
+        license_accepted=None
+    ):  # noqa: E501
+        """UserCreation - a model defined in OpenAPI
+
+        :param username: The username of this UserCreation.  # noqa: E501
+        :type username: str
+        :param email: The email of this UserCreation.  # noqa: E501
+        :type email: str
+        :param first_name: The first_name of this UserCreation.  # noqa: E501
+        :type first_name: str
+        :param last_name: The last_name of this UserCreation.  # noqa: E501
+        :type last_name: str
+        :param password: The password of this UserCreation.  # noqa: E501
+        :type password: str
+        :param license_accepted: The license_accepted of this UserCreation.  # noqa: E501
+        :type license_accepted: bool
+        """
+        self.openapi_types = {
+            'username': str,
+            'email': str,
+            'first_name': str,
+            'last_name': str,
+            'password': str,
+            'license_accepted': bool
+        }
+
+        self.attribute_map = {
+            'username': 'username',
+            'email': 'email',
+            'first_name': 'firstName',
+            'last_name': 'lastName',
+            'password': 'password',
+            'license_accepted': 'licenseAccepted'
+        }
+
+        self._username = username
+        self._email = email
+        self._first_name = first_name
+        self._last_name = last_name
+        self._password = password
+        self._license_accepted = license_accepted
+
+    @classmethod
+    def from_dict(cls, dikt) -> 'UserCreation':
+        """Returns the dict as a model
+
+        :param dikt: A dict.
+        :type: dict
+        :return: The UserCreation of this UserCreation.  # noqa: E501
+        :rtype: UserCreation
+        """
+        return util.deserialize_model(dikt, cls)
+
+    @property
+    def username(self):
+        """Gets the username of this UserCreation.
+
+
+        :return: The username of this UserCreation.
+        :rtype: str
+        """
+        return self._username
+
+    @username.setter
+    def username(self, username):
+        """Sets the username of this UserCreation.
+
+
+        :param username: The username of this UserCreation.
+        :type username: str
+        """
+        if username is None:
+            raise ValueError(
+                "Invalid value for `username`, must not be `None`"
+            )  # noqa: E501
+
+        self._username = username
+
+    @property
+    def email(self):
+        """Gets the email of this UserCreation.
+
+
+        :return: The email of this UserCreation.
+        :rtype: str
+        """
+        return self._email
+
+    @email.setter
+    def email(self, email):
+        """Sets the email of this UserCreation.
+
+
+        :param email: The email of this UserCreation.
+        :type email: str
+        """
+        if email is None:
+            raise ValueError(
+                "Invalid value for `email`, must not be `None`"
+            )  # noqa: E501
+
+        self._email = email
+
+    @property
+    def first_name(self):
+        """Gets the first_name of this UserCreation.
+
+
+        :return: The first_name of this UserCreation.
+        :rtype: str
+        """
+        return self._first_name
+
+    @first_name.setter
+    def first_name(self, first_name):
+        """Sets the first_name of this UserCreation.
+
+
+        :param first_name: The first_name of this UserCreation.
+        :type first_name: str
+        """
+        if first_name is None:
+            raise ValueError(
+                "Invalid value for `first_name`, must not be `None`"
+            )  # noqa: E501
+
+        self._first_name = first_name
+
+    @property
+    def last_name(self):
+        """Gets the last_name of this UserCreation.
+
+
+        :return: The last_name of this UserCreation.
+        :rtype: str
+        """
+        return self._last_name
+
+    @last_name.setter
+    def last_name(self, last_name):
+        """Sets the last_name of this UserCreation.
+
+
+        :param last_name: The last_name of this UserCreation.
+        :type last_name: str
+        """
+        if last_name is None:
+            raise ValueError(
+                "Invalid value for `last_name`, must not be `None`"
+            )  # noqa: E501
+
+        self._last_name = last_name
+
+    @property
+    def password(self):
+        """Gets the password of this UserCreation.
+
+
+        :return: The password of this UserCreation.
+        :rtype: str
+        """
+        return self._password
+
+    @password.setter
+    def password(self, password):
+        """Sets the password of this UserCreation.
+
+
+        :param password: The password of this UserCreation.
+        :type password: str
+        """
+        if password is None:
+            raise ValueError(
+                "Invalid value for `password`, must not be `None`"
+            )  # noqa: E501
+
+        self._password = password
+
+    @property
+    def license_accepted(self):
+        """Gets the license_accepted of this UserCreation.
+
+
+        :return: The license_accepted of this UserCreation.
+        :rtype: bool
+        """
+        return self._license_accepted
+
+    @license_accepted.setter
+    def license_accepted(self, license_accepted):
+        """Sets the license_accepted of this UserCreation.
+
+
+        :param license_accepted: The license_accepted of this UserCreation.
+        :type license_accepted: bool
+        """
+        if license_accepted is None:
+            raise ValueError(
+                "Invalid value for `license_accepted`, must not be `None`"
+            )  # noqa: E501
+
+        self._license_accepted = license_accepted
Index: src/gnuboat/mapservice/models/water.py
===================================================================
--- src/gnuboat/mapservice/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,244 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.gauge import Gauge
+from gnuboat.mapservice.models.log_meta_data import LogMetaData
+from gnuboat.mapservice.models.osm_type import OsmType
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.models.gauge import Gauge  # noqa: E501
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+from gnuboat.mapservice.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,
+        logs=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]
+        :param logs: The logs of this Water.  # noqa: E501
+        :type logs: List[LogMetaData]
+        """
+        self.openapi_types = {
+            'water_id': int,
+            'name': str,
+            'manager': str,
+            'osm_id': int,
+            'osm_type': OsmType,
+            'gauges': List[Gauge],
+            'logs': List[LogMetaData]
+        }
+
+        self.attribute_map = {
+            'water_id': 'waterId',
+            'name': 'name',
+            'manager': 'manager',
+            'osm_id': 'osmId',
+            'osm_type': 'osmType',
+            'gauges': 'gauges',
+            'logs': 'logs'
+        }
+
+        self._water_id = water_id
+        self._name = name
+        self._manager = manager
+        self._osm_id = osm_id
+        self._osm_type = osm_type
+        self._gauges = gauges
+        self._logs = logs
+
+    @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
+
+    @property
+    def logs(self):
+        """Gets the logs of this Water.
+
+
+        :return: The logs of this Water.
+        :rtype: List[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Water.
+
+
+        :param logs: The logs of this Water.
+        :type logs: List[LogMetaData]
+        """
+
+        self._logs = logs
Index: src/gnuboat/mapservice/models/water_creation.py
===================================================================
--- src/gnuboat/mapservice/models/water_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/models/water_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,119 @@
+# coding: utf-8
+
+from __future__ import absolute_import
+from datetime import date, datetime  # noqa: F401
+
+from typing import List, Dict  # noqa: F401
+
+from gnuboat.mapservice.models.base_model_ import Model
+from gnuboat.mapservice.models.osm_type import OsmType
+from gnuboat.mapservice import util
+
+from gnuboat.mapservice.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: src/gnuboat/mapservice/openapi/openapi.yaml
===================================================================
--- src/gnuboat/mapservice/openapi/openapi.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/openapi/openapi.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,2445 @@
+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
+- description: All actions used to manage devices of an user
+  name: devices
+- description: All actions used to manage logs of an water, device, gauge or user
+  name: logs
+- description: Tile serving
+  name: tiles
+paths:
+  /devices:
+    get:
+      description: Returns all devices of user
+      operationId: devices_get
+      parameters:
+      - example: Gnu
+        explode: true
+        in: query
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/itemName'
+        style: form
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: order_by
+        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:
+                Devices:
+                  $ref: '#/components/examples/devices'
+              schema:
+                $ref: '#/components/schemas/devices'
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Find devices by id
+      tags:
+      - devices
+      x-openapi-router-controller: gnuboat.mapservice.controllers.devices_controller
+    post:
+      description: Adds a new device to the database
+      operationId: devices_create
+      requestBody:
+        content:
+          application/json:
+            example:
+              name: Lovely Boat
+              sensorDepth: 2
+            schema:
+              $ref: '#/components/schemas/DeviceCreation'
+      responses:
+        "201":
+          content:
+            application/json:
+              examples:
+                Device:
+                  $ref: '#/components/examples/Device'
+              schema:
+                $ref: '#/components/schemas/Device'
+          description: Device created
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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 device
+      tags:
+      - devices
+      x-openapi-router-controller: gnuboat.mapservice.controllers.devices_controller
+  /devices/{id}:
+    delete:
+      description: Deletes given device and returns remaining devices of the user
+      operationId: devices_device_delete
+      parameters:
+      - description: Item id
+        example: 1
+        explode: false
+        in: path
+        name: id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              example:
+                Devices:
+                  $ref: '#/components/examples/devices'
+              schema:
+                $ref: '#/components/schemas/devices'
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Deletes device
+      tags:
+      - devices
+      x-openapi-router-controller: gnuboat.mapservice.controllers.devices_controller
+    get:
+      description: Returns the device identified by id
+      operationId: devices_get_by_id
+      parameters:
+      - description: Item ID
+        example: 1
+        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/Device'
+              schema:
+                $ref: '#/components/schemas/Device'
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Represents a device
+      tags:
+      - devices
+      x-openapi-router-controller: gnuboat.mapservice.controllers.devices_controller
+  /logs:
+    get:
+      description: Returns all log metadata
+      operationId: logs_get
+      parameters:
+      - example: autotests
+        explode: true
+        in: query
+        name: submitter
+        required: false
+        schema:
+          $ref: '#/components/schemas/username'
+        style: form
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: order_by
+        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:
+                Logs:
+                  $ref: '#/components/examples/logs'
+              schema:
+                $ref: '#/components/schemas/logs'
+          description: OK
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      summary: Find logs by
+      tags:
+      - logs
+      x-openapi-router-controller: gnuboat.mapservice.controllers.logs_controller
+    post:
+      description: Creates a new log from given meta data. The log entries itself,
+        must be uploaded per /logs/{log_id}
+      operationId: logs_log_create
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/LogCreation'
+      responses:
+        "201":
+          content:
+            application/json:
+              examples:
+                LogMetaData:
+                  $ref: '#/components/examples/LogMetaData'
+              schema:
+                $ref: '#/components/schemas/LogMetaData'
+          description: Log created
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "413":
+          content:
+            application/problem+json:
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Uploaded file is to large (413)
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Add a new log
+      tags:
+      - logs
+      x-openapi-router-controller: gnuboat.mapservice.controllers.logs_controller
+  /logs/{log_id}:
+    delete:
+      description: Deletes given log and returns remaining logs of the gauge
+      operationId: logs_log_delete
+      parameters:
+      - description: Log ID
+        example: 1
+        explode: false
+        in: path
+        name: log_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              example:
+                Devices:
+                  $ref: '#/components/examples/logs'
+              schema:
+                $ref: '#/components/schemas/logs'
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      security:
+      - basicAuth: []
+      - apiKeyAuth: []
+      summary: Deletes log
+      tags:
+      - logs
+      x-openapi-router-controller: gnuboat.mapservice.controllers.logs_controller
+    get:
+      description: Returns the log identified by id
+      operationId: logs_log_get_by_id
+      parameters:
+      - description: Log ID
+        example: 1
+        explode: false
+        in: path
+        name: log_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              examples:
+                Log:
+                  $ref: '#/components/examples/Log'
+              schema:
+                $ref: '#/components/schemas/Log'
+            application/geo+json:
+              examples:
+                Log:
+                  $ref: '#/components/examples/LogGeoJson'
+              schema:
+                $ref: '#/components/schemas/LogGeoJson'
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      summary: Represents a log
+      tags:
+      - logs
+      x-openapi-router-controller: gnuboat.mapservice.controllers.logs_controller
+    post:
+      description: Adds log entries from uploaded file to current Log
+      operationId: logs_log_upload
+      parameters:
+      - description: Log ID
+        explode: false
+        in: path
+        name: log_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      requestBody:
+        content:
+          text/plain:
+            schema:
+              format: binary
+              type: string
+      responses:
+        "201":
+          content:
+            application/json:
+              examples:
+                Log:
+                  $ref: '#/components/examples/LogMetaData'
+              schema:
+                $ref: '#/components/schemas/LogMetaData'
+          description: Logs uploaded
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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 log entries
+      tags:
+      - logs
+      x-openapi-router-controller: gnuboat.mapservice.controllers.logs_controller
+  /tiles/gnuboat/{accuracy}/{resolution}/{zoom}/{x_tile}/{y_tile}.png:
+    get:
+      description: Returns the map tile x_tile, y_tile at Zoomlevel zoom
+      operationId: tiles_tile_get
+      parameters:
+      - description: Accuracy of generated tiles
+        example: high
+        explode: false
+        in: path
+        name: accuracy
+        required: true
+        schema:
+          enum:
+          - high
+          - low
+          title: Accuracy of the tiles (for a higher accuracy more measured points
+            per square meter are needed to generate a pixel of water depth)
+          type: string
+        style: simple
+      - description: Resolution of the tiles
+        example: 256
+        explode: false
+        in: path
+        name: resolution
+        required: true
+        schema:
+          enum:
+          - 256
+          - 512
+          format: int32
+          title: Tile Resolution (Pixel per Tile) (Placed here, because codegenerator
+            could use Enums in components/schemas
+          type: integer
+        style: simple
+      - description: Zoomlevel
+        example: 15
+        explode: false
+        in: path
+        name: zoom
+        required: true
+        schema:
+          $ref: '#/components/schemas/tileZoomlevel'
+        style: simple
+      - description: Number of the tile in x dimension
+        example: 17298
+        explode: false
+        in: path
+        name: x_tile
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      - description: Number of the tile in y dimension
+        example: 21435
+        explode: false
+        in: path
+        name: y_tile
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      responses:
+        "200":
+          content:
+            image/*:
+              schema:
+                format: binary
+                type: string
+          description: OK
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+        "500":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Internal Server Error (HTTP Code 500)
+      summary: Represents a tile
+      tags:
+      - tiles
+      x-xfail-test:
+        reason: URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator
+      x-openapi-router-controller: gnuboat.mapservice.controllers.tiles_controller
+  /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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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: gnuboat.mapservice.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: gnuboat.mapservice.controllers.users_controller
+    post:
+      description: Registers a new user
+      operationId: users_register
+      requestBody:
+        content:
+          application/json:
+            examples:
+              UserCreation:
+                $ref: '#/components/examples/UserCreation'
+            schema:
+              $ref: '#/components/schemas/UserCreation'
+      responses:
+        "201":
+          content:
+            application/json:
+              examples:
+                User:
+                  $ref: '#/components/examples/User'
+              schema:
+                $ref: '#/components/schemas/User'
+          description: Userr created
+        "400":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+      summary: Registers a new user
+      tags:
+      - users
+      x-xfail-test:
+        reason: Boolean value True could not converted by openapi-generator
+      x-openapi-router-controller: gnuboat.mapservice.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: gnuboat.mapservice.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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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: gnuboat.mapservice.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: test_key_delete
+        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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Unauthorized (401) acces to resource
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      security:
+      - basicAuth: []
+      summary: Deletes API key
+      tags:
+      - users
+      x-openapi-router-controller: gnuboat.mapservice.controllers.users_controller
+  /waters:
+    get:
+      description: Returns all waters
+      operationId: waters_get
+      parameters:
+      - example: Test
+        explode: true
+        in: query
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/itemName'
+        style: form
+      - example: autotests
+        explode: true
+        in: query
+        name: manager
+        required: false
+        schema:
+          $ref: '#/components/schemas/username'
+        style: form
+      - description: A stakeholder is a user, which has uploaded Logfiles to water,
+          added a gauge, ...
+        example: autotests
+        explode: true
+        in: query
+        name: stakeholder
+        required: false
+        schema:
+          $ref: '#/components/schemas/username'
+        style: form
+      - description: 'Order by field: name'
+        explode: true
+        in: query
+        name: order_by
+        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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      summary: Find waters
+      tags:
+      - waters
+      x-openapi-router-controller: gnuboat.mapservice.controllers.waters_controller
+    post:
+      description: Adds a new water to the database
+      operationId: waters_create
+      requestBody:
+        content:
+          application/json:
+            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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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: gnuboat.mapservice.controllers.waters_controller
+  /waters/{id}:
+    get:
+      description: Returns the water identified by id
+      operationId: waters_get_by_id
+      parameters:
+      - description: Item ID
+        example: 1
+        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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      summary: Represents a water
+      tags:
+      - waters
+      x-openapi-router-controller: gnuboat.mapservice.controllers.waters_controller
+  /waters/{water_id}/gauges:
+    get:
+      description: Returns all gauges of water waterId
+      operationId: waters_gauges_get
+      parameters:
+      - description: Water ID
+        example: 1
+        explode: false
+        in: path
+        name: water_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      - example: Test
+        explode: true
+        in: query
+        name: name
+        required: false
+        schema:
+          $ref: '#/components/schemas/itemName'
+        style: form
+      - example: autotests
+        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: order_by
+        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: gnuboat.mapservice.controllers.waters_controller
+    post:
+      description: Adds a new gauge for water waterId to the database
+      operationId: waters_gauge_create
+      parameters:
+      - description: Water ID
+        example: 1
+        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
+              referenceWaterLevelGaugeHeight: 5.1
+            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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "401":
+          content:
+            application/problem+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: gnuboat.mapservice.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
+        example: 1
+        explode: false
+        in: path
+        name: water_id
+        required: true
+        schema:
+          $ref: '#/components/schemas/itemId'
+        style: simple
+      - description: Gauge ID
+        example: 1
+        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/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Bad Request (400)
+        "404":
+          content:
+            application/problem+json:
+              examples:
+                HttpError:
+                  $ref: '#/components/examples/HttpError'
+              schema:
+                $ref: '#/components/schemas/HttpError'
+          description: Item with given Id not found
+      summary: Represents a gauge
+      tags:
+      - waters
+      x-openapi-router-controller: gnuboat.mapservice.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?
+        licenseAccepted: true
+    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
+        referenceWaterLevelGaugeHeight: 5.1
+        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
+        referenceWaterLevelGaugeHeight: 5.1
+    GaugeGeoJson:
+      value:
+        type: Feature
+        geometry:
+          type: Point
+          coordinates:
+          - 90.136111
+          - 29.934722
+          properties:
+            name: New Orleans
+            manager: jane
+            referenceWaterLevelGaugeHeight: 5.1
+            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
+            referenceWaterLevelGaugeHeight: 5.1
+            comment: Gauge for Mississippi in New Orleans
+    Device:
+      summary: A sample device
+      value:
+        deviceId: 1
+        name: Lovely Boat
+        sensorDepth: 0.2
+        comment: Really a pleasure to measure
+    devices:
+      value:
+      - deviceId: 1
+        name: Lovely Boat
+        sensorDepth: 0.2
+        comment: Really a pleasure to measure
+    LogMetaData:
+      value:
+        logId: 1
+        submitter:
+          userId: 1
+          name: Jane
+        device:
+          deviceId: 1
+          name: Lovely Boat
+          sensorDepth: 0.2
+        gauge:
+          gaugeId: 1
+          name: New Orleans
+          manager: jane
+          location:
+          - 90.136111
+          - 29.934722
+        gaugeHeight: 8
+        start: 2017-07-21T10:32:28.000Z
+        end: 2017-07-21T17:32:28.000Z
+        entriesCount: 12600
+    Log:
+      value:
+        metaData:
+          logId: 1
+          submitter:
+            userId: 1
+            name: Jane
+          device:
+            deviceId: 1
+            name: Lovely Boat
+            sensorDepth: 0.2
+          gauge:
+            gaugeId: 1
+            name: New Orleans
+            manager: jane
+            location:
+            - 90.136111
+            - 29.934722
+          gaugeHeight: 8
+          start: 2017-07-21T10:32:28.000Z
+          end: 2017-07-21T17:32:28.000Z
+          entriesCount: 1
+        entries:
+        - datetime: null
+          location:
+          - 90.136111
+          - 29.934722
+          waterDepth: 10
+    LogCreation:
+      value:
+        water: 1
+        device: 1
+        gauge: 1
+        gaugeHeight: 666
+        comment: This is an Example for LogCreation
+    LogGeoJson:
+      value:
+        type: FeatureCollection
+        features:
+        - geometry:
+            coordinates:
+            - 90.136111
+            - 29.934722
+            type: Point
+          properties:
+            datetime: 2017-07-21T10:32:28.000Z
+            waterDepth: 10
+        - geometry:
+            coordinates:
+            - 90.236111
+            - 30.034722
+            type: Point
+          properties:
+            datetime: 2017-07-21T11:32:28.000Z
+            waterDepth: 5
+    logs:
+      value:
+      - logId: 1
+        submitter:
+          userId: 1
+          name: Jane
+        device:
+          deviceId: 1
+          name: Lovely Boat
+          sensorDepth: 0.2
+        gauge:
+          gaugeId: 1
+          name: New Orleans
+          manager: jane
+          location:
+          - 90.136111
+          - 29.934722
+        gaugeHeight: 8
+        start: 2017-07-21T10:32:28.000Z
+        end: 2017-07-21T17:32:28.000Z
+        entriesCount: 12600
+    HttpError:
+      value:
+        type: http://example.com/waters/not-found
+        title: Water 1 not found
+        detail: There is no water with id 1 in database
+        instance: http://example.net/waters/1
+  parameters:
+    orderBy:
+      description: 'Order by field: name'
+      explode: true
+      in: query
+      name: order_by
+      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/problem+json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Bad Request (400)
+    Unauthorized:
+      content:
+        application/problem+json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Unauthorized (401) acces to resource
+    NotFound:
+      content:
+        application/problem+json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Item with given Id not found
+    PayloadToLarge:
+      content:
+        application/problem+json:
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Uploaded file is to large (413)
+    InternalServerError:
+      content:
+        application/problem+json:
+          examples:
+            HttpError:
+              $ref: '#/components/examples/HttpError'
+          schema:
+            $ref: '#/components/schemas/HttpError'
+      description: Internal Server Error (HTTP Code 500)
+  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: int64
+      title: Item ID
+      type: integer
+    itemName:
+      title: Item Name
+      type: string
+    itemBase:
+      example:
+        label: label
+        id: 5
+        url: http://example.com/aeiou
+      properties:
+        label:
+          description: A representative name, for the item, which could be understand
+            by the user. Mostly it should be the itemName
+          type: string
+        id:
+          format: int64
+          title: Item ID
+          type: integer
+        url:
+          description: Url, where details of the object could be retrieved
+          format: url
+          type: string
+      required:
+      - id
+      - label
+      title: Basic, generic item data
+      type: object
+    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
+      - FeatureCollection
+      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
+    sensorDepth:
+      minimum: 0
+      title: Depth of sensor beneath water level in cm (positive means below water)
+      type: number
+    User:
+      example:
+        firstName: firstName
+        lastName: lastName
+        apiKeys:
+        - null
+        - null
+        licenseAccepted: true
+        email: email
+        username: username
+        activated: true
+      properties:
+        username:
+          title: Username
+          type: string
+        email:
+          type: string
+        firstName:
+          type: string
+        lastName:
+          type: string
+        activated:
+          type: boolean
+        licenseAccepted:
+          type: boolean
+        apiKeys:
+          items:
+            $ref: '#/components/schemas/apiKey'
+          title: Array of API keys
+          type: array
+      title: User
+      type: object
+    UserCreation:
+      example:
+        username: john_doe
+        firstName: John
+        lastName: Doe
+        password: "1234"
+        licenseAccepted: true
+        email: john.doe@example.org
+      properties:
+        username:
+          title: Username
+          type: string
+        email:
+          type: string
+        firstName:
+          type: string
+        lastName:
+          type: string
+        password:
+          type: string
+        licenseAccepted:
+          type: boolean
+      required:
+      - email
+      - firstName
+      - lastName
+      - licenseAccepted
+      - 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
+          referenceWaterLevelGaugeHeight: 5.637377
+          logs:
+          - gauge:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            submitter: submitter
+            processingState:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            entriesCount: 2
+            start: 2000-01-23T04:56:07.000+00:00
+            logId: 1
+            gaugeHeight: 5.637377
+            end: 2000-01-23T04:56:07.000+00:00
+            comment: comment
+            water:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            device:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+          - gauge:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            submitter: submitter
+            processingState:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            entriesCount: 2
+            start: 2000-01-23T04:56:07.000+00:00
+            logId: 1
+            gaugeHeight: 5.637377
+            end: 2000-01-23T04:56:07.000+00:00
+            comment: comment
+            water:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            device:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+        - manager: manager
+          name: name
+          location:
+          - 5.962133916683182
+          - 5.962133916683182
+          comment: comment
+          gaugeId: 1
+          referenceWaterLevelGaugeHeight: 5.637377
+          logs:
+          - gauge:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            submitter: submitter
+            processingState:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            entriesCount: 2
+            start: 2000-01-23T04:56:07.000+00:00
+            logId: 1
+            gaugeHeight: 5.637377
+            end: 2000-01-23T04:56:07.000+00:00
+            comment: comment
+            water:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            device:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+          - gauge:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            submitter: submitter
+            processingState:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            entriesCount: 2
+            start: 2000-01-23T04:56:07.000+00:00
+            logId: 1
+            gaugeHeight: 5.637377
+            end: 2000-01-23T04:56:07.000+00:00
+            comment: comment
+            water:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+            device:
+              label: label
+              id: 5
+              url: http://example.com/aeiou
+        logs:
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+        waterId: 0
+      properties:
+        waterId:
+          format: int64
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        manager:
+          title: Username
+          type: string
+        osmId:
+          format: int64
+          title: Item ID
+          type: integer
+        osmType:
+          $ref: '#/components/schemas/osmType'
+        gauges:
+          items:
+            $ref: '#/components/schemas/Gauge'
+          title: Gauges
+          type: array
+        logs:
+          items:
+            $ref: '#/components/schemas/LogMetaData'
+          title: Logs
+          type: array
+      required:
+      - name
+      - waterId
+      title: Water
+      type: object
+    WaterCreation:
+      example:
+        name: Water for auto generated tests
+        osmId: 1756854
+        osmType: Relation
+      properties:
+        name:
+          title: Item Name
+          type: string
+        osmId:
+          format: int64
+          title: Item ID
+          type: integer
+        osmType:
+          $ref: '#/components/schemas/osmType'
+      required:
+      - name
+      title: Water for Creation
+      type: object
+    waters:
+      items:
+        $ref: '#/components/schemas/Water'
+      title: waters
+      type: array
+    ReferenceWaterLevelGaugeHeight:
+      description: The gauge height (stage) for reference water level. The reference
+        water level is the water level, the depth on the map is shown at. Therefore,
+        the water depth of a LogEntry is transformed to this referenceWaterLevel,
+        with help of the gaugeHeight of the Log related to the LogEntry.
+      format: float
+      title: Gauge Height of reference water level of a Gauge
+      type: number
+    Gauge:
+      example:
+        manager: manager
+        name: name
+        location:
+        - 5.962133916683182
+        - 5.962133916683182
+        comment: comment
+        gaugeId: 1
+        referenceWaterLevelGaugeHeight: 5.637377
+        logs:
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+      properties:
+        gaugeId:
+          format: int64
+          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
+        referenceWaterLevelGaugeHeight:
+          description: The gauge height (stage) for reference water level. The reference
+            water level is the water level, the depth on the map is shown at. Therefore,
+            the water depth of a LogEntry is transformed to this referenceWaterLevel,
+            with help of the gaugeHeight of the Log related to the LogEntry.
+          format: float
+          title: Gauge Height of reference water level of a Gauge
+          type: number
+        logs:
+          items:
+            $ref: '#/components/schemas/LogMetaData'
+          title: Logs
+          type: array
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - gaugeId
+      - location
+      - name
+      - referenceWaterLevelGaugeHeight
+      title: Gauge
+      type: object
+    GaugeCreation:
+      example:
+        name: Gauge for auto generated tests
+        location:
+        - 90.136111
+        - 29.934722
+        water: 1
+        referenceWaterLevelGaugeHeight: 666
+      properties:
+        name:
+          title: Item Name
+          type: string
+        location:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude]
+          type: array
+        referenceWaterLevelGaugeHeight:
+          description: The gauge height (stage) for reference water level. The reference
+            water level is the water level, the depth on the map is shown at. Therefore,
+            the water depth of a LogEntry is transformed to this referenceWaterLevel,
+            with help of the gaugeHeight of the Log related to the LogEntry.
+          format: float
+          title: Gauge Height of reference water level of a Gauge
+          type: number
+        water:
+          format: int64
+          title: Item ID
+          type: integer
+        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 in GeoJson format
+      type: object
+    GaugesGeoJson:
+      items:
+        $ref: '#/components/schemas/GaugeGeoJson'
+      title: Gauges in GeoJson format
+      type: array
+    Device:
+      example:
+        sensorDepth: 0.6027456183070403
+        name: name
+        comment: comment
+        deviceId: 0
+        logs:
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+        - gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+      properties:
+        deviceId:
+          format: int64
+          title: Item ID
+          type: integer
+        name:
+          title: Item Name
+          type: string
+        sensorDepth:
+          minimum: 0
+          title: Depth of sensor beneath water level in cm (positive means below water)
+          type: number
+        logs:
+          items:
+            $ref: '#/components/schemas/LogMetaData'
+          title: Logs
+          type: array
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - deviceId
+      - name
+      - sensorDepth
+      title: Device
+      type: object
+    DeviceCreation:
+      example:
+        name: Device for auto generated tests
+        sensorDepth: 0.2
+        comment: Device for auto generated tests
+      properties:
+        name:
+          title: Item Name
+          type: string
+        sensorDepth:
+          minimum: 0
+          title: Depth of sensor beneath water level in cm (positive means below water)
+          type: number
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - name
+      - sensorDepth
+      title: Device for Creation
+      type: object
+    devices:
+      items:
+        $ref: '#/components/schemas/Device'
+      title: Devices
+      type: array
+    GaugeHeight:
+      format: float
+      title: Gauge height (stage) of the gauge, at the time of measuring
+      type: number
+    LogEntry:
+      example:
+        datetime: 2000-01-23T04:56:07.000+00:00
+        waterDepth: 6.0274563
+        location:
+        - 0.8008281904610115
+        - 0.8008281904610115
+      properties:
+        datetime:
+          format: date-time
+          type: string
+        location:
+          items:
+            type: number
+          maxItems: 2
+          minItems: 2
+          title: Point of type [longitude, latitude]
+          type: array
+        waterDepth:
+          format: float
+          title: Measured water depth at current position
+          type: number
+      required:
+      - datetime
+      - location
+      title: Measurement in a Log
+      type: object
+    LogMetaData:
+      example:
+        gauge:
+          label: label
+          id: 5
+          url: http://example.com/aeiou
+        submitter: submitter
+        processingState:
+          label: label
+          id: 5
+          url: http://example.com/aeiou
+        entriesCount: 2
+        start: 2000-01-23T04:56:07.000+00:00
+        logId: 1
+        gaugeHeight: 5.637377
+        end: 2000-01-23T04:56:07.000+00:00
+        comment: comment
+        water:
+          label: label
+          id: 5
+          url: http://example.com/aeiou
+        device:
+          label: label
+          id: 5
+          url: http://example.com/aeiou
+      properties:
+        logId:
+          format: int64
+          title: Item ID
+          type: integer
+        submitter:
+          title: Username
+          type: string
+        water:
+          $ref: '#/components/schemas/itemBase'
+        device:
+          $ref: '#/components/schemas/itemBase'
+        gauge:
+          $ref: '#/components/schemas/itemBase'
+        gaugeHeight:
+          format: float
+          title: Gauge height (stage) of the gauge, at the time of measuring
+          type: number
+        start:
+          format: date-time
+          nullable: true
+          title: Date and Time of the first log entry in UTC timezone
+          type: string
+        end:
+          format: date-time
+          nullable: true
+          title: Date and Time of the last log entry in UTC timezone
+          type: string
+        processingState:
+          $ref: '#/components/schemas/itemBase'
+        entriesCount:
+          format: int64
+          title: Number of measurings in the log
+          type: integer
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - end
+      - entriesCount
+      - gaugeHeight
+      - start
+      title: Metadata of a log, without log entries
+      type: object
+    Log:
+      example:
+        metaData:
+          gauge:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          submitter: submitter
+          processingState:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          entriesCount: 2
+          start: 2000-01-23T04:56:07.000+00:00
+          logId: 1
+          gaugeHeight: 5.637377
+          end: 2000-01-23T04:56:07.000+00:00
+          comment: comment
+          water:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+          device:
+            label: label
+            id: 5
+            url: http://example.com/aeiou
+        entries:
+        - datetime: 2000-01-23T04:56:07.000+00:00
+          waterDepth: 6.0274563
+          location:
+          - 0.8008281904610115
+          - 0.8008281904610115
+        - datetime: 2000-01-23T04:56:07.000+00:00
+          waterDepth: 6.0274563
+          location:
+          - 0.8008281904610115
+          - 0.8008281904610115
+      properties:
+        metaData:
+          $ref: '#/components/schemas/LogMetaData'
+        entries:
+          items:
+            $ref: '#/components/schemas/LogEntry'
+          title: Log entries
+          type: array
+      required:
+      - entries
+      - metaData
+      title: A collection of LogEntries
+      type: object
+    LogCreation:
+      example:
+        water: 1
+        device: 1
+        gauge: 1
+        gaugeHeight: 66
+        comment: LogCreation for auto generated tests
+      properties:
+        water:
+          format: int64
+          title: Item ID
+          type: integer
+        device:
+          format: int64
+          title: Item ID
+          type: integer
+        gauge:
+          format: int64
+          title: Item ID
+          type: integer
+        gaugeHeight:
+          format: float
+          title: Gauge height (stage) of the gauge, at the time of measuring
+          type: number
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - device
+      - gauge
+      - gaugeHeight
+      - water
+      title: Log for Creation
+      type: object
+    logs:
+      items:
+        $ref: '#/components/schemas/LogMetaData'
+      title: Logs
+      type: array
+    LogGeoJson:
+      properties:
+        type:
+          $ref: '#/components/schemas/geoJsonType'
+        features:
+          items:
+            $ref: '#/components/schemas/LogEntryGeoJson'
+          type: array
+      required:
+      - features
+      - type
+      title: FeatureCollection representing a Log in GeoJson format
+      type: object
+    LogEntryGeoJson:
+      properties:
+        type:
+          $ref: '#/components/schemas/geoJsonType'
+        geometry:
+          $ref: '#/components/schemas/geoJsonPoint'
+        properties:
+          $ref: '#/components/schemas/LogEntryGeoJson_properties'
+      required:
+      - geometry
+      - properties
+      - type
+      title: Feature representing LogEntry in GeoJson format
+      type: object
+    tileZoomlevel:
+      format: int32
+      maximum: 19
+      minimum: 0
+      title: Zoomlevel of requested Tile
+      type: integer
+    HttpError:
+      properties:
+        type:
+          type: string
+        title:
+          type: string
+        detail:
+          type: string
+        instance:
+          type: string
+      required:
+      - detail
+      - instance
+      - title
+      - type
+      title: HTTP Error Response Object
+      type: object
+    GaugeGeoJson_properties:
+      properties:
+        name:
+          title: Item Name
+          type: string
+        manager:
+          title: Username
+          type: string
+        referenceWaterLevelGaugeHeight:
+          description: The gauge height (stage) for reference water level. The reference
+            water level is the water level, the depth on the map is shown at. Therefore,
+            the water depth of a LogEntry is transformed to this referenceWaterLevel,
+            with help of the gaugeHeight of the Log related to the LogEntry.
+          format: float
+          title: Gauge Height of reference water level of a Gauge
+          type: number
+        comment:
+          title: Comment of an item
+          type: string
+      required:
+      - name
+    LogEntryGeoJson_properties:
+      properties:
+        datetime:
+          format: date-time
+          type: string
+        waterDepth:
+          format: float
+          type: number
+      required:
+      - datetime
+  securitySchemes:
+    basicAuth:
+      scheme: basic
+      type: http
+      x-basicInfoFunc: gnuboat.mapservice_impl.security.security.auth_basic
+    apiKeyAuth:
+      in: header
+      name: X-API-KEY
+      type: apiKey
+      x-apikeyInfoFunc: gnuboat.mapservice_impl.security.security.auth_api
Index: src/gnuboat/mapservice/test/conftest.py
===================================================================
--- src/gnuboat/mapservice/test/conftest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/conftest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,40 @@
+'''
+    Copyright (C) 2020 EngSaS - 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 pytest
+import shutil
+
+from gnuboat.mapservice_impl.tests import create_app, setup, teardown
+from gnuboat.mapservice_impl.database.model import db
+
+
+@pytest.fixture(scope="module")
+def app():
+    connexion_app = create_app()
+    app = connexion_app.app
+
+    yield app
+
+    shutil.rmtree(app.config.tiles_cache)
+    del app
+    del connexion_app
+
+
+@pytest.fixture(scope="function", autouse=True)
+def testcase_reset(app):
+    setup(app)
+    yield True
+    teardown(app)
Index: src/gnuboat/mapservice/test/test_devices_controller.py
===================================================================
--- src/gnuboat/mapservice/test/test_devices_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/test_devices_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,115 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.mapservice.models.device import Device  # noqa: E501
+from gnuboat.mapservice.models.device_creation import DeviceCreation  # noqa: E501
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+
+
+# devices_controller integration test stubs
+def test_devices_create(client):
+    """Test case for devices_create
+    Add a new device
+    """
+    device_creation = {
+        "name": "Device for auto generated tests",
+        "sensorDepth": 0.2,
+        "comment": "Device for auto generated tests"
+    }
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/devices',
+        method='POST',
+        headers=headers,
+        data=json.dumps(device_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+
+
+def test_devices_device_delete(client):
+    """Test case for devices_device_delete
+    Deletes device
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/devices/{id}'.format(id='1'),
+        method='DELETE',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 404
+
+
+def test_devices_get(client):
+    """Test case for devices_get
+    Find devices by id
+    """
+    query_string = [('name', 'Gnu'), ('order_by', 'name'), ('offset', '0'),
+                    ('limit', '10')]
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/devices',
+        method='GET',
+        headers=headers,
+        query_string=query_string
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+
+
+def test_devices_get_by_id(client):
+    """Test case for devices_get_by_id
+    Represents a device
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/devices/{id}'.format(id='1'),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
Index: src/gnuboat/mapservice/test/test_logs_controller.py
===================================================================
--- src/gnuboat/mapservice/test/test_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/test_logs_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,147 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.log import Log  # noqa: E501
+from gnuboat.mapservice.models.log_creation import LogCreation  # noqa: E501
+from gnuboat.mapservice.models.log_meta_data import LogMetaData  # noqa: E501
+
+
+# logs_controller integration test stubs
+def test_logs_get(client):
+    """Test case for logs_get
+    Find logs by
+    """
+    query_string = [('submitter', 'autotests'), ('order_by', 'name'),
+                    ('offset', '0'), ('limit', '10')]
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/logs',
+        method='GET',
+        headers=headers,
+        query_string=query_string
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+
+
+def test_logs_log_create(client):
+    """Test case for logs_log_create
+    Add a new log
+    """
+    log_creation = {
+        "water": 1,
+        "device": 1,
+        "gauge": 1,
+        "gaugeHeight": 66,
+        "comment": "LogCreation for auto generated tests"
+    }
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/logs',
+        method='POST',
+        headers=headers,
+        data=json.dumps(log_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 413
+
+
+def test_logs_log_delete(client):
+    """Test case for logs_log_delete
+    Deletes log
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/logs/{log_id}'.format(log_id='1'),
+        method='DELETE',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 404
+
+
+def test_logs_log_get_by_id(client):
+    """Test case for logs_log_get_by_id
+    Represents a log
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/logs/{log_id}'.format(log_id='1'),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 404
+
+
+@pytest.mark.skip(reason="text/plain not supported by Connexion")
+def test_logs_log_upload(client):
+    """Test case for logs_log_upload
+    Add a new log entries
+    """
+    body = (BytesIO(b'some file data'), 'file.txt')
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'text/plain',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/logs/{log_id}'.format(log_id='56'),
+        method='POST',
+        headers=headers,
+        data=json.dumps(body),
+        content_type='text/plain'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
Index: src/gnuboat/mapservice/test/test_tiles_controller.py
===================================================================
--- src/gnuboat/mapservice/test/test_tiles_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/test_tiles_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,44 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+
+
+# tiles_controller integration test stubs
+@pytest.mark.xfail(
+    reason=(
+        'Reason: '
+        'URL Ending with {{y_tile}}.png is not resolved correctly by openapi-generator'
+    )
+)  # noqa: E501
+def test_tiles_tile_get(client):
+    """Test case for tiles_tile_get
+    Represents a tile
+    """
+    headers = {
+        'Accept': 'application/problem+json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/tiles/gnuboat/{accuracy}/{resolution}/{zoom}/{x_tile}/{y_tile_pn}'
+        .format(
+            accuracy='high',
+            resolution='256',
+            zoom='15',
+            x_tile='17298',
+            y_tile='21435'
+        ),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 404
+    # Skipping responses with status code 500
Index: src/gnuboat/mapservice/test/test_users_controller.py
===================================================================
--- src/gnuboat/mapservice/test/test_users_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/test_users_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,157 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.user import User  # noqa: E501
+from gnuboat.mapservice.models.user_creation import UserCreation  # noqa: E501
+
+
+# users_controller integration test stubs
+def test_user_options(client):
+    """Test case for user_options
+    
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/user', method='OPTIONS', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+
+
+def test_users_activate(client):
+    """Test case for users_activate
+    Activates a user account
+    """
+    headers = {}
+
+    response = client.open(
+        '/mapservice/v1/user/activate/{activation_code}'.format(
+            activation_code='dac9630aec642a428cd73f4be0a03569'
+        ),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 302, \
+        'Response body is : {}'.format(response_data)
+
+
+def test_users_api_key_create(client):
+    """Test case for users_api_key_create
+    Returns a new API key
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/user/apikey_create', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+
+
+def test_users_api_key_delete(client):
+    """Test case for users_api_key_delete
+    Deletes API key
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/user/{api_key}'.format(api_key='test_key_delete'),
+        method='DELETE',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+    # Skipping responses with status code 404
+
+
+def test_users_get(client):
+    """Test case for users_get
+    Returns info of a user
+    """
+    headers = {
+        'Accept': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/user', method='GET', headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+
+
+@pytest.mark.xfail(
+    reason=(
+        'Reason: '
+        'Boolean value True could not converted by openapi-generator'
+    )
+)  # noqa: E501
+def test_users_register(client):
+    """Test case for users_register
+    Registers a new user
+    """
+    user_creation = {
+        "username": "john_doe",
+        "firstName": "John",
+        "lastName": "Doe",
+        "password": "1234",
+        "licenseAccepted": true,
+        "email": "john.doe@example.org"
+    }
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/user',
+        method='POST',
+        headers=headers,
+        data=json.dumps(user_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
Index: src/gnuboat/mapservice/test/test_waters_controller.py
===================================================================
--- src/gnuboat/mapservice/test/test_waters_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/test/test_waters_controller.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,173 @@
+# coding: utf-8
+
+import pytest
+import json
+
+from gnuboat.mapservice.models.gauge import Gauge  # noqa: E501
+from gnuboat.mapservice.models.gauge_creation import GaugeCreation  # noqa: E501
+from gnuboat.mapservice.models.http_error import HttpError  # noqa: E501
+from gnuboat.mapservice.models.water import Water  # noqa: E501
+from gnuboat.mapservice.models.water_creation import WaterCreation  # noqa: E501
+
+
+# waters_controller integration test stubs
+def test_waters_create(client):
+    """Test case for waters_create
+    Add a new water
+    """
+    water_creation = {
+        "name": "Water for auto generated tests",
+        "osmId": 1756854,
+        "osmType": "Relation"
+    }
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters',
+        method='POST',
+        headers=headers,
+        data=json.dumps(water_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+
+
+def test_waters_gauge_create(client):
+    """Test case for waters_gauge_create
+    Add a new water
+    """
+    gauge_creation = {
+        "name": "Gauge for auto generated tests",
+        "location": [90.136111, 29.934722],
+        "water": 1,
+        "referenceWaterLevelGaugeHeight": 666
+    }
+    headers = {
+        'Accept': 'application/json',
+        'Content-Type': 'application/json',
+        'Authorization': 'Basic YXV0b3Rlc3RzOmF1dG90ZXN0cw==',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters/{water_id}/gauges'.format(water_id='1'),
+        method='POST',
+        headers=headers,
+        data=json.dumps(gauge_creation),
+        content_type='application/json'
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 201, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 401
+
+
+def test_waters_gauge_get_by_id(client):
+    """Test case for waters_gauge_get_by_id
+    Represents a gauge
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters/{water_id}/gauges/{gauge_id}'.format(
+            water_id='1', gauge_id='1'
+        ),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 400
+    # Skipping responses with status code 404
+
+
+def test_waters_gauges_get(client):
+    """Test case for waters_gauges_get
+    Find gauges of water waterId by gaugeId
+    """
+    query_string = [('name', 'Test'), ('manager', 'autotests'),
+                    ('order_by', 'name'), ('offset', '0'), ('limit', '10')]
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters/{water_id}/gauges'.format(water_id='1'),
+        method='GET',
+        headers=headers,
+        query_string=query_string
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+
+
+def test_waters_get(client):
+    """Test case for waters_get
+    Find waters
+    """
+    query_string = [('name', 'Test'), ('manager', 'autotests'),
+                    ('stakeholder', 'autotests'), ('order_by', 'name'),
+                    ('offset', '0'), ('limit', '10')]
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters',
+        method='GET',
+        headers=headers,
+        query_string=query_string
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
+
+
+def test_waters_get_by_id(client):
+    """Test case for waters_get_by_id
+    Represents a water
+    """
+    headers = {
+        'Accept': 'application/json',
+    }
+
+    response = client.open(
+        '/mapservice/v1/waters/{id}'.format(id='1'),
+        method='GET',
+        headers=headers
+    )
+    try:
+        response_data = response.data.decode('utf-8')
+    except Exception as e:
+        response_data = 'Failed to decode body with {}'.format(repr(e))
+    assert response.status_code == 200, \
+        'Response body is : {}'.format(response_data)
+    # Skipping responses with status code 404
Index: src/gnuboat/mapservice/typing_utils.py
===================================================================
--- src/gnuboat/mapservice/typing_utils.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/typing_utils.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,32 @@
+# coding: utf-8
+
+import sys
+
+if sys.version_info < (3, 7):
+    import typing
+
+    def is_generic(klass):
+        """ Determine whether klass is a generic class """
+        return type(klass) == typing.GenericMeta
+
+    def is_dict(klass):
+        """ Determine whether klass is a Dict """
+        return klass.__extra__ == dict
+
+    def is_list(klass):
+        """ Determine whether klass is a List """
+        return klass.__extra__ == list
+
+else:
+
+    def is_generic(klass):
+        """ Determine whether klass is a generic class """
+        return hasattr(klass, '__origin__')
+
+    def is_dict(klass):
+        """ Determine whether klass is a Dict """
+        return klass.__origin__ == dict
+
+    def is_list(klass):
+        """ Determine whether klass is a List """
+        return klass.__origin__ == list
Index: src/gnuboat/mapservice/util.py
===================================================================
--- src/gnuboat/mapservice/util.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice/util.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,140 @@
+import datetime
+
+import six
+import typing
+from gnuboat.mapservice import typing_utils
+
+
+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, bytearray):
+        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 typing_utils.is_generic(klass):
+        if typing_utils.is_list(klass):
+            return _deserialize_list(data, klass.__args__[0])
+        if typing_utils.is_dict(klass):
+            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/gnuboat/mapservice_client/__init__.py
===================================================================
--- src/gnuboat/mapservice_client/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,56 @@
+# coding: utf-8
+
+# flake8: noqa
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+__version__ = "0.5.99"
+
+# import apis into sdk package
+from gnuboat.mapservice_client.api.devices_api import DevicesApi
+from gnuboat.mapservice_client.api.logs_api import LogsApi
+from gnuboat.mapservice_client.api.tiles_api import TilesApi
+from gnuboat.mapservice_client.api.users_api import UsersApi
+from gnuboat.mapservice_client.api.waters_api import WatersApi
+
+# import ApiClient
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.configuration import Configuration
+from gnuboat.mapservice_client.exceptions import OpenApiException
+from gnuboat.mapservice_client.exceptions import ApiTypeError
+from gnuboat.mapservice_client.exceptions import ApiValueError
+from gnuboat.mapservice_client.exceptions import ApiKeyError
+from gnuboat.mapservice_client.exceptions import ApiException
+# import models into sdk package
+from gnuboat.mapservice_client.models.device import Device
+from gnuboat.mapservice_client.models.device_creation import DeviceCreation
+from gnuboat.mapservice_client.models.gauge import Gauge
+from gnuboat.mapservice_client.models.gauge_creation import GaugeCreation
+from gnuboat.mapservice_client.models.gauge_geo_json import GaugeGeoJson
+from gnuboat.mapservice_client.models.gauge_geo_json_properties import GaugeGeoJsonProperties
+from gnuboat.mapservice_client.models.geo_json_point import GeoJsonPoint
+from gnuboat.mapservice_client.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice_client.models.http_error import HttpError
+from gnuboat.mapservice_client.models.item_base import ItemBase
+from gnuboat.mapservice_client.models.log import Log
+from gnuboat.mapservice_client.models.log_creation import LogCreation
+from gnuboat.mapservice_client.models.log_entry import LogEntry
+from gnuboat.mapservice_client.models.log_entry_geo_json import LogEntryGeoJson
+from gnuboat.mapservice_client.models.log_entry_geo_json_properties import LogEntryGeoJsonProperties
+from gnuboat.mapservice_client.models.log_geo_json import LogGeoJson
+from gnuboat.mapservice_client.models.log_meta_data import LogMetaData
+from gnuboat.mapservice_client.models.order import Order
+from gnuboat.mapservice_client.models.osm_type import OsmType
+from gnuboat.mapservice_client.models.user import User
+from gnuboat.mapservice_client.models.user_creation import UserCreation
+from gnuboat.mapservice_client.models.water import Water
+from gnuboat.mapservice_client.models.water_creation import WaterCreation
Index: src/gnuboat/mapservice_client/api/__init__.py
===================================================================
--- src/gnuboat/mapservice_client/api/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,10 @@
+from __future__ import absolute_import
+
+# flake8: noqa
+
+# import apis into api package
+from gnuboat.mapservice_client.api.devices_api import DevicesApi
+from gnuboat.mapservice_client.api.logs_api import LogsApi
+from gnuboat.mapservice_client.api.tiles_api import TilesApi
+from gnuboat.mapservice_client.api.users_api import UsersApi
+from gnuboat.mapservice_client.api.waters_api import WatersApi
Index: src/gnuboat/mapservice_client/api/devices_api.py
===================================================================
--- src/gnuboat/mapservice_client/api/devices_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/devices_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,511 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import re  # noqa: F401
+
+# python 2 and python 3 compatibility library
+import six
+
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.exceptions import (  # noqa: F401
+    ApiTypeError,
+    ApiValueError
+)
+
+
+class DevicesApi(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    def __init__(self, api_client=None):
+        if api_client is None:
+            api_client = ApiClient()
+        self.api_client = api_client
+
+    def devices_create(self, **kwargs):  # noqa: E501
+        """Add a new device  # noqa: E501
+
+        Adds a new device to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_create(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param DeviceCreation device_creation:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Device
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.devices_create_with_http_info(**kwargs)  # noqa: E501
+
+    def devices_create_with_http_info(self, **kwargs):  # noqa: E501
+        """Add a new device  # noqa: E501
+
+        Adds a new device to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_create_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param DeviceCreation device_creation:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Device, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['device_creation']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method devices_create" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'device_creation' in local_var_params:
+            body_params = local_var_params['device_creation']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['application/json'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/devices',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Device',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def devices_device_delete(self, id, **kwargs):  # noqa: E501
+        """Deletes device  # noqa: E501
+
+        Deletes given device and returns remaining devices of the user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_device_delete(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item id (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[Device]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.devices_device_delete_with_http_info(
+            id, **kwargs
+        )  # noqa: E501
+
+    def devices_device_delete_with_http_info(self, id, **kwargs):  # noqa: E501
+        """Deletes device  # noqa: E501
+
+        Deletes given device and returns remaining devices of the user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_device_delete_with_http_info(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item id (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[Device], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method devices_device_delete" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'id' is set
+        if self.api_client.client_side_validation and (
+            'id' not in local_var_params or  # noqa: E501
+            local_var_params['id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `id` when calling `devices_device_delete`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'id' in local_var_params:
+            path_params['id'] = local_var_params['id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/devices/{id}',
+            'DELETE',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[Device]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def devices_get(self, **kwargs):  # noqa: E501
+        """Find devices by id  # noqa: E501
+
+        Returns all devices of user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_get(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str name:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[Device]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.devices_get_with_http_info(**kwargs)  # noqa: E501
+
+    def devices_get_with_http_info(self, **kwargs):  # noqa: E501
+        """Find devices by id  # noqa: E501
+
+        Returns all devices of user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_get_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str name:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[Device], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['name', 'order_by', 'offset', 'limit']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method devices_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+        if 'name' in local_var_params and local_var_params[
+            'name'] is not None:  # noqa: E501
+            query_params.append(('name', local_var_params['name'])
+                                )  # noqa: E501
+        if 'order_by' in local_var_params and local_var_params[
+            'order_by'] is not None:  # noqa: E501
+            query_params.append(('order_by', local_var_params['order_by'])
+                                )  # noqa: E501
+        if 'offset' in local_var_params and local_var_params[
+            'offset'] is not None:  # noqa: E501
+            query_params.append(('offset', local_var_params['offset'])
+                                )  # noqa: E501
+        if 'limit' in local_var_params and local_var_params[
+            'limit'] is not None:  # noqa: E501
+            query_params.append(('limit', local_var_params['limit'])
+                                )  # noqa: E501
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/devices',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[Device]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def devices_get_by_id(self, id, **kwargs):  # noqa: E501
+        """Represents a device  # noqa: E501
+
+        Returns the device identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_get_by_id(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item ID (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Device
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.devices_get_by_id_with_http_info(
+            id, **kwargs
+        )  # noqa: E501
+
+    def devices_get_by_id_with_http_info(self, id, **kwargs):  # noqa: E501
+        """Represents a device  # noqa: E501
+
+        Returns the device identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.devices_get_by_id_with_http_info(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item ID (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Device, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method devices_get_by_id" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'id' is set
+        if self.api_client.client_side_validation and (
+            'id' not in local_var_params or  # noqa: E501
+            local_var_params['id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `id` when calling `devices_get_by_id`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'id' in local_var_params:
+            path_params['id'] = local_var_params['id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/devices/{id}',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Device',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
Index: src/gnuboat/mapservice_client/api/logs_api.py
===================================================================
--- src/gnuboat/mapservice_client/api/logs_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/logs_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,640 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import re  # noqa: F401
+
+# python 2 and python 3 compatibility library
+import six
+
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.exceptions import (  # noqa: F401
+    ApiTypeError,
+    ApiValueError
+)
+
+
+class LogsApi(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    def __init__(self, api_client=None):
+        if api_client is None:
+            api_client = ApiClient()
+        self.api_client = api_client
+
+    def logs_get(self, **kwargs):  # noqa: E501
+        """Find logs by  # noqa: E501
+
+        Returns all log metadata  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_get(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str submitter:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[LogMetaData]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.logs_get_with_http_info(**kwargs)  # noqa: E501
+
+    def logs_get_with_http_info(self, **kwargs):  # noqa: E501
+        """Find logs by  # noqa: E501
+
+        Returns all log metadata  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_get_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str submitter:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[LogMetaData], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['submitter', 'order_by', 'offset', 'limit']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method logs_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+        if 'submitter' in local_var_params and local_var_params[
+            'submitter'] is not None:  # noqa: E501
+            query_params.append(('submitter', local_var_params['submitter'])
+                                )  # noqa: E501
+        if 'order_by' in local_var_params and local_var_params[
+            'order_by'] is not None:  # noqa: E501
+            query_params.append(('order_by', local_var_params['order_by'])
+                                )  # noqa: E501
+        if 'offset' in local_var_params and local_var_params[
+            'offset'] is not None:  # noqa: E501
+            query_params.append(('offset', local_var_params['offset'])
+                                )  # noqa: E501
+        if 'limit' in local_var_params and local_var_params[
+            'limit'] is not None:  # noqa: E501
+            query_params.append(('limit', local_var_params['limit'])
+                                )  # noqa: E501
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/logs',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[LogMetaData]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def logs_log_create(self, **kwargs):  # noqa: E501
+        """Add a new log  # noqa: E501
+
+        Creates a new log from given meta data. The log entries itself, must be uploaded per /logs/{log_id}  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_create(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param LogCreation log_creation:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: LogMetaData
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.logs_log_create_with_http_info(**kwargs)  # noqa: E501
+
+    def logs_log_create_with_http_info(self, **kwargs):  # noqa: E501
+        """Add a new log  # noqa: E501
+
+        Creates a new log from given meta data. The log entries itself, must be uploaded per /logs/{log_id}  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_create_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param LogCreation log_creation:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(LogMetaData, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['log_creation']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method logs_log_create" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'log_creation' in local_var_params:
+            body_params = local_var_params['log_creation']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['application/json'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/logs',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='LogMetaData',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def logs_log_delete(self, log_id, **kwargs):  # noqa: E501
+        """Deletes log  # noqa: E501
+
+        Deletes given log and returns remaining logs of the gauge  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_delete(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[LogMetaData]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.logs_log_delete_with_http_info(
+            log_id, **kwargs
+        )  # noqa: E501
+
+    def logs_log_delete_with_http_info(self, log_id, **kwargs):  # noqa: E501
+        """Deletes log  # noqa: E501
+
+        Deletes given log and returns remaining logs of the gauge  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_delete_with_http_info(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[LogMetaData], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['log_id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method logs_log_delete" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'log_id' is set
+        if self.api_client.client_side_validation and (
+            'log_id' not in local_var_params or  # noqa: E501
+            local_var_params['log_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `log_id` when calling `logs_log_delete`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'log_id' in local_var_params:
+            path_params['log_id'] = local_var_params['log_id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/logs/{log_id}',
+            'DELETE',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[LogMetaData]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def logs_log_get_by_id(self, log_id, **kwargs):  # noqa: E501
+        """Represents a log  # noqa: E501
+
+        Returns the log identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_get_by_id(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Log
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.logs_log_get_by_id_with_http_info(
+            log_id, **kwargs
+        )  # noqa: E501
+
+    def logs_log_get_by_id_with_http_info(
+        self, log_id, **kwargs
+    ):  # noqa: E501
+        """Represents a log  # noqa: E501
+
+        Returns the log identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_get_by_id_with_http_info(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Log, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['log_id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method logs_log_get_by_id" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'log_id' is set
+        if self.api_client.client_side_validation and (
+            'log_id' not in local_var_params or  # noqa: E501
+            local_var_params['log_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `log_id` when calling `logs_log_get_by_id`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'log_id' in local_var_params:
+            path_params['log_id'] = local_var_params['log_id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/geo+json',
+            'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/logs/{log_id}',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Log',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def logs_log_upload(self, log_id, **kwargs):  # noqa: E501
+        """Add a new log entries  # noqa: E501
+
+        Adds log entries from uploaded file to current Log  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_upload(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param file body:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: LogMetaData
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.logs_log_upload_with_http_info(
+            log_id, **kwargs
+        )  # noqa: E501
+
+    def logs_log_upload_with_http_info(self, log_id, **kwargs):  # noqa: E501
+        """Add a new log entries  # noqa: E501
+
+        Adds log entries from uploaded file to current Log  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.logs_log_upload_with_http_info(log_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int log_id: Log ID (required)
+        :param file body:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(LogMetaData, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['log_id', 'body']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method logs_log_upload" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'log_id' is set
+        if self.api_client.client_side_validation and (
+            'log_id' not in local_var_params or  # noqa: E501
+            local_var_params['log_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `log_id` when calling `logs_log_upload`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'log_id' in local_var_params:
+            path_params['log_id'] = local_var_params['log_id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'body' in local_var_params:
+            body_params = local_var_params['body']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['text/plain'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/logs/{log_id}',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='LogMetaData',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
Index: src/gnuboat/mapservice_client/api/tiles_api.py
===================================================================
--- src/gnuboat/mapservice_client/api/tiles_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/tiles_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,217 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import re  # noqa: F401
+
+# python 2 and python 3 compatibility library
+import six
+
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.exceptions import (  # noqa: F401
+    ApiTypeError,
+    ApiValueError
+)
+
+
+class TilesApi(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    def __init__(self, api_client=None):
+        if api_client is None:
+            api_client = ApiClient()
+        self.api_client = api_client
+
+    def tiles_tile_get(
+        self, accuracy, resolution, zoom, x_tile, y_tile, **kwargs
+    ):  # noqa: E501
+        """Represents a tile  # noqa: E501
+
+        Returns the map tile x_tile, y_tile at Zoomlevel zoom  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.tiles_tile_get(accuracy, resolution, zoom, x_tile, y_tile, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str accuracy: Accuracy of generated tiles (required)
+        :param int resolution: Resolution of the tiles (required)
+        :param int zoom: Zoomlevel (required)
+        :param int x_tile: Number of the tile in x dimension (required)
+        :param int y_tile: Number of the tile in y dimension (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: file
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.tiles_tile_get_with_http_info(
+            accuracy, resolution, zoom, x_tile, y_tile, **kwargs
+        )  # noqa: E501
+
+    def tiles_tile_get_with_http_info(
+        self, accuracy, resolution, zoom, x_tile, y_tile, **kwargs
+    ):  # noqa: E501
+        """Represents a tile  # noqa: E501
+
+        Returns the map tile x_tile, y_tile at Zoomlevel zoom  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.tiles_tile_get_with_http_info(accuracy, resolution, zoom, x_tile, y_tile, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str accuracy: Accuracy of generated tiles (required)
+        :param int resolution: Resolution of the tiles (required)
+        :param int zoom: Zoomlevel (required)
+        :param int x_tile: Number of the tile in x dimension (required)
+        :param int y_tile: Number of the tile in y dimension (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(file, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['accuracy', 'resolution', 'zoom', 'x_tile', 'y_tile']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method tiles_tile_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'accuracy' is set
+        if self.api_client.client_side_validation and (
+            'accuracy' not in local_var_params or  # noqa: E501
+            local_var_params['accuracy'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `accuracy` when calling `tiles_tile_get`"
+            )  # noqa: E501
+        # verify the required parameter 'resolution' is set
+        if self.api_client.client_side_validation and (
+            'resolution' not in local_var_params or  # noqa: E501
+            local_var_params['resolution'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `resolution` when calling `tiles_tile_get`"
+            )  # noqa: E501
+        # verify the required parameter 'zoom' is set
+        if self.api_client.client_side_validation and (
+            'zoom' not in local_var_params or  # noqa: E501
+            local_var_params['zoom'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `zoom` when calling `tiles_tile_get`"
+            )  # noqa: E501
+        # verify the required parameter 'x_tile' is set
+        if self.api_client.client_side_validation and (
+            'x_tile' not in local_var_params or  # noqa: E501
+            local_var_params['x_tile'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `x_tile` when calling `tiles_tile_get`"
+            )  # noqa: E501
+        # verify the required parameter 'y_tile' is set
+        if self.api_client.client_side_validation and (
+            'y_tile' not in local_var_params or  # noqa: E501
+            local_var_params['y_tile'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `y_tile` when calling `tiles_tile_get`"
+            )  # noqa: E501
+
+        if self.api_client.client_side_validation and 'zoom' in local_var_params and local_var_params[
+            'zoom'] > 19:  # noqa: E501
+            raise ApiValueError(
+                "Invalid value for parameter `zoom` when calling `tiles_tile_get`, must be a value less than or equal to `19`"
+            )  # noqa: E501
+        if self.api_client.client_side_validation and 'zoom' in local_var_params and local_var_params[
+            'zoom'] < 0:  # noqa: E501
+            raise ApiValueError(
+                "Invalid value for parameter `zoom` when calling `tiles_tile_get`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+        collection_formats = {}
+
+        path_params = {}
+        if 'accuracy' in local_var_params:
+            path_params['accuracy'] = local_var_params['accuracy'
+                                                       ]  # noqa: E501
+        if 'resolution' in local_var_params:
+            path_params['resolution'] = local_var_params['resolution'
+                                                         ]  # noqa: E501
+        if 'zoom' in local_var_params:
+            path_params['zoom'] = local_var_params['zoom']  # noqa: E501
+        if 'x_tile' in local_var_params:
+            path_params['x_tile'] = local_var_params['x_tile']  # noqa: E501
+        if 'y_tile' in local_var_params:
+            path_params['y_tile'] = local_var_params['y_tile']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'image/*', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/tiles/gnuboat/{accuracy}/{resolution}/{zoom}/{x_tile}/{y_tile}.png',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='file',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
Index: src/gnuboat/mapservice_client/api/users_api.py
===================================================================
--- src/gnuboat/mapservice_client/api/users_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/users_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,695 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import re  # noqa: F401
+
+# python 2 and python 3 compatibility library
+import six
+
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.exceptions import (  # noqa: F401
+    ApiTypeError,
+    ApiValueError
+)
+
+
+class UsersApi(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    def __init__(self, api_client=None):
+        if api_client is None:
+            api_client = ApiClient()
+        self.api_client = api_client
+
+    def user_options(self, **kwargs):  # noqa: E501
+        """user_options  # noqa: E501
+
+        Used by CORS preflight  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.user_options(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: None
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.user_options_with_http_info(**kwargs)  # noqa: E501
+
+    def user_options_with_http_info(self, **kwargs):  # noqa: E501
+        """user_options  # noqa: E501
+
+        Used by CORS preflight  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.user_options_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: None
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = []
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method user_options" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user',
+            'OPTIONS',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type=None,  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def users_activate(self, activation_code, **kwargs):  # noqa: E501
+        """Activates a user account  # noqa: E501
+
+        Activates a user account  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_activate(activation_code, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str activation_code: Activation code (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: None
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.users_activate_with_http_info(
+            activation_code, **kwargs
+        )  # noqa: E501
+
+    def users_activate_with_http_info(
+        self, activation_code, **kwargs
+    ):  # noqa: E501
+        """Activates a user account  # noqa: E501
+
+        Activates a user account  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_activate_with_http_info(activation_code, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str activation_code: Activation code (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: None
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['activation_code']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method users_activate" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'activation_code' is set
+        if self.api_client.client_side_validation and (
+            'activation_code' not in local_var_params or  # noqa: E501
+            local_var_params['activation_code'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `activation_code` when calling `users_activate`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'activation_code' in local_var_params:
+            path_params['activation_code'] = local_var_params['activation_code'
+                                                              ]  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user/activate/{activation_code}',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type=None,  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def users_api_key_create(self, **kwargs):  # noqa: E501
+        """Returns a new API key  # noqa: E501
+
+        Generates and returns a new API key for current user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_api_key_create(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[str]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.users_api_key_create_with_http_info(**kwargs)  # noqa: E501
+
+    def users_api_key_create_with_http_info(self, **kwargs):  # noqa: E501
+        """Returns a new API key  # noqa: E501
+
+        Generates and returns a new API key for current user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_api_key_create_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = []
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method users_api_key_create" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user/apikey_create',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[str]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def users_api_key_delete(self, api_key, **kwargs):  # noqa: E501
+        """Deletes API key  # noqa: E501
+
+        Deletes given API key and returns remaining API keys of the user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_api_key_delete(api_key, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str api_key: API key (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[str]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.users_api_key_delete_with_http_info(
+            api_key, **kwargs
+        )  # noqa: E501
+
+    def users_api_key_delete_with_http_info(
+        self, api_key, **kwargs
+    ):  # noqa: E501
+        """Deletes API key  # noqa: E501
+
+        Deletes given API key and returns remaining API keys of the user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_api_key_delete_with_http_info(api_key, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str api_key: API key (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['api_key']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method users_api_key_delete" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'api_key' is set
+        if self.api_client.client_side_validation and (
+            'api_key' not in local_var_params or  # noqa: E501
+            local_var_params['api_key'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `api_key` when calling `users_api_key_delete`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'api_key' in local_var_params:
+            path_params['api_key'] = local_var_params['api_key']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user/{api_key}',
+            'DELETE',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[str]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def users_get(self, **kwargs):  # noqa: E501
+        """Returns info of a user  # noqa: E501
+
+        Returns information of current/authorized user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_get(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: User
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.users_get_with_http_info(**kwargs)  # noqa: E501
+
+    def users_get_with_http_info(self, **kwargs):  # noqa: E501
+        """Returns info of a user  # noqa: E501
+
+        Returns information of current/authorized user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_get_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(User, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = []
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method users_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='User',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def users_register(self, **kwargs):  # noqa: E501
+        """Registers a new user  # noqa: E501
+
+        Registers a new user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_register(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param UserCreation user_creation:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: User
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.users_register_with_http_info(**kwargs)  # noqa: E501
+
+    def users_register_with_http_info(self, **kwargs):  # noqa: E501
+        """Registers a new user  # noqa: E501
+
+        Registers a new user  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.users_register_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param UserCreation user_creation:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(User, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['user_creation']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method users_register" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'user_creation' in local_var_params:
+            body_params = local_var_params['user_creation']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['application/json'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/user',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='User',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
Index: src/gnuboat/mapservice_client/api/waters_api.py
===================================================================
--- src/gnuboat/mapservice_client/api/waters_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api/waters_api.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,826 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import re  # noqa: F401
+
+# python 2 and python 3 compatibility library
+import six
+
+from gnuboat.mapservice_client.api_client import ApiClient
+from gnuboat.mapservice_client.exceptions import (  # noqa: F401
+    ApiTypeError,
+    ApiValueError
+)
+
+
+class WatersApi(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    def __init__(self, api_client=None):
+        if api_client is None:
+            api_client = ApiClient()
+        self.api_client = api_client
+
+    def waters_create(self, **kwargs):  # noqa: E501
+        """Add a new water  # noqa: E501
+
+        Adds a new water to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_create(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param WaterCreation water_creation:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Water
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_create_with_http_info(**kwargs)  # noqa: E501
+
+    def waters_create_with_http_info(self, **kwargs):  # noqa: E501
+        """Add a new water  # noqa: E501
+
+        Adds a new water to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_create_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param WaterCreation water_creation:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Water, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['water_creation']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_create" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'water_creation' in local_var_params:
+            body_params = local_var_params['water_creation']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['application/json'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Water',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def waters_gauge_create(self, water_id, **kwargs):  # noqa: E501
+        """Add a new water  # noqa: E501
+
+        Adds a new gauge for water waterId to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauge_create(water_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param GaugeCreation gauge_creation:
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Gauge
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_gauge_create_with_http_info(
+            water_id, **kwargs
+        )  # noqa: E501
+
+    def waters_gauge_create_with_http_info(
+        self, water_id, **kwargs
+    ):  # noqa: E501
+        """Add a new water  # noqa: E501
+
+        Adds a new gauge for water waterId to the database  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauge_create_with_http_info(water_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param GaugeCreation gauge_creation:
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Gauge, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['water_id', 'gauge_creation']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_gauge_create" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'water_id' is set
+        if self.api_client.client_side_validation and (
+            'water_id' not in local_var_params or  # noqa: E501
+            local_var_params['water_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `water_id` when calling `waters_gauge_create`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'water_id' in local_var_params:
+            path_params['water_id'] = local_var_params['water_id'
+                                                       ]  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        if 'gauge_creation' in local_var_params:
+            body_params = local_var_params['gauge_creation']
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/geo+json',
+            'application/problem+json'
+        ])  # noqa: E501
+
+        # HTTP header `Content-Type`
+        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
+            ['application/json'])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = ['apiKeyAuth', 'basicAuth']  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters/{water_id}/gauges',
+            'POST',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Gauge',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def waters_gauge_get_by_id(
+        self, water_id, gauge_id, **kwargs
+    ):  # noqa: E501
+        """Represents a gauge  # noqa: E501
+
+        Returns the gauge identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauge_get_by_id(water_id, gauge_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param int gauge_id: Gauge ID (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Gauge
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_gauge_get_by_id_with_http_info(
+            water_id, gauge_id, **kwargs
+        )  # noqa: E501
+
+    def waters_gauge_get_by_id_with_http_info(
+        self, water_id, gauge_id, **kwargs
+    ):  # noqa: E501
+        """Represents a gauge  # noqa: E501
+
+        Returns the gauge identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauge_get_by_id_with_http_info(water_id, gauge_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param int gauge_id: Gauge ID (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Gauge, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['water_id', 'gauge_id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_gauge_get_by_id" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'water_id' is set
+        if self.api_client.client_side_validation and (
+            'water_id' not in local_var_params or  # noqa: E501
+            local_var_params['water_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `water_id` when calling `waters_gauge_get_by_id`"
+            )  # noqa: E501
+        # verify the required parameter 'gauge_id' is set
+        if self.api_client.client_side_validation and (
+            'gauge_id' not in local_var_params or  # noqa: E501
+            local_var_params['gauge_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `gauge_id` when calling `waters_gauge_get_by_id`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'water_id' in local_var_params:
+            path_params['water_id'] = local_var_params['water_id'
+                                                       ]  # noqa: E501
+        if 'gauge_id' in local_var_params:
+            path_params['gauge_id'] = local_var_params['gauge_id'
+                                                       ]  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/geo+json',
+            'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters/{water_id}/gauges/{gauge_id}',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Gauge',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def waters_gauges_get(self, water_id, **kwargs):  # noqa: E501
+        """Find gauges of water waterId by gaugeId  # noqa: E501
+
+        Returns all gauges of water waterId  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauges_get(water_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param str name:
+        :param str manager:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[Gauge]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_gauges_get_with_http_info(
+            water_id, **kwargs
+        )  # noqa: E501
+
+    def waters_gauges_get_with_http_info(
+        self, water_id, **kwargs
+    ):  # noqa: E501
+        """Find gauges of water waterId by gaugeId  # noqa: E501
+
+        Returns all gauges of water waterId  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_gauges_get_with_http_info(water_id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int water_id: Water ID (required)
+        :param str name:
+        :param str manager:
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[Gauge], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = [
+            'water_id', 'name', 'manager', 'order_by', 'offset', 'limit'
+        ]
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_gauges_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'water_id' is set
+        if self.api_client.client_side_validation and (
+            'water_id' not in local_var_params or  # noqa: E501
+            local_var_params['water_id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `water_id` when calling `waters_gauges_get`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'water_id' in local_var_params:
+            path_params['water_id'] = local_var_params['water_id'
+                                                       ]  # noqa: E501
+
+        query_params = []
+        if 'name' in local_var_params and local_var_params[
+            'name'] is not None:  # noqa: E501
+            query_params.append(('name', local_var_params['name'])
+                                )  # noqa: E501
+        if 'manager' in local_var_params and local_var_params[
+            'manager'] is not None:  # noqa: E501
+            query_params.append(('manager', local_var_params['manager'])
+                                )  # noqa: E501
+        if 'order_by' in local_var_params and local_var_params[
+            'order_by'] is not None:  # noqa: E501
+            query_params.append(('order_by', local_var_params['order_by'])
+                                )  # noqa: E501
+        if 'offset' in local_var_params and local_var_params[
+            'offset'] is not None:  # noqa: E501
+            query_params.append(('offset', local_var_params['offset'])
+                                )  # noqa: E501
+        if 'limit' in local_var_params and local_var_params[
+            'limit'] is not None:  # noqa: E501
+            query_params.append(('limit', local_var_params['limit'])
+                                )  # noqa: E501
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/geo+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters/{water_id}/gauges',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[Gauge]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def waters_get(self, **kwargs):  # noqa: E501
+        """Find waters  # noqa: E501
+
+        Returns all waters  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_get(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str name:
+        :param str manager:
+        :param str stakeholder: A stakeholder is a user, which has uploaded Logfiles to water, added a gauge, ...
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: list[Water]
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_get_with_http_info(**kwargs)  # noqa: E501
+
+    def waters_get_with_http_info(self, **kwargs):  # noqa: E501
+        """Find waters  # noqa: E501
+
+        Returns all waters  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_get_with_http_info(async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param str name:
+        :param str manager:
+        :param str stakeholder: A stakeholder is a user, which has uploaded Logfiles to water, added a gauge, ...
+        :param str order_by: Order by field: name
+        :param int offset: Skip over a number of elements by specifying an offset value for the query
+        :param int limit: Limit the number of elements on the response
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(list[Water], status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = [
+            'name', 'manager', 'stakeholder', 'order_by', 'offset', 'limit'
+        ]
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_get" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+
+        collection_formats = {}
+
+        path_params = {}
+
+        query_params = []
+        if 'name' in local_var_params and local_var_params[
+            'name'] is not None:  # noqa: E501
+            query_params.append(('name', local_var_params['name'])
+                                )  # noqa: E501
+        if 'manager' in local_var_params and local_var_params[
+            'manager'] is not None:  # noqa: E501
+            query_params.append(('manager', local_var_params['manager'])
+                                )  # noqa: E501
+        if 'stakeholder' in local_var_params and local_var_params[
+            'stakeholder'] is not None:  # noqa: E501
+            query_params.append(
+                ('stakeholder', local_var_params['stakeholder'])
+            )  # noqa: E501
+        if 'order_by' in local_var_params and local_var_params[
+            'order_by'] is not None:  # noqa: E501
+            query_params.append(('order_by', local_var_params['order_by'])
+                                )  # noqa: E501
+        if 'offset' in local_var_params and local_var_params[
+            'offset'] is not None:  # noqa: E501
+            query_params.append(('offset', local_var_params['offset'])
+                                )  # noqa: E501
+        if 'limit' in local_var_params and local_var_params[
+            'limit'] is not None:  # noqa: E501
+            query_params.append(('limit', local_var_params['limit'])
+                                )  # noqa: E501
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='list[Water]',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
+
+    def waters_get_by_id(self, id, **kwargs):  # noqa: E501
+        """Represents a water  # noqa: E501
+
+        Returns the water identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_get_by_id(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item ID (required)
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: Water
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+        kwargs['_return_http_data_only'] = True
+        return self.waters_get_by_id_with_http_info(id, **kwargs)  # noqa: E501
+
+    def waters_get_by_id_with_http_info(self, id, **kwargs):  # noqa: E501
+        """Represents a water  # noqa: E501
+
+        Returns the water identified by id  # noqa: E501
+        This method makes a synchronous HTTP request by default. To make an
+        asynchronous HTTP request, please pass async_req=True
+        >>> thread = api.waters_get_by_id_with_http_info(id, async_req=True)
+        >>> result = thread.get()
+
+        :param async_req bool: execute request asynchronously
+        :param int id: Item ID (required)
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return: tuple(Water, status_code(int), headers(HTTPHeaderDict))
+                 If the method is called asynchronously,
+                 returns the request thread.
+        """
+
+        local_var_params = locals()
+
+        all_params = ['id']
+        all_params.extend([
+            'async_req', '_return_http_data_only', '_preload_content',
+            '_request_timeout'
+        ])
+
+        for key, val in six.iteritems(local_var_params['kwargs']):
+            if key not in all_params:
+                raise ApiTypeError(
+                    "Got an unexpected keyword argument '%s'"
+                    " to method waters_get_by_id" % key
+                )
+            local_var_params[key] = val
+        del local_var_params['kwargs']
+        # verify the required parameter 'id' is set
+        if self.api_client.client_side_validation and (
+            'id' not in local_var_params or  # noqa: E501
+            local_var_params['id'] is None
+        ):  # noqa: E501
+            raise ApiValueError(
+                "Missing the required parameter `id` when calling `waters_get_by_id`"
+            )  # noqa: E501
+
+        collection_formats = {}
+
+        path_params = {}
+        if 'id' in local_var_params:
+            path_params['id'] = local_var_params['id']  # noqa: E501
+
+        query_params = []
+
+        header_params = {}
+
+        form_params = []
+        local_var_files = {}
+
+        body_params = None
+        # HTTP header `Accept`
+        header_params['Accept'] = self.api_client.select_header_accept([
+            'application/json', 'application/problem+json'
+        ])  # noqa: E501
+
+        # Authentication setting
+        auth_settings = []  # noqa: E501
+
+        return self.api_client.call_api(
+            '/waters/{id}',
+            'GET',
+            path_params,
+            query_params,
+            header_params,
+            body=body_params,
+            post_params=form_params,
+            files=local_var_files,
+            response_type='Water',  # noqa: E501
+            auth_settings=auth_settings,
+            async_req=local_var_params.get('async_req'),
+            _return_http_data_only=local_var_params.
+            get('_return_http_data_only'),  # noqa: E501
+            _preload_content=local_var_params.get('_preload_content', True),
+            _request_timeout=local_var_params.get('_request_timeout'),
+            collection_formats=collection_formats
+        )
Index: src/gnuboat/mapservice_client/api_client.py
===================================================================
--- src/gnuboat/mapservice_client/api_client.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/api_client.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,746 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import atexit
+import datetime
+from dateutil.parser import parse
+import json
+import mimetypes
+from multiprocessing.pool import ThreadPool
+import os
+import re
+import tempfile
+
+# python 2 and python 3 compatibility library
+import six
+from six.moves.urllib.parse import quote
+
+from gnuboat.mapservice_client.configuration import Configuration
+import gnuboat.mapservice_client.models
+from gnuboat.mapservice_client import rest
+from gnuboat.mapservice_client.exceptions import ApiValueError, ApiException
+
+
+class ApiClient(object):
+    """Generic API client for OpenAPI client library builds.
+
+    OpenAPI generic API client. This client handles the client-
+    server communication, and is invariant across implementations. Specifics of
+    the methods and models for each application are generated from the OpenAPI
+    templates.
+
+    NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+    Do not edit the class manually.
+
+    :param configuration: .Configuration object for this client
+    :param header_name: a header to pass when making calls to the API.
+    :param header_value: a header value to pass when making calls to
+        the API.
+    :param cookie: a cookie to include in the header when making calls
+        to the API
+    :param pool_threads: The number of threads to use for async requests
+        to the API. More threads means more concurrent API requests.
+    """
+
+    PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
+    NATIVE_TYPES_MAPPING = {
+        'int': int,
+        'long': int if six.PY3 else long,  # noqa: F821
+        'float': float,
+        'str': str,
+        'bool': bool,
+        'date': datetime.date,
+        'datetime': datetime.datetime,
+        'object': object,
+    }
+    _pool = None
+
+    def __init__(
+        self,
+        configuration=None,
+        header_name=None,
+        header_value=None,
+        cookie=None,
+        pool_threads=1
+    ):
+        if configuration is None:
+            configuration = Configuration.get_default_copy()
+        self.configuration = configuration
+        self.pool_threads = pool_threads
+
+        self.rest_client = rest.RESTClientObject(configuration)
+        self.default_headers = {}
+        if header_name is not None:
+            self.default_headers[header_name] = header_value
+        self.cookie = cookie
+        # Set default User-Agent.
+        self.user_agent = 'OpenAPI-Generator/0.5.99/python'
+        self.client_side_validation = configuration.client_side_validation
+
+    def __enter__(self):
+        return self
+
+    def __exit__(self, exc_type, exc_value, traceback):
+        self.close()
+
+    def close(self):
+        if self._pool:
+            self._pool.close()
+            self._pool.join()
+            self._pool = None
+            if hasattr(atexit, 'unregister'):
+                atexit.unregister(self.close)
+
+    @property
+    def pool(self):
+        """Create thread pool on first request
+         avoids instantiating unused threadpool for blocking clients.
+        """
+        if self._pool is None:
+            atexit.register(self.close)
+            self._pool = ThreadPool(self.pool_threads)
+        return self._pool
+
+    @property
+    def user_agent(self):
+        """User agent for this API client"""
+        return self.default_headers['User-Agent']
+
+    @user_agent.setter
+    def user_agent(self, value):
+        self.default_headers['User-Agent'] = value
+
+    def set_default_header(self, header_name, header_value):
+        self.default_headers[header_name] = header_value
+
+    def __call_api(
+        self,
+        resource_path,
+        method,
+        path_params=None,
+        query_params=None,
+        header_params=None,
+        body=None,
+        post_params=None,
+        files=None,
+        response_type=None,
+        auth_settings=None,
+        _return_http_data_only=None,
+        collection_formats=None,
+        _preload_content=True,
+        _request_timeout=None,
+        _host=None
+    ):
+
+        config = self.configuration
+
+        # header parameters
+        header_params = header_params or {}
+        header_params.update(self.default_headers)
+        if self.cookie:
+            header_params['Cookie'] = self.cookie
+        if header_params:
+            header_params = self.sanitize_for_serialization(header_params)
+            header_params = dict(
+                self.parameters_to_tuples(header_params, collection_formats)
+            )
+
+        # path parameters
+        if path_params:
+            path_params = self.sanitize_for_serialization(path_params)
+            path_params = self.parameters_to_tuples(
+                path_params, collection_formats
+            )
+            for k, v in path_params:
+                # specified safe chars, encode everything
+                resource_path = resource_path.replace(
+                    '{%s}' % k,
+                    quote(str(v), safe=config.safe_chars_for_path_param)
+                )
+
+        # query parameters
+        if query_params:
+            query_params = self.sanitize_for_serialization(query_params)
+            query_params = self.parameters_to_tuples(
+                query_params, collection_formats
+            )
+
+        # post parameters
+        if post_params or files:
+            post_params = post_params if post_params else []
+            post_params = self.sanitize_for_serialization(post_params)
+            post_params = self.parameters_to_tuples(
+                post_params, collection_formats
+            )
+            post_params.extend(self.files_parameters(files))
+
+        # auth setting
+        self.update_params_for_auth(header_params, query_params, auth_settings)
+
+        # body
+        if body:
+            body = self.sanitize_for_serialization(body)
+
+        # request url
+        if _host is None:
+            url = self.configuration.host + resource_path
+        else:
+            # use server/host defined in path or operation instead
+            url = _host + resource_path
+
+        try:
+            # perform request and return response
+            response_data = self.request(
+                method,
+                url,
+                query_params=query_params,
+                headers=header_params,
+                post_params=post_params,
+                body=body,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout
+            )
+        except ApiException as e:
+            e.body = e.body.decode('utf-8') if six.PY3 else e.body
+            raise e
+
+        content_type = response_data.getheader('content-type')
+
+        self.last_response = response_data
+
+        return_data = response_data
+
+        if not _preload_content:
+            return return_data
+
+        if six.PY3 and response_type not in ["file", "bytes"]:
+            match = None
+            if content_type is not None:
+                match = re.search(
+                    r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type
+                )
+            encoding = match.group(1) if match else "utf-8"
+            response_data.data = response_data.data.decode(encoding)
+
+        # deserialize response data
+        if response_type:
+            return_data = self.deserialize(response_data, response_type)
+        else:
+            return_data = None
+
+        if _return_http_data_only:
+            return (return_data)
+        else:
+            return (
+                return_data, response_data.status, response_data.getheaders()
+            )
+
+    def sanitize_for_serialization(self, obj):
+        """Builds a JSON POST object.
+
+        If obj is None, return None.
+        If obj is str, int, long, float, bool, return directly.
+        If obj is datetime.datetime, datetime.date
+            convert to string in iso8601 format.
+        If obj is list, sanitize each element in the list.
+        If obj is dict, return the dict.
+        If obj is OpenAPI model, return the properties dict.
+
+        :param obj: The data to serialize.
+        :return: The serialized form of data.
+        """
+        if obj is None:
+            return None
+        elif isinstance(obj, self.PRIMITIVE_TYPES):
+            return obj
+        elif isinstance(obj, list):
+            return [
+                self.sanitize_for_serialization(sub_obj) for sub_obj in obj
+            ]
+        elif isinstance(obj, tuple):
+            return tuple(
+                self.sanitize_for_serialization(sub_obj) for sub_obj in obj
+            )
+        elif isinstance(obj, (datetime.datetime, datetime.date)):
+            return obj.isoformat()
+
+        if isinstance(obj, dict):
+            obj_dict = obj
+        else:
+            # Convert model obj to dict except
+            # attributes `openapi_types`, `attribute_map`
+            # and attributes which value is not None.
+            # Convert attribute name to json key in
+            # model definition for request.
+            obj_dict = {
+                obj.attribute_map[attr]: getattr(obj, attr)
+                for attr, _ in six.iteritems(obj.openapi_types)
+                if getattr(obj, attr) is not None
+            }
+
+        return {
+            key: self.sanitize_for_serialization(val)
+            for key, val in six.iteritems(obj_dict)
+        }
+
+    def deserialize(self, response, response_type):
+        """Deserializes response into an object.
+
+        :param response: RESTResponse object to be deserialized.
+        :param response_type: class literal for
+            deserialized object, or string of class name.
+
+        :return: deserialized object.
+        """
+        # handle file downloading
+        # save response body into a tmp file and return the instance
+        if response_type == "file":
+            return self.__deserialize_file(response)
+
+        # fetch data from response object
+        try:
+            data = json.loads(response.data)
+        except ValueError:
+            data = response.data
+
+        return self.__deserialize(data, response_type)
+
+    def __deserialize(self, 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 type(klass) == str:
+            if klass.startswith('list['):
+                sub_kls = re.match(r'list\[(.*)\]', klass).group(1)
+                return [
+                    self.__deserialize(sub_data, sub_kls) for sub_data in data
+                ]
+
+            if klass.startswith('dict('):
+                sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2)
+                return {
+                    k: self.__deserialize(v, sub_kls)
+                    for k, v in six.iteritems(data)
+                }
+
+            # convert str to class
+            if klass in self.NATIVE_TYPES_MAPPING:
+                klass = self.NATIVE_TYPES_MAPPING[klass]
+            else:
+                klass = getattr(gnuboat.mapservice_client.models, klass)
+
+        if klass in self.PRIMITIVE_TYPES:
+            return self.__deserialize_primitive(data, klass)
+        elif klass == object:
+            return self.__deserialize_object(data)
+        elif klass == datetime.date:
+            return self.__deserialize_date(data)
+        elif klass == datetime.datetime:
+            return self.__deserialize_datetime(data)
+        else:
+            return self.__deserialize_model(data, klass)
+
+    def call_api(
+        self,
+        resource_path,
+        method,
+        path_params=None,
+        query_params=None,
+        header_params=None,
+        body=None,
+        post_params=None,
+        files=None,
+        response_type=None,
+        auth_settings=None,
+        async_req=None,
+        _return_http_data_only=None,
+        collection_formats=None,
+        _preload_content=True,
+        _request_timeout=None,
+        _host=None
+    ):
+        """Makes the HTTP request (synchronous) and returns deserialized data.
+
+        To make an async_req request, set the async_req parameter.
+
+        :param resource_path: Path to method endpoint.
+        :param method: Method to call.
+        :param path_params: Path parameters in the url.
+        :param query_params: Query parameters in the url.
+        :param header_params: Header parameters to be
+            placed in the request header.
+        :param body: Request body.
+        :param post_params dict: Request post form parameters,
+            for `application/x-www-form-urlencoded`, `multipart/form-data`.
+        :param auth_settings list: Auth Settings names for the request.
+        :param response: Response data type.
+        :param files dict: key -> filename, value -> filepath,
+            for `multipart/form-data`.
+        :param async_req bool: execute request asynchronously
+        :param _return_http_data_only: response data without head status code
+                                       and headers
+        :param collection_formats: dict of collection formats for path, query,
+            header, and post parameters.
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        :return:
+            If async_req parameter is True,
+            the request will be called asynchronously.
+            The method will return the request thread.
+            If parameter async_req is False or missing,
+            then the method will return the response directly.
+        """
+        if not async_req:
+            return self.__call_api(
+                resource_path, method, path_params, query_params,
+                header_params, body, post_params, files, response_type,
+                auth_settings, _return_http_data_only, collection_formats,
+                _preload_content, _request_timeout, _host
+            )
+
+        return self.pool.apply_async(
+            self.__call_api, (
+                resource_path, method, path_params, query_params,
+                header_params, body, post_params, files, response_type,
+                auth_settings, _return_http_data_only, collection_formats,
+                _preload_content, _request_timeout, _host
+            )
+        )
+
+    def request(
+        self,
+        method,
+        url,
+        query_params=None,
+        headers=None,
+        post_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        """Makes the HTTP request using RESTClient."""
+        if method == "GET":
+            return self.rest_client.GET(
+                url,
+                query_params=query_params,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                headers=headers
+            )
+        elif method == "HEAD":
+            return self.rest_client.HEAD(
+                url,
+                query_params=query_params,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                headers=headers
+            )
+        elif method == "OPTIONS":
+            return self.rest_client.OPTIONS(
+                url,
+                query_params=query_params,
+                headers=headers,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout
+            )
+        elif method == "POST":
+            return self.rest_client.POST(
+                url,
+                query_params=query_params,
+                headers=headers,
+                post_params=post_params,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                body=body
+            )
+        elif method == "PUT":
+            return self.rest_client.PUT(
+                url,
+                query_params=query_params,
+                headers=headers,
+                post_params=post_params,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                body=body
+            )
+        elif method == "PATCH":
+            return self.rest_client.PATCH(
+                url,
+                query_params=query_params,
+                headers=headers,
+                post_params=post_params,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                body=body
+            )
+        elif method == "DELETE":
+            return self.rest_client.DELETE(
+                url,
+                query_params=query_params,
+                headers=headers,
+                _preload_content=_preload_content,
+                _request_timeout=_request_timeout,
+                body=body
+            )
+        else:
+            raise ApiValueError(
+                "http method must be `GET`, `HEAD`, `OPTIONS`,"
+                " `POST`, `PATCH`, `PUT` or `DELETE`."
+            )
+
+    def parameters_to_tuples(self, params, collection_formats):
+        """Get parameters as list of tuples, formatting collections.
+
+        :param params: Parameters as dict or list of two-tuples
+        :param dict collection_formats: Parameter collection formats
+        :return: Parameters as list of tuples, collections formatted
+        """
+        new_params = []
+        if collection_formats is None:
+            collection_formats = {}
+        for k, v in six.iteritems(params) if isinstance(
+            params, dict
+        ) else params:  # noqa: E501
+            if k in collection_formats:
+                collection_format = collection_formats[k]
+                if collection_format == 'multi':
+                    new_params.extend((k, value) for value in v)
+                else:
+                    if collection_format == 'ssv':
+                        delimiter = ' '
+                    elif collection_format == 'tsv':
+                        delimiter = '\t'
+                    elif collection_format == 'pipes':
+                        delimiter = '|'
+                    else:  # csv is the default
+                        delimiter = ','
+                    new_params.append(
+                        (k, delimiter.join(str(value) for value in v))
+                    )
+            else:
+                new_params.append((k, v))
+        return new_params
+
+    def files_parameters(self, files=None):
+        """Builds form parameters.
+
+        :param files: File parameters.
+        :return: Form parameters with files.
+        """
+        params = []
+
+        if files:
+            for k, v in six.iteritems(files):
+                if not v:
+                    continue
+                file_names = v if type(v) is list else [v]
+                for n in file_names:
+                    with open(n, 'rb') as f:
+                        filename = os.path.basename(f.name)
+                        filedata = f.read()
+                        mimetype = (
+                            mimetypes.guess_type(filename)[0]
+                            or 'application/octet-stream'
+                        )
+                        params.append(
+                            tuple([k, tuple([filename, filedata, mimetype])])
+                        )
+
+        return params
+
+    def select_header_accept(self, accepts):
+        """Returns `Accept` based on an array of accepts provided.
+
+        :param accepts: List of headers.
+        :return: Accept (e.g. application/json).
+        """
+        if not accepts:
+            return
+
+        accepts = [x.lower() for x in accepts]
+
+        if 'application/json' in accepts:
+            return 'application/json'
+        else:
+            return ', '.join(accepts)
+
+    def select_header_content_type(self, content_types):
+        """Returns `Content-Type` based on an array of content_types provided.
+
+        :param content_types: List of content-types.
+        :return: Content-Type (e.g. application/json).
+        """
+        if not content_types:
+            return 'application/json'
+
+        content_types = [x.lower() for x in content_types]
+
+        if 'application/json' in content_types or '*/*' in content_types:
+            return 'application/json'
+        else:
+            return content_types[0]
+
+    def update_params_for_auth(self, headers, querys, auth_settings):
+        """Updates header and query params based on authentication setting.
+
+        :param headers: Header parameters dict to be updated.
+        :param querys: Query parameters tuple list to be updated.
+        :param auth_settings: Authentication setting identifiers list.
+        """
+        if not auth_settings:
+            return
+
+        for auth in auth_settings:
+            auth_setting = self.configuration.auth_settings().get(auth)
+            if auth_setting:
+                if auth_setting['in'] == 'cookie':
+                    headers['Cookie'] = auth_setting['value']
+                elif auth_setting['in'] == 'header':
+                    headers[auth_setting['key']] = auth_setting['value']
+                elif auth_setting['in'] == 'query':
+                    querys.append((auth_setting['key'], auth_setting['value']))
+                else:
+                    raise ApiValueError(
+                        'Authentication token must be in `query` or `header`'
+                    )
+
+    def __deserialize_file(self, response):
+        """Deserializes body to file
+
+        Saves response body into a file in a temporary folder,
+        using the filename from the `Content-Disposition` header if provided.
+
+        :param response:  RESTResponse.
+        :return: file path.
+        """
+        fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path)
+        os.close(fd)
+        os.remove(path)
+
+        content_disposition = response.getheader("Content-Disposition")
+        if content_disposition:
+            filename = re.search(
+                r'filename=[\'"]?([^\'"\s]+)[\'"]?', content_disposition
+            ).group(1)
+            path = os.path.join(os.path.dirname(path), filename)
+
+        with open(path, "wb") as f:
+            f.write(response.data)
+
+        return path
+
+    def __deserialize_primitive(self, data, klass):
+        """Deserializes string to primitive type.
+
+        :param data: str.
+        :param klass: class literal.
+
+        :return: int, long, float, str, bool.
+        """
+        try:
+            return klass(data)
+        except UnicodeEncodeError:
+            return six.text_type(data)
+        except TypeError:
+            return data
+
+    def __deserialize_object(self, value):
+        """Return an original value.
+
+        :return: object.
+        """
+        return value
+
+    def __deserialize_date(self, string):
+        """Deserializes string to date.
+
+        :param string: str.
+        :return: date.
+        """
+        try:
+            return parse(string).date()
+        except ImportError:
+            return string
+        except ValueError:
+            raise rest.ApiException(
+                status=0,
+                reason="Failed to parse `{0}` as date object".format(string)
+            )
+
+    def __deserialize_datetime(self, string):
+        """Deserializes string to datetime.
+
+        The string should be in iso8601 datetime format.
+
+        :param string: str.
+        :return: datetime.
+        """
+        try:
+            return parse(string)
+        except ImportError:
+            return string
+        except ValueError:
+            raise rest.ApiException(
+                status=0,
+                reason=(
+                    "Failed to parse `{0}` as datetime object".format(string)
+                )
+            )
+
+    def __deserialize_model(self, data, klass):
+        """Deserializes list or dict to model.
+
+        :param data: dict, list.
+        :param klass: class literal.
+        :return: model object.
+        """
+        has_discriminator = False
+        if (
+            hasattr(klass, 'get_real_child_model')
+            and klass.discriminator_value_class_map
+        ):
+            has_discriminator = True
+
+        if not klass.openapi_types and has_discriminator is False:
+            return data
+
+        kwargs = {}
+        if (
+            data is not None and klass.openapi_types is not None
+            and isinstance(data, (list, dict))
+        ):
+            for attr, attr_type in six.iteritems(klass.openapi_types):
+                if klass.attribute_map[attr] in data:
+                    value = data[klass.attribute_map[attr]]
+                    kwargs[attr] = self.__deserialize(value, attr_type)
+
+        instance = klass(**kwargs)
+
+        if has_discriminator:
+            klass_name = instance.get_real_child_model(data)
+            if klass_name:
+                instance = self.__deserialize(data, klass_name)
+        return instance
Index: src/gnuboat/mapservice_client/configuration.py
===================================================================
--- src/gnuboat/mapservice_client/configuration.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/configuration.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,447 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import copy
+import logging
+import multiprocessing
+import sys
+import urllib3
+
+import six
+from six.moves import http_client as httplib
+
+
+class Configuration(object):
+    """NOTE: This class is auto generated by OpenAPI Generator
+
+    Ref: https://openapi-generator.tech
+    Do not edit the class manually.
+
+    :param host: Base url
+    :param api_key: Dict to store API key(s).
+      Each entry in the dict specifies an API key.
+      The dict key is the name of the security scheme in the OAS specification.
+      The dict value is the API key secret.
+    :param api_key_prefix: Dict to store API prefix (e.g. Bearer)
+      The dict key is the name of the security scheme in the OAS specification.
+      The dict value is an API key prefix when generating the auth data.
+    :param username: Username for HTTP basic authentication
+    :param password: Password for HTTP basic authentication
+    :param discard_unknown_keys: Boolean value indicating whether to discard
+      unknown properties. A server may send a response that includes additional
+      properties that are not known by the client in the following scenarios:
+      1. The OpenAPI document is incomplete, i.e. it does not match the server
+         implementation.
+      2. The client was generated using an older version of the OpenAPI document
+         and the server has been upgraded since then.
+      If a schema in the OpenAPI document defines the additionalProperties attribute,
+      then all undeclared properties received by the server are injected into the
+      additional properties map. In that case, there are undeclared properties, and
+      nothing to discard.
+
+    :Example:
+
+    API Key Authentication Example.
+    Given the following security scheme in the OpenAPI specification:
+      components:
+        securitySchemes:
+          cookieAuth:         # name for the security scheme
+            type: apiKey
+            in: cookie
+            name: JSESSIONID  # cookie name
+
+    You can programmatically set the cookie:
+
+conf = gnuboat.mapservice_client.Configuration(
+    api_key={'cookieAuth': 'abc123'}
+    api_key_prefix={'cookieAuth': 'JSESSIONID'}
+)
+
+    The following cookie will be added to the HTTP request:
+       Cookie: JSESSIONID abc123
+
+    HTTP Basic Authentication Example.
+    Given the following security scheme in the OpenAPI specification:
+      components:
+        securitySchemes:
+          http_basic_auth:
+            type: http
+            scheme: basic
+
+    Configure API client with HTTP basic authentication:
+
+conf = gnuboat.mapservice_client.Configuration(
+    username='the-user',
+    password='the-password',
+)
+
+    """
+
+    _default = None
+
+    def __init__(
+        self,
+        host="https://gnuboat.engsas.com/mapservice/v1",
+        api_key=None,
+        api_key_prefix=None,
+        username=None,
+        password=None,
+        discard_unknown_keys=False,
+    ):
+        """Constructor
+        """
+        self.host = host
+        """Default Base url
+        """
+        self.temp_folder_path = None
+        """Temp file folder for downloading files
+        """
+        # Authentication Settings
+        self.api_key = {}
+        if api_key:
+            self.api_key = api_key
+        """dict to store API key(s)
+        """
+        self.api_key_prefix = {}
+        if api_key_prefix:
+            self.api_key_prefix = api_key_prefix
+        """dict to store API prefix (e.g. Bearer)
+        """
+        self.refresh_api_key_hook = None
+        """function hook to refresh API key if expired
+        """
+        self.username = username
+        """Username for HTTP basic authentication
+        """
+        self.password = password
+        """Password for HTTP basic authentication
+        """
+        self.discard_unknown_keys = discard_unknown_keys
+        self.logger = {}
+        """Logging Settings
+        """
+        self.logger["package_logger"] = logging.getLogger(
+            "gnuboat.mapservice_client"
+        )
+        self.logger["urllib3_logger"] = logging.getLogger("urllib3")
+        self.logger_format = '%(asctime)s %(levelname)s %(message)s'
+        """Log format
+        """
+        self.logger_stream_handler = None
+        """Log stream handler
+        """
+        self.logger_file_handler = None
+        """Log file handler
+        """
+        self.logger_file = None
+        """Debug file location
+        """
+        self.debug = False
+        """Debug switch
+        """
+
+        self.verify_ssl = True
+        """SSL/TLS verification
+           Set this to false to skip verifying SSL certificate when calling API
+           from https server.
+        """
+        self.ssl_ca_cert = None
+        """Set this to customize the certificate file to verify the peer.
+        """
+        self.cert_file = None
+        """client certificate file
+        """
+        self.key_file = None
+        """client key file
+        """
+        self.assert_hostname = None
+        """Set this to True/False to enable/disable SSL hostname verification.
+        """
+
+        self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
+        """urllib3 connection pool's maximum number of connections saved
+           per pool. urllib3 uses 1 connection as default value, but this is
+           not the best value when you are making a lot of possibly parallel
+           requests to the same host, which is often the case here.
+           cpu_count * 5 is used as default value to increase performance.
+        """
+
+        self.proxy = None
+        """Proxy URL
+        """
+        self.proxy_headers = None
+        """Proxy headers
+        """
+        self.safe_chars_for_path_param = ''
+        """Safe chars for path_param
+        """
+        self.retries = None
+        """Adding retries to override urllib3 default value 3
+        """
+        # Disable client side validation
+        self.client_side_validation = True
+
+    def __deepcopy__(self, memo):
+        cls = self.__class__
+        result = cls.__new__(cls)
+        memo[id(self)] = result
+        for k, v in self.__dict__.items():
+            if k not in ('logger', 'logger_file_handler'):
+                setattr(result, k, copy.deepcopy(v, memo))
+        # shallow copy of loggers
+        result.logger = copy.copy(self.logger)
+        # use setters to configure loggers
+        result.logger_file = self.logger_file
+        result.debug = self.debug
+        return result
+
+    def __setattr__(self, name, value):
+        object.__setattr__(self, name, value)
+
+    @classmethod
+    def set_default(cls, default):
+        """Set default instance of configuration.
+
+        It stores default configuration, which can be
+        returned by get_default_copy method.
+
+        :param default: object of Configuration
+        """
+        cls._default = copy.deepcopy(default)
+
+    @classmethod
+    def get_default_copy(cls):
+        """Return new instance of configuration.
+
+        This method returns newly created, based on default constructor,
+        object of Configuration class or returns a copy of default
+        configuration passed by the set_default method.
+
+        :return: The configuration object.
+        """
+        if cls._default is not None:
+            return copy.deepcopy(cls._default)
+        return Configuration()
+
+    @property
+    def logger_file(self):
+        """The logger file.
+
+        If the logger_file is None, then add stream handler and remove file
+        handler. Otherwise, add file handler and remove stream handler.
+
+        :param value: The logger_file path.
+        :type: str
+        """
+        return self.__logger_file
+
+    @logger_file.setter
+    def logger_file(self, value):
+        """The logger file.
+
+        If the logger_file is None, then add stream handler and remove file
+        handler. Otherwise, add file handler and remove stream handler.
+
+        :param value: The logger_file path.
+        :type: str
+        """
+        self.__logger_file = value
+        if self.__logger_file:
+            # If set logging file,
+            # then add file handler and remove stream handler.
+            self.logger_file_handler = logging.FileHandler(self.__logger_file)
+            self.logger_file_handler.setFormatter(self.logger_formatter)
+            for _, logger in six.iteritems(self.logger):
+                logger.addHandler(self.logger_file_handler)
+
+    @property
+    def debug(self):
+        """Debug status
+
+        :param value: The debug status, True or False.
+        :type: bool
+        """
+        return self.__debug
+
+    @debug.setter
+    def debug(self, value):
+        """Debug status
+
+        :param value: The debug status, True or False.
+        :type: bool
+        """
+        self.__debug = value
+        if self.__debug:
+            # if debug status is True, turn on debug logging
+            for _, logger in six.iteritems(self.logger):
+                logger.setLevel(logging.DEBUG)
+            # turn on httplib debug
+            httplib.HTTPConnection.debuglevel = 1
+        else:
+            # if debug status is False, turn off debug logging,
+            # setting log level to default `logging.WARNING`
+            for _, logger in six.iteritems(self.logger):
+                logger.setLevel(logging.WARNING)
+            # turn off httplib debug
+            httplib.HTTPConnection.debuglevel = 0
+
+    @property
+    def logger_format(self):
+        """The logger format.
+
+        The logger_formatter will be updated when sets logger_format.
+
+        :param value: The format string.
+        :type: str
+        """
+        return self.__logger_format
+
+    @logger_format.setter
+    def logger_format(self, value):
+        """The logger format.
+
+        The logger_formatter will be updated when sets logger_format.
+
+        :param value: The format string.
+        :type: str
+        """
+        self.__logger_format = value
+        self.logger_formatter = logging.Formatter(self.__logger_format)
+
+    def get_api_key_with_prefix(self, identifier):
+        """Gets API key (with prefix if set).
+
+        :param identifier: The identifier of apiKey.
+        :return: The token for api key authentication.
+        """
+        if self.refresh_api_key_hook is not None:
+            self.refresh_api_key_hook(self)
+        key = self.api_key.get(identifier)
+        if key:
+            prefix = self.api_key_prefix.get(identifier)
+            if prefix:
+                return "%s %s" % (prefix, key)
+            else:
+                return key
+
+    def get_basic_auth_token(self):
+        """Gets HTTP basic authentication header (string).
+
+        :return: The token for basic HTTP authentication.
+        """
+        username = ""
+        if self.username is not None:
+            username = self.username
+        password = ""
+        if self.password is not None:
+            password = self.password
+        return urllib3.util.make_headers(basic_auth=username + ':' + password
+                                         ).get('authorization')
+
+    def auth_settings(self):
+        """Gets Auth Settings dict for api client.
+
+        :return: The Auth Settings information dict.
+        """
+        auth = {}
+        if 'X-API-KEY' in self.api_key:
+            auth['apiKeyAuth'] = {
+                'type': 'api_key',
+                'in': 'header',
+                'key': 'X-API-KEY',
+                'value': self.get_api_key_with_prefix('X-API-KEY')
+            }
+        if self.username is not None and self.password is not None:
+            auth['basicAuth'] = {
+                'type': 'basic',
+                'in': 'header',
+                'key': 'Authorization',
+                'value': self.get_basic_auth_token()
+            }
+        return auth
+
+    def to_debug_report(self):
+        """Gets the essential information for debugging.
+
+        :return: The report for debugging.
+        """
+        return "Python SDK Debug Report:\n"\
+               "OS: {env}\n"\
+               "Python Version: {pyversion}\n"\
+               "Version of the API: v1\n"\
+               "SDK Package Version: 0.5.99".\
+               format(env=sys.platform, pyversion=sys.version)
+
+    def get_host_settings(self):
+        """Gets an array of host settings
+
+        :return: An array of host settings
+        """
+        return [{
+            'url': "https://gnuboat.engsas.com/mapservice/{version}",
+            'description': "The production API server",
+            'variables': {
+                'version': {
+                    'description': "No description provided",
+                    'default_value': "v1",
+                }
+            }
+        }, {
+            'url': "http://localhost:8080/mapservice/{version}",
+            'description': "The local flask development url",
+            'variables': {
+                'version': {
+                    'description': "No description provided",
+                    'default_value': "v1",
+                }
+            }
+        }]
+
+    def get_host_from_settings(self, index, variables=None):
+        """Gets host URL based on the index and variables
+        :param index: array index of the host settings
+        :param variables: hash of variable and the corresponding value
+        :return: URL based on host settings
+        """
+        variables = {} if variables is None else variables
+        servers = self.get_host_settings()
+
+        try:
+            server = servers[index]
+        except IndexError:
+            raise ValueError(
+                "Invalid index {0} when selecting the host settings. "
+                "Must be less than {1}".format(index, len(servers))
+            )
+
+        url = server['url']
+
+        # go through variables and replace placeholders
+        for variable_name, variable in server['variables'].items():
+            used_value = variables.get(
+                variable_name, variable['default_value']
+            )
+
+            if 'enum_values' in variable \
+                    and used_value not in variable['enum_values']:
+                raise ValueError(
+                    "The variable `{0}` in the host URL has invalid value "
+                    "{1}. Must be {2}.".format(
+                        variable_name, variables[variable_name],
+                        variable['enum_values']
+                    )
+                )
+
+            url = url.replace("{" + variable_name + "}", used_value)
+
+        return url
Index: src/gnuboat/mapservice_client/exceptions.py
===================================================================
--- src/gnuboat/mapservice_client/exceptions.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/exceptions.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,120 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import six
+
+
+class OpenApiException(Exception):
+    """The base exception class for all OpenAPIExceptions"""
+
+
+class ApiTypeError(OpenApiException, TypeError):
+    def __init__(
+        self, msg, path_to_item=None, valid_classes=None, key_type=None
+    ):
+        """ Raises an exception for TypeErrors
+
+        Args:
+            msg (str): the exception message
+
+        Keyword Args:
+            path_to_item (list): a list of keys an indices to get to the
+                                 current_item
+                                 None if unset
+            valid_classes (tuple): the primitive classes that current item
+                                   should be an instance of
+                                   None if unset
+            key_type (bool): False if our value is a value in a dict
+                             True if it is a key in a dict
+                             False if our item is an item in a list
+                             None if unset
+        """
+        self.path_to_item = path_to_item
+        self.valid_classes = valid_classes
+        self.key_type = key_type
+        full_msg = msg
+        if path_to_item:
+            full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
+        super(ApiTypeError, self).__init__(full_msg)
+
+
+class ApiValueError(OpenApiException, ValueError):
+    def __init__(self, msg, path_to_item=None):
+        """
+        Args:
+            msg (str): the exception message
+
+        Keyword Args:
+            path_to_item (list) the path to the exception in the
+                received_data dict. None if unset
+        """
+
+        self.path_to_item = path_to_item
+        full_msg = msg
+        if path_to_item:
+            full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
+        super(ApiValueError, self).__init__(full_msg)
+
+
+class ApiKeyError(OpenApiException, KeyError):
+    def __init__(self, msg, path_to_item=None):
+        """
+        Args:
+            msg (str): the exception message
+
+        Keyword Args:
+            path_to_item (None/list) the path to the exception in the
+                received_data dict
+        """
+        self.path_to_item = path_to_item
+        full_msg = msg
+        if path_to_item:
+            full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
+        super(ApiKeyError, self).__init__(full_msg)
+
+
+class ApiException(OpenApiException):
+    def __init__(self, status=None, reason=None, http_resp=None):
+        if http_resp:
+            self.status = http_resp.status
+            self.reason = http_resp.reason
+            self.body = http_resp.data
+            self.headers = http_resp.getheaders()
+        else:
+            self.status = status
+            self.reason = reason
+            self.body = None
+            self.headers = None
+
+    def __str__(self):
+        """Custom error messages for exception"""
+        error_message = "({0})\n"\
+                        "Reason: {1}\n".format(self.status, self.reason)
+        if self.headers:
+            error_message += "HTTP response headers: {0}\n".format(
+                self.headers
+            )
+
+        if self.body:
+            error_message += "HTTP response body: {0}\n".format(self.body)
+
+        return error_message
+
+
+def render_path(path_to_item):
+    """Returns a string representation of a path"""
+    result = ""
+    for pth in path_to_item:
+        if isinstance(pth, six.integer_types):
+            result += "[{0}]".format(pth)
+        else:
+            result += "['{0}']".format(pth)
+    return result
Index: src/gnuboat/mapservice_client/models/__init__.py
===================================================================
--- src/gnuboat/mapservice_client/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/__init__.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,39 @@
+# coding: utf-8
+
+# flake8: noqa
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+# import models into model package
+from gnuboat.mapservice_client.models.device import Device
+from gnuboat.mapservice_client.models.device_creation import DeviceCreation
+from gnuboat.mapservice_client.models.gauge import Gauge
+from gnuboat.mapservice_client.models.gauge_creation import GaugeCreation
+from gnuboat.mapservice_client.models.gauge_geo_json import GaugeGeoJson
+from gnuboat.mapservice_client.models.gauge_geo_json_properties import GaugeGeoJsonProperties
+from gnuboat.mapservice_client.models.geo_json_point import GeoJsonPoint
+from gnuboat.mapservice_client.models.geo_json_type import GeoJsonType
+from gnuboat.mapservice_client.models.http_error import HttpError
+from gnuboat.mapservice_client.models.item_base import ItemBase
+from gnuboat.mapservice_client.models.log import Log
+from gnuboat.mapservice_client.models.log_creation import LogCreation
+from gnuboat.mapservice_client.models.log_entry import LogEntry
+from gnuboat.mapservice_client.models.log_entry_geo_json import LogEntryGeoJson
+from gnuboat.mapservice_client.models.log_entry_geo_json_properties import LogEntryGeoJsonProperties
+from gnuboat.mapservice_client.models.log_geo_json import LogGeoJson
+from gnuboat.mapservice_client.models.log_meta_data import LogMetaData
+from gnuboat.mapservice_client.models.order import Order
+from gnuboat.mapservice_client.models.osm_type import OsmType
+from gnuboat.mapservice_client.models.user import User
+from gnuboat.mapservice_client.models.user_creation import UserCreation
+from gnuboat.mapservice_client.models.water import Water
+from gnuboat.mapservice_client.models.water_creation import WaterCreation
Index: src/gnuboat/mapservice_client/models/device.py
===================================================================
--- src/gnuboat/mapservice_client/models/device.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/device.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,249 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class Device(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'device_id': 'int',
+        'name': 'str',
+        'sensor_depth': 'float',
+        'logs': 'list[LogMetaData]',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'device_id': 'deviceId',
+        'name': 'name',
+        'sensor_depth': 'sensorDepth',
+        'logs': 'logs',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        device_id=None,
+        name=None,
+        sensor_depth=None,
+        logs=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """Device - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._device_id = None
+        self._name = None
+        self._sensor_depth = None
+        self._logs = None
+        self._comment = None
+        self.discriminator = None
+
+        self.device_id = device_id
+        self.name = name
+        self.sensor_depth = sensor_depth
+        if logs is not None:
+            self.logs = logs
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def device_id(self):
+        """Gets the device_id of this Device.  # noqa: E501
+
+
+        :return: The device_id of this Device.  # noqa: E501
+        :rtype: int
+        """
+        return self._device_id
+
+    @device_id.setter
+    def device_id(self, device_id):
+        """Sets the device_id of this Device.
+
+
+        :param device_id: The device_id of this Device.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and device_id is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `device_id`, must not be `None`"
+            )  # noqa: E501
+
+        self._device_id = device_id
+
+    @property
+    def name(self):
+        """Gets the name of this Device.  # noqa: E501
+
+
+        :return: The name of this Device.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Device.
+
+
+        :param name: The name of this Device.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def sensor_depth(self):
+        """Gets the sensor_depth of this Device.  # noqa: E501
+
+
+        :return: The sensor_depth of this Device.  # noqa: E501
+        :rtype: float
+        """
+        return self._sensor_depth
+
+    @sensor_depth.setter
+    def sensor_depth(self, sensor_depth):
+        """Sets the sensor_depth of this Device.
+
+
+        :param sensor_depth: The sensor_depth of this Device.  # noqa: E501
+        :type: float
+        """
+        if self.local_vars_configuration.client_side_validation and sensor_depth is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must not be `None`"
+            )  # noqa: E501
+        if (
+            self.local_vars_configuration.client_side_validation
+            and sensor_depth is not None and sensor_depth < 0
+        ):  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._sensor_depth = sensor_depth
+
+    @property
+    def logs(self):
+        """Gets the logs of this Device.  # noqa: E501
+
+
+        :return: The logs of this Device.  # noqa: E501
+        :rtype: list[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Device.
+
+
+        :param logs: The logs of this Device.  # noqa: E501
+        :type: list[LogMetaData]
+        """
+
+        self._logs = logs
+
+    @property
+    def comment(self):
+        """Gets the comment of this Device.  # noqa: E501
+
+
+        :return: The comment of this Device.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this Device.
+
+
+        :param comment: The comment of this Device.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, Device):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, Device):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/device_creation.py
===================================================================
--- src/gnuboat/mapservice_client/models/device_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/device_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,188 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class DeviceCreation(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'name': 'str', 'sensor_depth': 'float', 'comment': 'str'}
+
+    attribute_map = {
+        'name': 'name',
+        'sensor_depth': 'sensorDepth',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        name=None,
+        sensor_depth=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """DeviceCreation - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._name = None
+        self._sensor_depth = None
+        self._comment = None
+        self.discriminator = None
+
+        self.name = name
+        self.sensor_depth = sensor_depth
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def name(self):
+        """Gets the name of this DeviceCreation.  # noqa: E501
+
+
+        :return: The name of this DeviceCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this DeviceCreation.
+
+
+        :param name: The name of this DeviceCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def sensor_depth(self):
+        """Gets the sensor_depth of this DeviceCreation.  # noqa: E501
+
+
+        :return: The sensor_depth of this DeviceCreation.  # noqa: E501
+        :rtype: float
+        """
+        return self._sensor_depth
+
+    @sensor_depth.setter
+    def sensor_depth(self, sensor_depth):
+        """Sets the sensor_depth of this DeviceCreation.
+
+
+        :param sensor_depth: The sensor_depth of this DeviceCreation.  # noqa: E501
+        :type: float
+        """
+        if self.local_vars_configuration.client_side_validation and sensor_depth is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must not be `None`"
+            )  # noqa: E501
+        if (
+            self.local_vars_configuration.client_side_validation
+            and sensor_depth is not None and sensor_depth < 0
+        ):  # noqa: E501
+            raise ValueError(
+                "Invalid value for `sensor_depth`, must be a value greater than or equal to `0`"
+            )  # noqa: E501
+
+        self._sensor_depth = sensor_depth
+
+    @property
+    def comment(self):
+        """Gets the comment of this DeviceCreation.  # noqa: E501
+
+
+        :return: The comment of this DeviceCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this DeviceCreation.
+
+
+        :param comment: The comment of this DeviceCreation.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, DeviceCreation):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, DeviceCreation):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/gauge.py
===================================================================
--- src/gnuboat/mapservice_client/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/gauge.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,303 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class Gauge(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'gauge_id': 'int',
+        'name': 'str',
+        'manager': 'str',
+        'location': 'list[float]',
+        'reference_water_level_gauge_height': 'float',
+        'logs': 'list[LogMetaData]',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'gauge_id': 'gaugeId',
+        'name': 'name',
+        'manager': 'manager',
+        'location': 'location',
+        'reference_water_level_gauge_height': 'referenceWaterLevelGaugeHeight',
+        'logs': 'logs',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        gauge_id=None,
+        name=None,
+        manager=None,
+        location=None,
+        reference_water_level_gauge_height=None,
+        logs=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """Gauge - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._gauge_id = None
+        self._name = None
+        self._manager = None
+        self._location = None
+        self._reference_water_level_gauge_height = None
+        self._logs = None
+        self._comment = None
+        self.discriminator = None
+
+        self.gauge_id = gauge_id
+        self.name = name
+        if manager is not None:
+            self.manager = manager
+        self.location = location
+        self.reference_water_level_gauge_height = reference_water_level_gauge_height
+        if logs is not None:
+            self.logs = logs
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def gauge_id(self):
+        """Gets the gauge_id of this Gauge.  # noqa: E501
+
+
+        :return: The gauge_id of this Gauge.  # noqa: E501
+        :rtype: int
+        """
+        return self._gauge_id
+
+    @gauge_id.setter
+    def gauge_id(self, gauge_id):
+        """Sets the gauge_id of this Gauge.
+
+
+        :param gauge_id: The gauge_id of this Gauge.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and gauge_id is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `gauge_id`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_id = gauge_id
+
+    @property
+    def name(self):
+        """Gets the name of this Gauge.  # noqa: E501
+
+
+        :return: The name of this Gauge.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Gauge.
+
+
+        :param name: The name of this Gauge.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def manager(self):
+        """Gets the manager of this Gauge.  # noqa: E501
+
+
+        :return: The manager of this Gauge.  # noqa: E501
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this Gauge.
+
+
+        :param manager: The manager of this Gauge.  # noqa: E501
+        :type: str
+        """
+
+        self._manager = manager
+
+    @property
+    def location(self):
+        """Gets the location of this Gauge.  # noqa: E501
+
+
+        :return: The location of this Gauge.  # noqa: E501
+        :rtype: list[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this Gauge.
+
+
+        :param location: The location of this Gauge.  # noqa: E501
+        :type: list[float]
+        """
+        if self.local_vars_configuration.client_side_validation and location is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this Gauge.  # noqa: E501
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this Gauge.  # noqa: E501
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this Gauge.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this Gauge.  # noqa: E501
+        :type: float
+        """
+        if self.local_vars_configuration.client_side_validation and reference_water_level_gauge_height is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `reference_water_level_gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def logs(self):
+        """Gets the logs of this Gauge.  # noqa: E501
+
+
+        :return: The logs of this Gauge.  # noqa: E501
+        :rtype: list[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Gauge.
+
+
+        :param logs: The logs of this Gauge.  # noqa: E501
+        :type: list[LogMetaData]
+        """
+
+        self._logs = logs
+
+    @property
+    def comment(self):
+        """Gets the comment of this Gauge.  # noqa: E501
+
+
+        :return: The comment of this Gauge.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this Gauge.
+
+
+        :param comment: The comment of this Gauge.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, Gauge):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, Gauge):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/gauge_creation.py
===================================================================
--- src/gnuboat/mapservice_client/models/gauge_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/gauge_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,243 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class GaugeCreation(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'name': 'str',
+        'location': 'list[float]',
+        'reference_water_level_gauge_height': 'float',
+        'water': 'int',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'name': 'name',
+        'location': 'location',
+        'reference_water_level_gauge_height': 'referenceWaterLevelGaugeHeight',
+        'water': 'water',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        name=None,
+        location=None,
+        reference_water_level_gauge_height=None,
+        water=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """GaugeCreation - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._name = None
+        self._location = None
+        self._reference_water_level_gauge_height = None
+        self._water = None
+        self._comment = None
+        self.discriminator = None
+
+        self.name = name
+        self.location = location
+        if reference_water_level_gauge_height is not None:
+            self.reference_water_level_gauge_height = reference_water_level_gauge_height
+        if water is not None:
+            self.water = water
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def name(self):
+        """Gets the name of this GaugeCreation.  # noqa: E501
+
+
+        :return: The name of this GaugeCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this GaugeCreation.
+
+
+        :param name: The name of this GaugeCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def location(self):
+        """Gets the location of this GaugeCreation.  # noqa: E501
+
+
+        :return: The location of this GaugeCreation.  # noqa: E501
+        :rtype: list[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this GaugeCreation.
+
+
+        :param location: The location of this GaugeCreation.  # noqa: E501
+        :type: list[float]
+        """
+        if self.local_vars_configuration.client_side_validation and location is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this GaugeCreation.  # noqa: E501
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this GaugeCreation.  # noqa: E501
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this GaugeCreation.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeCreation.  # noqa: E501
+        :type: float
+        """
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def water(self):
+        """Gets the water of this GaugeCreation.  # noqa: E501
+
+
+        :return: The water of this GaugeCreation.  # noqa: E501
+        :rtype: int
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this GaugeCreation.
+
+
+        :param water: The water of this GaugeCreation.  # noqa: E501
+        :type: int
+        """
+
+        self._water = water
+
+    @property
+    def comment(self):
+        """Gets the comment of this GaugeCreation.  # noqa: E501
+
+
+        :return: The comment of this GaugeCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this GaugeCreation.
+
+
+        :param comment: The comment of this GaugeCreation.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, GaugeCreation):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, GaugeCreation):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/gauge_geo_json.py
===================================================================
--- src/gnuboat/mapservice_client/models/gauge_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/gauge_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,188 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class GaugeGeoJson(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'type': 'GeoJsonType',
+        'geometry': 'GeoJsonPoint',
+        'properties': 'GaugeGeoJsonProperties'
+    }
+
+    attribute_map = {
+        'type': 'type',
+        'geometry': 'geometry',
+        'properties': 'properties'
+    }
+
+    def __init__(
+        self,
+        type=None,
+        geometry=None,
+        properties=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """GaugeGeoJson - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._type = None
+        self._geometry = None
+        self._properties = None
+        self.discriminator = None
+
+        self.type = type
+        self.geometry = geometry
+        self.properties = properties
+
+    @property
+    def type(self):
+        """Gets the type of this GaugeGeoJson.  # noqa: E501
+
+
+        :return: The type of this GaugeGeoJson.  # noqa: E501
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this GaugeGeoJson.
+
+
+        :param type: The type of this GaugeGeoJson.  # noqa: E501
+        :type: GeoJsonType
+        """
+        if self.local_vars_configuration.client_side_validation and type is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def geometry(self):
+        """Gets the geometry of this GaugeGeoJson.  # noqa: E501
+
+
+        :return: The geometry of this GaugeGeoJson.  # noqa: E501
+        :rtype: GeoJsonPoint
+        """
+        return self._geometry
+
+    @geometry.setter
+    def geometry(self, geometry):
+        """Sets the geometry of this GaugeGeoJson.
+
+
+        :param geometry: The geometry of this GaugeGeoJson.  # noqa: E501
+        :type: GeoJsonPoint
+        """
+        if self.local_vars_configuration.client_side_validation and geometry is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `geometry`, must not be `None`"
+            )  # noqa: E501
+
+        self._geometry = geometry
+
+    @property
+    def properties(self):
+        """Gets the properties of this GaugeGeoJson.  # noqa: E501
+
+
+        :return: The properties of this GaugeGeoJson.  # noqa: E501
+        :rtype: GaugeGeoJsonProperties
+        """
+        return self._properties
+
+    @properties.setter
+    def properties(self, properties):
+        """Sets the properties of this GaugeGeoJson.
+
+
+        :param properties: The properties of this GaugeGeoJson.  # noqa: E501
+        :type: GaugeGeoJsonProperties
+        """
+        if self.local_vars_configuration.client_side_validation and properties is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `properties`, must not be `None`"
+            )  # noqa: E501
+
+        self._properties = properties
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, GaugeGeoJson):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, GaugeGeoJson):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/gauge_geo_json_properties.py
===================================================================
--- src/gnuboat/mapservice_client/models/gauge_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/gauge_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,213 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class GaugeGeoJsonProperties(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'name': 'str',
+        'manager': 'str',
+        'reference_water_level_gauge_height': 'float',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'name': 'name',
+        'manager': 'manager',
+        'reference_water_level_gauge_height': 'referenceWaterLevelGaugeHeight',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        name=None,
+        manager=None,
+        reference_water_level_gauge_height=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """GaugeGeoJsonProperties - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._name = None
+        self._manager = None
+        self._reference_water_level_gauge_height = None
+        self._comment = None
+        self.discriminator = None
+
+        self.name = name
+        if manager is not None:
+            self.manager = manager
+        if reference_water_level_gauge_height is not None:
+            self.reference_water_level_gauge_height = reference_water_level_gauge_height
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def name(self):
+        """Gets the name of this GaugeGeoJsonProperties.  # noqa: E501
+
+
+        :return: The name of this GaugeGeoJsonProperties.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this GaugeGeoJsonProperties.
+
+
+        :param name: The name of this GaugeGeoJsonProperties.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `name`, must not be `None`"
+            )  # noqa: E501
+
+        self._name = name
+
+    @property
+    def manager(self):
+        """Gets the manager of this GaugeGeoJsonProperties.  # noqa: E501
+
+
+        :return: The manager of this GaugeGeoJsonProperties.  # noqa: E501
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this GaugeGeoJsonProperties.
+
+
+        :param manager: The manager of this GaugeGeoJsonProperties.  # noqa: E501
+        :type: str
+        """
+
+        self._manager = manager
+
+    @property
+    def reference_water_level_gauge_height(self):
+        """Gets the reference_water_level_gauge_height of this GaugeGeoJsonProperties.  # noqa: E501
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :return: The reference_water_level_gauge_height of this GaugeGeoJsonProperties.  # noqa: E501
+        :rtype: float
+        """
+        return self._reference_water_level_gauge_height
+
+    @reference_water_level_gauge_height.setter
+    def reference_water_level_gauge_height(
+        self, reference_water_level_gauge_height
+    ):
+        """Sets the reference_water_level_gauge_height of this GaugeGeoJsonProperties.
+
+        The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.  # noqa: E501
+
+        :param reference_water_level_gauge_height: The reference_water_level_gauge_height of this GaugeGeoJsonProperties.  # noqa: E501
+        :type: float
+        """
+
+        self._reference_water_level_gauge_height = reference_water_level_gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this GaugeGeoJsonProperties.  # noqa: E501
+
+
+        :return: The comment of this GaugeGeoJsonProperties.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this GaugeGeoJsonProperties.
+
+
+        :param comment: The comment of this GaugeGeoJsonProperties.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, GaugeGeoJsonProperties):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, GaugeGeoJsonProperties):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/geo_json_point.py
===================================================================
--- src/gnuboat/mapservice_client/models/geo_json_point.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/geo_json_point.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,146 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class GeoJsonPoint(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'type': 'str', 'coordinates': 'list[float]'}
+
+    attribute_map = {'type': 'type', 'coordinates': 'coordinates'}
+
+    def __init__(
+        self,
+        type=None,
+        coordinates=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """GeoJsonPoint - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._type = None
+        self._coordinates = None
+        self.discriminator = None
+
+        if type is not None:
+            self.type = type
+        if coordinates is not None:
+            self.coordinates = coordinates
+
+    @property
+    def type(self):
+        """Gets the type of this GeoJsonPoint.  # noqa: E501
+
+
+        :return: The type of this GeoJsonPoint.  # noqa: E501
+        :rtype: str
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this GeoJsonPoint.
+
+
+        :param type: The type of this GeoJsonPoint.  # noqa: E501
+        :type: str
+        """
+
+        self._type = type
+
+    @property
+    def coordinates(self):
+        """Gets the coordinates of this GeoJsonPoint.  # noqa: E501
+
+
+        :return: The coordinates of this GeoJsonPoint.  # noqa: E501
+        :rtype: list[float]
+        """
+        return self._coordinates
+
+    @coordinates.setter
+    def coordinates(self, coordinates):
+        """Sets the coordinates of this GeoJsonPoint.
+
+
+        :param coordinates: The coordinates of this GeoJsonPoint.  # noqa: E501
+        :type: list[float]
+        """
+
+        self._coordinates = coordinates
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, GeoJsonPoint):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, GeoJsonPoint):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/geo_json_type.py
===================================================================
--- src/gnuboat/mapservice_client/models/geo_json_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/geo_json_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,99 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class GeoJsonType(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    FEATURE = "Feature"
+    POINT = "Point"
+    FEATURECOLLECTION = "FeatureCollection"
+
+    allowable_values = [FEATURE, POINT, FEATURECOLLECTION]  # noqa: E501
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {}
+
+    attribute_map = {}
+
+    def __init__(self, local_vars_configuration=None):  # noqa: E501
+        """GeoJsonType - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+        self.discriminator = None
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, GeoJsonType):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, GeoJsonType):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/http_error.py
===================================================================
--- src/gnuboat/mapservice_client/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/http_error.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,218 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class HttpError(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'type': 'str',
+        'title': 'str',
+        'detail': 'str',
+        'instance': 'str'
+    }
+
+    attribute_map = {
+        'type': 'type',
+        'title': 'title',
+        'detail': 'detail',
+        'instance': 'instance'
+    }
+
+    def __init__(
+        self,
+        type=None,
+        title=None,
+        detail=None,
+        instance=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """HttpError - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._type = None
+        self._title = None
+        self._detail = None
+        self._instance = None
+        self.discriminator = None
+
+        self.type = type
+        self.title = title
+        self.detail = detail
+        self.instance = instance
+
+    @property
+    def type(self):
+        """Gets the type of this HttpError.  # noqa: E501
+
+
+        :return: The type of this HttpError.  # noqa: E501
+        :rtype: str
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this HttpError.
+
+
+        :param type: The type of this HttpError.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and type is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def title(self):
+        """Gets the title of this HttpError.  # noqa: E501
+
+
+        :return: The title of this HttpError.  # noqa: E501
+        :rtype: str
+        """
+        return self._title
+
+    @title.setter
+    def title(self, title):
+        """Sets the title of this HttpError.
+
+
+        :param title: The title of this HttpError.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and title is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `title`, must not be `None`"
+            )  # noqa: E501
+
+        self._title = title
+
+    @property
+    def detail(self):
+        """Gets the detail of this HttpError.  # noqa: E501
+
+
+        :return: The detail of this HttpError.  # noqa: E501
+        :rtype: str
+        """
+        return self._detail
+
+    @detail.setter
+    def detail(self, detail):
+        """Sets the detail of this HttpError.
+
+
+        :param detail: The detail of this HttpError.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and detail is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `detail`, must not be `None`"
+            )  # noqa: E501
+
+        self._detail = detail
+
+    @property
+    def instance(self):
+        """Gets the instance of this HttpError.  # noqa: E501
+
+
+        :return: The instance of this HttpError.  # noqa: E501
+        :rtype: str
+        """
+        return self._instance
+
+    @instance.setter
+    def instance(self, instance):
+        """Sets the instance of this HttpError.
+
+
+        :param instance: The instance of this HttpError.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and instance is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `instance`, must not be `None`"
+            )  # noqa: E501
+
+        self._instance = instance
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, HttpError):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, HttpError):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/item_base.py
===================================================================
--- src/gnuboat/mapservice_client/models/item_base.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/item_base.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,181 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class ItemBase(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'label': 'str', 'id': 'int', 'url': 'str'}
+
+    attribute_map = {'label': 'label', 'id': 'id', 'url': 'url'}
+
+    def __init__(
+        self,
+        label=None,
+        id=None,
+        url=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """ItemBase - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._label = None
+        self._id = None
+        self._url = None
+        self.discriminator = None
+
+        self.label = label
+        self.id = id
+        if url is not None:
+            self.url = url
+
+    @property
+    def label(self):
+        """Gets the label of this ItemBase.  # noqa: E501
+
+        A representative name, for the item, which could be understand by the user. Mostly it should be the itemName  # noqa: E501
+
+        :return: The label of this ItemBase.  # noqa: E501
+        :rtype: str
+        """
+        return self._label
+
+    @label.setter
+    def label(self, label):
+        """Sets the label of this ItemBase.
+
+        A representative name, for the item, which could be understand by the user. Mostly it should be the itemName  # noqa: E501
+
+        :param label: The label of this ItemBase.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and label is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `label`, must not be `None`"
+            )  # noqa: E501
+
+        self._label = label
+
+    @property
+    def id(self):
+        """Gets the id of this ItemBase.  # noqa: E501
+
+
+        :return: The id of this ItemBase.  # noqa: E501
+        :rtype: int
+        """
+        return self._id
+
+    @id.setter
+    def id(self, id):
+        """Sets the id of this ItemBase.
+
+
+        :param id: The id of this ItemBase.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and id is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `id`, must not be `None`"
+            )  # noqa: E501
+
+        self._id = id
+
+    @property
+    def url(self):
+        """Gets the url of this ItemBase.  # noqa: E501
+
+        Url, where details of the object could be retrieved  # noqa: E501
+
+        :return: The url of this ItemBase.  # noqa: E501
+        :rtype: str
+        """
+        return self._url
+
+    @url.setter
+    def url(self, url):
+        """Sets the url of this ItemBase.
+
+        Url, where details of the object could be retrieved  # noqa: E501
+
+        :param url: The url of this ItemBase.  # noqa: E501
+        :type: str
+        """
+
+        self._url = url
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, ItemBase):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, ItemBase):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log.py
===================================================================
--- src/gnuboat/mapservice_client/models/log.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,152 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class Log(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'meta_data': 'LogMetaData', 'entries': 'list[LogEntry]'}
+
+    attribute_map = {'meta_data': 'metaData', 'entries': 'entries'}
+
+    def __init__(
+        self,
+        meta_data=None,
+        entries=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """Log - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._meta_data = None
+        self._entries = None
+        self.discriminator = None
+
+        self.meta_data = meta_data
+        self.entries = entries
+
+    @property
+    def meta_data(self):
+        """Gets the meta_data of this Log.  # noqa: E501
+
+
+        :return: The meta_data of this Log.  # noqa: E501
+        :rtype: LogMetaData
+        """
+        return self._meta_data
+
+    @meta_data.setter
+    def meta_data(self, meta_data):
+        """Sets the meta_data of this Log.
+
+
+        :param meta_data: The meta_data of this Log.  # noqa: E501
+        :type: LogMetaData
+        """
+        if self.local_vars_configuration.client_side_validation and meta_data is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `meta_data`, must not be `None`"
+            )  # noqa: E501
+
+        self._meta_data = meta_data
+
+    @property
+    def entries(self):
+        """Gets the entries of this Log.  # noqa: E501
+
+
+        :return: The entries of this Log.  # noqa: E501
+        :rtype: list[LogEntry]
+        """
+        return self._entries
+
+    @entries.setter
+    def entries(self, entries):
+        """Sets the entries of this Log.
+
+
+        :param entries: The entries of this Log.  # noqa: E501
+        :type: list[LogEntry]
+        """
+        if self.local_vars_configuration.client_side_validation and entries is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `entries`, must not be `None`"
+            )  # noqa: E501
+
+        self._entries = entries
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, Log):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, Log):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_creation.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,245 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogCreation(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'water': 'int',
+        'device': 'int',
+        'gauge': 'int',
+        'gauge_height': 'float',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'water': 'water',
+        'device': 'device',
+        'gauge': 'gauge',
+        'gauge_height': 'gaugeHeight',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        water=None,
+        device=None,
+        gauge=None,
+        gauge_height=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogCreation - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._water = None
+        self._device = None
+        self._gauge = None
+        self._gauge_height = None
+        self._comment = None
+        self.discriminator = None
+
+        self.water = water
+        self.device = device
+        self.gauge = gauge
+        self.gauge_height = gauge_height
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def water(self):
+        """Gets the water of this LogCreation.  # noqa: E501
+
+
+        :return: The water of this LogCreation.  # noqa: E501
+        :rtype: int
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this LogCreation.
+
+
+        :param water: The water of this LogCreation.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and water is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `water`, must not be `None`"
+            )  # noqa: E501
+
+        self._water = water
+
+    @property
+    def device(self):
+        """Gets the device of this LogCreation.  # noqa: E501
+
+
+        :return: The device of this LogCreation.  # noqa: E501
+        :rtype: int
+        """
+        return self._device
+
+    @device.setter
+    def device(self, device):
+        """Sets the device of this LogCreation.
+
+
+        :param device: The device of this LogCreation.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and device is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `device`, must not be `None`"
+            )  # noqa: E501
+
+        self._device = device
+
+    @property
+    def gauge(self):
+        """Gets the gauge of this LogCreation.  # noqa: E501
+
+
+        :return: The gauge of this LogCreation.  # noqa: E501
+        :rtype: int
+        """
+        return self._gauge
+
+    @gauge.setter
+    def gauge(self, gauge):
+        """Sets the gauge of this LogCreation.
+
+
+        :param gauge: The gauge of this LogCreation.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and gauge is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `gauge`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge = gauge
+
+    @property
+    def gauge_height(self):
+        """Gets the gauge_height of this LogCreation.  # noqa: E501
+
+
+        :return: The gauge_height of this LogCreation.  # noqa: E501
+        :rtype: float
+        """
+        return self._gauge_height
+
+    @gauge_height.setter
+    def gauge_height(self, gauge_height):
+        """Sets the gauge_height of this LogCreation.
+
+
+        :param gauge_height: The gauge_height of this LogCreation.  # noqa: E501
+        :type: float
+        """
+        if self.local_vars_configuration.client_side_validation and gauge_height is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_height = gauge_height
+
+    @property
+    def comment(self):
+        """Gets the comment of this LogCreation.  # noqa: E501
+
+
+        :return: The comment of this LogCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this LogCreation.
+
+
+        :param comment: The comment of this LogCreation.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogCreation):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogCreation):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_entry.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_entry.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_entry.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,185 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogEntry(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'datetime': 'datetime',
+        'location': 'list[float]',
+        'water_depth': 'float'
+    }
+
+    attribute_map = {
+        'datetime': 'datetime',
+        'location': 'location',
+        'water_depth': 'waterDepth'
+    }
+
+    def __init__(
+        self,
+        datetime=None,
+        location=None,
+        water_depth=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogEntry - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._datetime = None
+        self._location = None
+        self._water_depth = None
+        self.discriminator = None
+
+        self.datetime = datetime
+        self.location = location
+        if water_depth is not None:
+            self.water_depth = water_depth
+
+    @property
+    def datetime(self):
+        """Gets the datetime of this LogEntry.  # noqa: E501
+
+
+        :return: The datetime of this LogEntry.  # noqa: E501
+        :rtype: datetime
+        """
+        return self._datetime
+
+    @datetime.setter
+    def datetime(self, datetime):
+        """Sets the datetime of this LogEntry.
+
+
+        :param datetime: The datetime of this LogEntry.  # noqa: E501
+        :type: datetime
+        """
+        if self.local_vars_configuration.client_side_validation and datetime is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `datetime`, must not be `None`"
+            )  # noqa: E501
+
+        self._datetime = datetime
+
+    @property
+    def location(self):
+        """Gets the location of this LogEntry.  # noqa: E501
+
+
+        :return: The location of this LogEntry.  # noqa: E501
+        :rtype: list[float]
+        """
+        return self._location
+
+    @location.setter
+    def location(self, location):
+        """Sets the location of this LogEntry.
+
+
+        :param location: The location of this LogEntry.  # noqa: E501
+        :type: list[float]
+        """
+        if self.local_vars_configuration.client_side_validation and location is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `location`, must not be `None`"
+            )  # noqa: E501
+
+        self._location = location
+
+    @property
+    def water_depth(self):
+        """Gets the water_depth of this LogEntry.  # noqa: E501
+
+
+        :return: The water_depth of this LogEntry.  # noqa: E501
+        :rtype: float
+        """
+        return self._water_depth
+
+    @water_depth.setter
+    def water_depth(self, water_depth):
+        """Sets the water_depth of this LogEntry.
+
+
+        :param water_depth: The water_depth of this LogEntry.  # noqa: E501
+        :type: float
+        """
+
+        self._water_depth = water_depth
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogEntry):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogEntry):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_entry_geo_json.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_entry_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_entry_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,188 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogEntryGeoJson(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'type': 'GeoJsonType',
+        'geometry': 'GeoJsonPoint',
+        'properties': 'LogEntryGeoJsonProperties'
+    }
+
+    attribute_map = {
+        'type': 'type',
+        'geometry': 'geometry',
+        'properties': 'properties'
+    }
+
+    def __init__(
+        self,
+        type=None,
+        geometry=None,
+        properties=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogEntryGeoJson - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._type = None
+        self._geometry = None
+        self._properties = None
+        self.discriminator = None
+
+        self.type = type
+        self.geometry = geometry
+        self.properties = properties
+
+    @property
+    def type(self):
+        """Gets the type of this LogEntryGeoJson.  # noqa: E501
+
+
+        :return: The type of this LogEntryGeoJson.  # noqa: E501
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this LogEntryGeoJson.
+
+
+        :param type: The type of this LogEntryGeoJson.  # noqa: E501
+        :type: GeoJsonType
+        """
+        if self.local_vars_configuration.client_side_validation and type is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def geometry(self):
+        """Gets the geometry of this LogEntryGeoJson.  # noqa: E501
+
+
+        :return: The geometry of this LogEntryGeoJson.  # noqa: E501
+        :rtype: GeoJsonPoint
+        """
+        return self._geometry
+
+    @geometry.setter
+    def geometry(self, geometry):
+        """Sets the geometry of this LogEntryGeoJson.
+
+
+        :param geometry: The geometry of this LogEntryGeoJson.  # noqa: E501
+        :type: GeoJsonPoint
+        """
+        if self.local_vars_configuration.client_side_validation and geometry is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `geometry`, must not be `None`"
+            )  # noqa: E501
+
+        self._geometry = geometry
+
+    @property
+    def properties(self):
+        """Gets the properties of this LogEntryGeoJson.  # noqa: E501
+
+
+        :return: The properties of this LogEntryGeoJson.  # noqa: E501
+        :rtype: LogEntryGeoJsonProperties
+        """
+        return self._properties
+
+    @properties.setter
+    def properties(self, properties):
+        """Sets the properties of this LogEntryGeoJson.
+
+
+        :param properties: The properties of this LogEntryGeoJson.  # noqa: E501
+        :type: LogEntryGeoJsonProperties
+        """
+        if self.local_vars_configuration.client_side_validation and properties is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `properties`, must not be `None`"
+            )  # noqa: E501
+
+        self._properties = properties
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogEntryGeoJson):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogEntryGeoJson):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_entry_geo_json_properties.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_entry_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_entry_geo_json_properties.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,149 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogEntryGeoJsonProperties(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'datetime': 'datetime', 'water_depth': 'float'}
+
+    attribute_map = {'datetime': 'datetime', 'water_depth': 'waterDepth'}
+
+    def __init__(
+        self,
+        datetime=None,
+        water_depth=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogEntryGeoJsonProperties - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._datetime = None
+        self._water_depth = None
+        self.discriminator = None
+
+        self.datetime = datetime
+        if water_depth is not None:
+            self.water_depth = water_depth
+
+    @property
+    def datetime(self):
+        """Gets the datetime of this LogEntryGeoJsonProperties.  # noqa: E501
+
+
+        :return: The datetime of this LogEntryGeoJsonProperties.  # noqa: E501
+        :rtype: datetime
+        """
+        return self._datetime
+
+    @datetime.setter
+    def datetime(self, datetime):
+        """Sets the datetime of this LogEntryGeoJsonProperties.
+
+
+        :param datetime: The datetime of this LogEntryGeoJsonProperties.  # noqa: E501
+        :type: datetime
+        """
+        if self.local_vars_configuration.client_side_validation and datetime is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `datetime`, must not be `None`"
+            )  # noqa: E501
+
+        self._datetime = datetime
+
+    @property
+    def water_depth(self):
+        """Gets the water_depth of this LogEntryGeoJsonProperties.  # noqa: E501
+
+
+        :return: The water_depth of this LogEntryGeoJsonProperties.  # noqa: E501
+        :rtype: float
+        """
+        return self._water_depth
+
+    @water_depth.setter
+    def water_depth(self, water_depth):
+        """Sets the water_depth of this LogEntryGeoJsonProperties.
+
+
+        :param water_depth: The water_depth of this LogEntryGeoJsonProperties.  # noqa: E501
+        :type: float
+        """
+
+        self._water_depth = water_depth
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogEntryGeoJsonProperties):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogEntryGeoJsonProperties):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_geo_json.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_geo_json.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,155 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogGeoJson(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'type': 'GeoJsonType',
+        'features': 'list[LogEntryGeoJson]'
+    }
+
+    attribute_map = {'type': 'type', 'features': 'features'}
+
+    def __init__(
+        self,
+        type=None,
+        features=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogGeoJson - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._type = None
+        self._features = None
+        self.discriminator = None
+
+        self.type = type
+        self.features = features
+
+    @property
+    def type(self):
+        """Gets the type of this LogGeoJson.  # noqa: E501
+
+
+        :return: The type of this LogGeoJson.  # noqa: E501
+        :rtype: GeoJsonType
+        """
+        return self._type
+
+    @type.setter
+    def type(self, type):
+        """Sets the type of this LogGeoJson.
+
+
+        :param type: The type of this LogGeoJson.  # noqa: E501
+        :type: GeoJsonType
+        """
+        if self.local_vars_configuration.client_side_validation and type is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `type`, must not be `None`"
+            )  # noqa: E501
+
+        self._type = type
+
+    @property
+    def features(self):
+        """Gets the features of this LogGeoJson.  # noqa: E501
+
+
+        :return: The features of this LogGeoJson.  # noqa: E501
+        :rtype: list[LogEntryGeoJson]
+        """
+        return self._features
+
+    @features.setter
+    def features(self, features):
+        """Sets the features of this LogGeoJson.
+
+
+        :param features: The features of this LogGeoJson.  # noqa: E501
+        :type: list[LogEntryGeoJson]
+        """
+        if self.local_vars_configuration.client_side_validation and features is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `features`, must not be `None`"
+            )  # noqa: E501
+
+        self._features = features
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogGeoJson):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogGeoJson):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/log_meta_data.py
===================================================================
--- src/gnuboat/mapservice_client/models/log_meta_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/log_meta_data.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,399 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class LogMetaData(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'log_id': 'int',
+        'submitter': 'str',
+        'water': 'ItemBase',
+        'device': 'ItemBase',
+        'gauge': 'ItemBase',
+        'gauge_height': 'float',
+        'start': 'datetime',
+        'end': 'datetime',
+        'processing_state': 'ItemBase',
+        'entries_count': 'int',
+        'comment': 'str'
+    }
+
+    attribute_map = {
+        'log_id': 'logId',
+        'submitter': 'submitter',
+        'water': 'water',
+        'device': 'device',
+        'gauge': 'gauge',
+        'gauge_height': 'gaugeHeight',
+        'start': 'start',
+        'end': 'end',
+        'processing_state': 'processingState',
+        'entries_count': 'entriesCount',
+        'comment': 'comment'
+    }
+
+    def __init__(
+        self,
+        log_id=None,
+        submitter=None,
+        water=None,
+        device=None,
+        gauge=None,
+        gauge_height=None,
+        start=None,
+        end=None,
+        processing_state=None,
+        entries_count=None,
+        comment=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """LogMetaData - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._log_id = None
+        self._submitter = None
+        self._water = None
+        self._device = None
+        self._gauge = None
+        self._gauge_height = None
+        self._start = None
+        self._end = None
+        self._processing_state = None
+        self._entries_count = None
+        self._comment = None
+        self.discriminator = None
+
+        if log_id is not None:
+            self.log_id = log_id
+        if submitter is not None:
+            self.submitter = submitter
+        if water is not None:
+            self.water = water
+        if device is not None:
+            self.device = device
+        if gauge is not None:
+            self.gauge = gauge
+        self.gauge_height = gauge_height
+        self.start = start
+        self.end = end
+        if processing_state is not None:
+            self.processing_state = processing_state
+        self.entries_count = entries_count
+        if comment is not None:
+            self.comment = comment
+
+    @property
+    def log_id(self):
+        """Gets the log_id of this LogMetaData.  # noqa: E501
+
+
+        :return: The log_id of this LogMetaData.  # noqa: E501
+        :rtype: int
+        """
+        return self._log_id
+
+    @log_id.setter
+    def log_id(self, log_id):
+        """Sets the log_id of this LogMetaData.
+
+
+        :param log_id: The log_id of this LogMetaData.  # noqa: E501
+        :type: int
+        """
+
+        self._log_id = log_id
+
+    @property
+    def submitter(self):
+        """Gets the submitter of this LogMetaData.  # noqa: E501
+
+
+        :return: The submitter of this LogMetaData.  # noqa: E501
+        :rtype: str
+        """
+        return self._submitter
+
+    @submitter.setter
+    def submitter(self, submitter):
+        """Sets the submitter of this LogMetaData.
+
+
+        :param submitter: The submitter of this LogMetaData.  # noqa: E501
+        :type: str
+        """
+
+        self._submitter = submitter
+
+    @property
+    def water(self):
+        """Gets the water of this LogMetaData.  # noqa: E501
+
+
+        :return: The water of this LogMetaData.  # noqa: E501
+        :rtype: ItemBase
+        """
+        return self._water
+
+    @water.setter
+    def water(self, water):
+        """Sets the water of this LogMetaData.
+
+
+        :param water: The water of this LogMetaData.  # noqa: E501
+        :type: ItemBase
+        """
+
+        self._water = water
+
+    @property
+    def device(self):
+        """Gets the device of this LogMetaData.  # noqa: E501
+
+
+        :return: The device of this LogMetaData.  # noqa: E501
+        :rtype: ItemBase
+        """
+        return self._device
+
+    @device.setter
+    def device(self, device):
+        """Sets the device of this LogMetaData.
+
+
+        :param device: The device of this LogMetaData.  # noqa: E501
+        :type: ItemBase
+        """
+
+        self._device = device
+
+    @property
+    def gauge(self):
+        """Gets the gauge of this LogMetaData.  # noqa: E501
+
+
+        :return: The gauge of this LogMetaData.  # noqa: E501
+        :rtype: ItemBase
+        """
+        return self._gauge
+
+    @gauge.setter
+    def gauge(self, gauge):
+        """Sets the gauge of this LogMetaData.
+
+
+        :param gauge: The gauge of this LogMetaData.  # noqa: E501
+        :type: ItemBase
+        """
+
+        self._gauge = gauge
+
+    @property
+    def gauge_height(self):
+        """Gets the gauge_height of this LogMetaData.  # noqa: E501
+
+
+        :return: The gauge_height of this LogMetaData.  # noqa: E501
+        :rtype: float
+        """
+        return self._gauge_height
+
+    @gauge_height.setter
+    def gauge_height(self, gauge_height):
+        """Sets the gauge_height of this LogMetaData.
+
+
+        :param gauge_height: The gauge_height of this LogMetaData.  # noqa: E501
+        :type: float
+        """
+        if self.local_vars_configuration.client_side_validation and gauge_height is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `gauge_height`, must not be `None`"
+            )  # noqa: E501
+
+        self._gauge_height = gauge_height
+
+    @property
+    def start(self):
+        """Gets the start of this LogMetaData.  # noqa: E501
+
+
+        :return: The start of this LogMetaData.  # noqa: E501
+        :rtype: datetime
+        """
+        return self._start
+
+    @start.setter
+    def start(self, start):
+        """Sets the start of this LogMetaData.
+
+
+        :param start: The start of this LogMetaData.  # noqa: E501
+        :type: datetime
+        """
+
+        self._start = start
+
+    @property
+    def end(self):
+        """Gets the end of this LogMetaData.  # noqa: E501
+
+
+        :return: The end of this LogMetaData.  # noqa: E501
+        :rtype: datetime
+        """
+        return self._end
+
+    @end.setter
+    def end(self, end):
+        """Sets the end of this LogMetaData.
+
+
+        :param end: The end of this LogMetaData.  # noqa: E501
+        :type: datetime
+        """
+
+        self._end = end
+
+    @property
+    def processing_state(self):
+        """Gets the processing_state of this LogMetaData.  # noqa: E501
+
+
+        :return: The processing_state of this LogMetaData.  # noqa: E501
+        :rtype: ItemBase
+        """
+        return self._processing_state
+
+    @processing_state.setter
+    def processing_state(self, processing_state):
+        """Sets the processing_state of this LogMetaData.
+
+
+        :param processing_state: The processing_state of this LogMetaData.  # noqa: E501
+        :type: ItemBase
+        """
+
+        self._processing_state = processing_state
+
+    @property
+    def entries_count(self):
+        """Gets the entries_count of this LogMetaData.  # noqa: E501
+
+
+        :return: The entries_count of this LogMetaData.  # noqa: E501
+        :rtype: int
+        """
+        return self._entries_count
+
+    @entries_count.setter
+    def entries_count(self, entries_count):
+        """Sets the entries_count of this LogMetaData.
+
+
+        :param entries_count: The entries_count of this LogMetaData.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and entries_count is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `entries_count`, must not be `None`"
+            )  # noqa: E501
+
+        self._entries_count = entries_count
+
+    @property
+    def comment(self):
+        """Gets the comment of this LogMetaData.  # noqa: E501
+
+
+        :return: The comment of this LogMetaData.  # noqa: E501
+        :rtype: str
+        """
+        return self._comment
+
+    @comment.setter
+    def comment(self, comment):
+        """Sets the comment of this LogMetaData.
+
+
+        :param comment: The comment of this LogMetaData.  # noqa: E501
+        :type: str
+        """
+
+        self._comment = comment
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, LogMetaData):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, LogMetaData):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/order.py
===================================================================
--- src/gnuboat/mapservice_client/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/order.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,98 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class Order(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    DESC = "desc"
+    ASC = "asc"
+
+    allowable_values = [DESC, ASC]  # noqa: E501
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {}
+
+    attribute_map = {}
+
+    def __init__(self, local_vars_configuration=None):  # noqa: E501
+        """Order - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+        self.discriminator = None
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, Order):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, Order):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/osm_type.py
===================================================================
--- src/gnuboat/mapservice_client/models/osm_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/osm_type.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,99 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class OsmType(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    allowed enum values
+    """
+    NODE = "Node"
+    WAY = "Way"
+    RELATION = "Relation"
+
+    allowable_values = [NODE, WAY, RELATION]  # noqa: E501
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {}
+
+    attribute_map = {}
+
+    def __init__(self, local_vars_configuration=None):  # noqa: E501
+        """OsmType - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+        self.discriminator = None
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, OsmType):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, OsmType):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/user.py
===================================================================
--- src/gnuboat/mapservice_client/models/user.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/user.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,287 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class User(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'username': 'str',
+        'email': 'str',
+        'first_name': 'str',
+        'last_name': 'str',
+        'activated': 'bool',
+        'license_accepted': 'bool',
+        'api_keys': 'list[str]'
+    }
+
+    attribute_map = {
+        'username': 'username',
+        'email': 'email',
+        'first_name': 'firstName',
+        'last_name': 'lastName',
+        'activated': 'activated',
+        'license_accepted': 'licenseAccepted',
+        'api_keys': 'apiKeys'
+    }
+
+    def __init__(
+        self,
+        username=None,
+        email=None,
+        first_name=None,
+        last_name=None,
+        activated=None,
+        license_accepted=None,
+        api_keys=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """User - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._username = None
+        self._email = None
+        self._first_name = None
+        self._last_name = None
+        self._activated = None
+        self._license_accepted = None
+        self._api_keys = None
+        self.discriminator = None
+
+        if username is not None:
+            self.username = username
+        if email is not None:
+            self.email = email
+        if first_name is not None:
+            self.first_name = first_name
+        if last_name is not None:
+            self.last_name = last_name
+        if activated is not None:
+            self.activated = activated
+        if license_accepted is not None:
+            self.license_accepted = license_accepted
+        if api_keys is not None:
+            self.api_keys = api_keys
+
+    @property
+    def username(self):
+        """Gets the username of this User.  # noqa: E501
+
+
+        :return: The username of this User.  # noqa: E501
+        :rtype: str
+        """
+        return self._username
+
+    @username.setter
+    def username(self, username):
+        """Sets the username of this User.
+
+
+        :param username: The username of this User.  # noqa: E501
+        :type: str
+        """
+
+        self._username = username
+
+    @property
+    def email(self):
+        """Gets the email of this User.  # noqa: E501
+
+
+        :return: The email of this User.  # noqa: E501
+        :rtype: str
+        """
+        return self._email
+
+    @email.setter
+    def email(self, email):
+        """Sets the email of this User.
+
+
+        :param email: The email of this User.  # noqa: E501
+        :type: str
+        """
+
+        self._email = email
+
+    @property
+    def first_name(self):
+        """Gets the first_name of this User.  # noqa: E501
+
+
+        :return: The first_name of this User.  # noqa: E501
+        :rtype: str
+        """
+        return self._first_name
+
+    @first_name.setter
+    def first_name(self, first_name):
+        """Sets the first_name of this User.
+
+
+        :param first_name: The first_name of this User.  # noqa: E501
+        :type: str
+        """
+
+        self._first_name = first_name
+
+    @property
+    def last_name(self):
+        """Gets the last_name of this User.  # noqa: E501
+
+
+        :return: The last_name of this User.  # noqa: E501
+        :rtype: str
+        """
+        return self._last_name
+
+    @last_name.setter
+    def last_name(self, last_name):
+        """Sets the last_name of this User.
+
+
+        :param last_name: The last_name of this User.  # noqa: E501
+        :type: str
+        """
+
+        self._last_name = last_name
+
+    @property
+    def activated(self):
+        """Gets the activated of this User.  # noqa: E501
+
+
+        :return: The activated of this User.  # noqa: E501
+        :rtype: bool
+        """
+        return self._activated
+
+    @activated.setter
+    def activated(self, activated):
+        """Sets the activated of this User.
+
+
+        :param activated: The activated of this User.  # noqa: E501
+        :type: bool
+        """
+
+        self._activated = activated
+
+    @property
+    def license_accepted(self):
+        """Gets the license_accepted of this User.  # noqa: E501
+
+
+        :return: The license_accepted of this User.  # noqa: E501
+        :rtype: bool
+        """
+        return self._license_accepted
+
+    @license_accepted.setter
+    def license_accepted(self, license_accepted):
+        """Sets the license_accepted of this User.
+
+
+        :param license_accepted: The license_accepted of this User.  # noqa: E501
+        :type: bool
+        """
+
+        self._license_accepted = license_accepted
+
+    @property
+    def api_keys(self):
+        """Gets the api_keys of this User.  # noqa: E501
+
+
+        :return: The api_keys of this User.  # noqa: E501
+        :rtype: list[str]
+        """
+        return self._api_keys
+
+    @api_keys.setter
+    def api_keys(self, api_keys):
+        """Sets the api_keys of this User.
+
+
+        :param api_keys: The api_keys of this User.  # noqa: E501
+        :type: list[str]
+        """
+
+        self._api_keys = api_keys
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, User):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, User):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/user_creation.py
===================================================================
--- src/gnuboat/mapservice_client/models/user_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/user_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,278 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class UserCreation(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'username': 'str',
+        'email': 'str',
+        'first_name': 'str',
+        'last_name': 'str',
+        'password': 'str',
+        'license_accepted': 'bool'
+    }
+
+    attribute_map = {
+        'username': 'username',
+        'email': 'email',
+        'first_name': 'firstName',
+        'last_name': 'lastName',
+        'password': 'password',
+        'license_accepted': 'licenseAccepted'
+    }
+
+    def __init__(
+        self,
+        username=None,
+        email=None,
+        first_name=None,
+        last_name=None,
+        password=None,
+        license_accepted=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """UserCreation - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._username = None
+        self._email = None
+        self._first_name = None
+        self._last_name = None
+        self._password = None
+        self._license_accepted = None
+        self.discriminator = None
+
+        self.username = username
+        self.email = email
+        self.first_name = first_name
+        self.last_name = last_name
+        self.password = password
+        self.license_accepted = license_accepted
+
+    @property
+    def username(self):
+        """Gets the username of this UserCreation.  # noqa: E501
+
+
+        :return: The username of this UserCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._username
+
+    @username.setter
+    def username(self, username):
+        """Sets the username of this UserCreation.
+
+
+        :param username: The username of this UserCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and username is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `username`, must not be `None`"
+            )  # noqa: E501
+
+        self._username = username
+
+    @property
+    def email(self):
+        """Gets the email of this UserCreation.  # noqa: E501
+
+
+        :return: The email of this UserCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._email
+
+    @email.setter
+    def email(self, email):
+        """Sets the email of this UserCreation.
+
+
+        :param email: The email of this UserCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and email is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `email`, must not be `None`"
+            )  # noqa: E501
+
+        self._email = email
+
+    @property
+    def first_name(self):
+        """Gets the first_name of this UserCreation.  # noqa: E501
+
+
+        :return: The first_name of this UserCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._first_name
+
+    @first_name.setter
+    def first_name(self, first_name):
+        """Sets the first_name of this UserCreation.
+
+
+        :param first_name: The first_name of this UserCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and first_name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `first_name`, must not be `None`"
+            )  # noqa: E501
+
+        self._first_name = first_name
+
+    @property
+    def last_name(self):
+        """Gets the last_name of this UserCreation.  # noqa: E501
+
+
+        :return: The last_name of this UserCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._last_name
+
+    @last_name.setter
+    def last_name(self, last_name):
+        """Sets the last_name of this UserCreation.
+
+
+        :param last_name: The last_name of this UserCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and last_name is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `last_name`, must not be `None`"
+            )  # noqa: E501
+
+        self._last_name = last_name
+
+    @property
+    def password(self):
+        """Gets the password of this UserCreation.  # noqa: E501
+
+
+        :return: The password of this UserCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._password
+
+    @password.setter
+    def password(self, password):
+        """Sets the password of this UserCreation.
+
+
+        :param password: The password of this UserCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and password is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `password`, must not be `None`"
+            )  # noqa: E501
+
+        self._password = password
+
+    @property
+    def license_accepted(self):
+        """Gets the license_accepted of this UserCreation.  # noqa: E501
+
+
+        :return: The license_accepted of this UserCreation.  # noqa: E501
+        :rtype: bool
+        """
+        return self._license_accepted
+
+    @license_accepted.setter
+    def license_accepted(self, license_accepted):
+        """Sets the license_accepted of this UserCreation.
+
+
+        :param license_accepted: The license_accepted of this UserCreation.  # noqa: E501
+        :type: bool
+        """
+        if self.local_vars_configuration.client_side_validation and license_accepted is None:  # noqa: E501
+            raise ValueError(
+                "Invalid value for `license_accepted`, must not be `None`"
+            )  # noqa: E501
+
+        self._license_accepted = license_accepted
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, UserCreation):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, UserCreation):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/water.py
===================================================================
--- src/gnuboat/mapservice_client/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/water.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,293 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class Water(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {
+        'water_id': 'int',
+        'name': 'str',
+        'manager': 'str',
+        'osm_id': 'int',
+        'osm_type': 'OsmType',
+        'gauges': 'list[Gauge]',
+        'logs': 'list[LogMetaData]'
+    }
+
+    attribute_map = {
+        'water_id': 'waterId',
+        'name': 'name',
+        'manager': 'manager',
+        'osm_id': 'osmId',
+        'osm_type': 'osmType',
+        'gauges': 'gauges',
+        'logs': 'logs'
+    }
+
+    def __init__(
+        self,
+        water_id=None,
+        name=None,
+        manager=None,
+        osm_id=None,
+        osm_type=None,
+        gauges=None,
+        logs=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """Water - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._water_id = None
+        self._name = None
+        self._manager = None
+        self._osm_id = None
+        self._osm_type = None
+        self._gauges = None
+        self._logs = None
+        self.discriminator = None
+
+        self.water_id = water_id
+        self.name = name
+        if manager is not None:
+            self.manager = manager
+        if osm_id is not None:
+            self.osm_id = osm_id
+        if osm_type is not None:
+            self.osm_type = osm_type
+        if gauges is not None:
+            self.gauges = gauges
+        if logs is not None:
+            self.logs = logs
+
+    @property
+    def water_id(self):
+        """Gets the water_id of this Water.  # noqa: E501
+
+
+        :return: The water_id of this Water.  # noqa: E501
+        :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.  # noqa: E501
+        :type: int
+        """
+        if self.local_vars_configuration.client_side_validation and water_id is None:  # noqa: E501
+            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.  # noqa: E501
+
+
+        :return: The name of this Water.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this Water.
+
+
+        :param name: The name of this Water.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            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.  # noqa: E501
+
+
+        :return: The manager of this Water.  # noqa: E501
+        :rtype: str
+        """
+        return self._manager
+
+    @manager.setter
+    def manager(self, manager):
+        """Sets the manager of this Water.
+
+
+        :param manager: The manager of this Water.  # noqa: E501
+        :type: str
+        """
+
+        self._manager = manager
+
+    @property
+    def osm_id(self):
+        """Gets the osm_id of this Water.  # noqa: E501
+
+
+        :return: The osm_id of this Water.  # noqa: E501
+        :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.  # noqa: E501
+        :type: int
+        """
+
+        self._osm_id = osm_id
+
+    @property
+    def osm_type(self):
+        """Gets the osm_type of this Water.  # noqa: E501
+
+
+        :return: The osm_type of this Water.  # noqa: E501
+        :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.  # noqa: E501
+        :type: OsmType
+        """
+
+        self._osm_type = osm_type
+
+    @property
+    def gauges(self):
+        """Gets the gauges of this Water.  # noqa: E501
+
+
+        :return: The gauges of this Water.  # noqa: E501
+        :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.  # noqa: E501
+        :type: list[Gauge]
+        """
+
+        self._gauges = gauges
+
+    @property
+    def logs(self):
+        """Gets the logs of this Water.  # noqa: E501
+
+
+        :return: The logs of this Water.  # noqa: E501
+        :rtype: list[LogMetaData]
+        """
+        return self._logs
+
+    @logs.setter
+    def logs(self, logs):
+        """Sets the logs of this Water.
+
+
+        :param logs: The logs of this Water.  # noqa: E501
+        :type: list[LogMetaData]
+        """
+
+        self._logs = logs
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, Water):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, Water):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/models/water_creation.py
===================================================================
--- src/gnuboat/mapservice_client/models/water_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/models/water_creation.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,174 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+import pprint
+import re  # noqa: F401
+
+import six
+
+from gnuboat.mapservice_client.configuration import Configuration
+
+
+class WaterCreation(object):
+    """NOTE: This class is auto generated by OpenAPI Generator.
+    Ref: https://openapi-generator.tech
+
+    Do not edit the class manually.
+    """
+    """
+    Attributes:
+      openapi_types (dict): The key is attribute name
+                            and the value is attribute type.
+      attribute_map (dict): The key is attribute name
+                            and the value is json key in definition.
+    """
+    openapi_types = {'name': 'str', 'osm_id': 'int', 'osm_type': 'OsmType'}
+
+    attribute_map = {'name': 'name', 'osm_id': 'osmId', 'osm_type': 'osmType'}
+
+    def __init__(
+        self,
+        name=None,
+        osm_id=None,
+        osm_type=None,
+        local_vars_configuration=None
+    ):  # noqa: E501
+        """WaterCreation - a model defined in OpenAPI"""  # noqa: E501
+        if local_vars_configuration is None:
+            local_vars_configuration = Configuration()
+        self.local_vars_configuration = local_vars_configuration
+
+        self._name = None
+        self._osm_id = None
+        self._osm_type = None
+        self.discriminator = None
+
+        self.name = name
+        if osm_id is not None:
+            self.osm_id = osm_id
+        if osm_type is not None:
+            self.osm_type = osm_type
+
+    @property
+    def name(self):
+        """Gets the name of this WaterCreation.  # noqa: E501
+
+
+        :return: The name of this WaterCreation.  # noqa: E501
+        :rtype: str
+        """
+        return self._name
+
+    @name.setter
+    def name(self, name):
+        """Sets the name of this WaterCreation.
+
+
+        :param name: The name of this WaterCreation.  # noqa: E501
+        :type: str
+        """
+        if self.local_vars_configuration.client_side_validation and name is None:  # noqa: E501
+            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.  # noqa: E501
+
+
+        :return: The osm_id of this WaterCreation.  # noqa: E501
+        :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.  # noqa: E501
+        :type: int
+        """
+
+        self._osm_id = osm_id
+
+    @property
+    def osm_type(self):
+        """Gets the osm_type of this WaterCreation.  # noqa: E501
+
+
+        :return: The osm_type of this WaterCreation.  # noqa: E501
+        :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.  # noqa: E501
+        :type: OsmType
+        """
+
+        self._osm_type = osm_type
+
+    def to_dict(self):
+        """Returns the model properties as a 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"""
+        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"""
+        if not isinstance(other, WaterCreation):
+            return False
+
+        return self.to_dict() == other.to_dict()
+
+    def __ne__(self, other):
+        """Returns true if both objects are not equal"""
+        if not isinstance(other, WaterCreation):
+            return True
+
+        return self.to_dict() != other.to_dict()
Index: src/gnuboat/mapservice_client/rest.py
===================================================================
--- src/gnuboat/mapservice_client/rest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/gnuboat/mapservice_client/rest.py	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,387 @@
+# coding: utf-8
+"""
+    GNUBoat Mapservice API
+
+    API to upload log files with water depth to GNUBoat server  # noqa: E501
+
+    The version of the OpenAPI document: v1
+    Contact: info@engsas.de
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+import io
+import json
+import logging
+import re
+import ssl
+
+import certifi
+# python 2 and python 3 compatibility library
+import six
+from six.moves.urllib.parse import urlencode
+import urllib3
+
+from gnuboat.mapservice_client.exceptions import ApiException, ApiValueError
+
+logger = logging.getLogger(__name__)
+
+
+class RESTResponse(io.IOBase):
+    def __init__(self, resp):
+        self.urllib3_response = resp
+        self.status = resp.status
+        self.reason = resp.reason
+        self.data = resp.data
+
+    def getheaders(self):
+        """Returns a dictionary of the response headers."""
+        return self.urllib3_response.getheaders()
+
+    def getheader(self, name, default=None):
+        """Returns a given response header."""
+        return self.urllib3_response.getheader(name, default)
+
+
+class RESTClientObject(object):
+    def __init__(self, configuration, pools_size=4, maxsize=None):
+        # urllib3.PoolManager will pass all kw parameters to connectionpool
+        # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75  # noqa: E501
+        # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680  # noqa: E501
+        # maxsize is the number of requests to host that are allowed in parallel  # noqa: E501
+        # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html  # noqa: E501
+
+        # cert_reqs
+        if configuration.verify_ssl:
+            cert_reqs = ssl.CERT_REQUIRED
+        else:
+            cert_reqs = ssl.CERT_NONE
+
+        # ca_certs
+        if configuration.ssl_ca_cert:
+            ca_certs = configuration.ssl_ca_cert
+        else:
+            # if not set certificate file, use Mozilla's root certificates.
+            ca_certs = certifi.where()
+
+        addition_pool_args = {}
+        if configuration.assert_hostname is not None:
+            addition_pool_args['assert_hostname'
+                               ] = configuration.assert_hostname  # noqa: E501
+
+        if configuration.retries is not None:
+            addition_pool_args['retries'] = configuration.retries
+
+        if maxsize is None:
+            if configuration.connection_pool_maxsize is not None:
+                maxsize = configuration.connection_pool_maxsize
+            else:
+                maxsize = 4
+
+        # https pool manager
+        if configuration.proxy:
+            self.pool_manager = urllib3.ProxyManager(
+                num_pools=pools_size,
+                maxsize=maxsize,
+                cert_reqs=cert_reqs,
+                ca_certs=ca_certs,
+                cert_file=configuration.cert_file,
+                key_file=configuration.key_file,
+                proxy_url=configuration.proxy,
+                proxy_headers=configuration.proxy_headers,
+                **addition_pool_args
+            )
+        else:
+            self.pool_manager = urllib3.PoolManager(
+                num_pools=pools_size,
+                maxsize=maxsize,
+                cert_reqs=cert_reqs,
+                ca_certs=ca_certs,
+                cert_file=configuration.cert_file,
+                key_file=configuration.key_file,
+                **addition_pool_args
+            )
+
+    def request(
+        self,
+        method,
+        url,
+        query_params=None,
+        headers=None,
+        body=None,
+        post_params=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        """Perform requests.
+
+        :param method: http request method
+        :param url: http request url
+        :param query_params: query parameters in the url
+        :param headers: http request headers
+        :param body: request json body, for `application/json`
+        :param post_params: request post parameters,
+                            `application/x-www-form-urlencoded`
+                            and `multipart/form-data`
+        :param _preload_content: if False, the urllib3.HTTPResponse object will
+                                 be returned without reading/decoding response
+                                 data. Default is True.
+        :param _request_timeout: timeout setting for this request. If one
+                                 number provided, it will be total request
+                                 timeout. It can also be a pair (tuple) of
+                                 (connection, read) timeouts.
+        """
+        method = method.upper()
+        assert method in [
+            'GET', 'HEAD', 'DELETE', 'POST', 'PUT', 'PATCH', 'OPTIONS'
+        ]
+
+        if post_params and body:
+            raise ApiValueError(
+                "body parameter cannot be used with post_params parameter."
+            )
+
+        post_params = post_params or {}
+        headers = headers or {}
+
+        timeout = None
+        if _request_timeout:
+            if isinstance(
+                _request_timeout, (int, ) if six.PY3 else (int, long)
+            ):  # noqa: E501,F821
+                timeout = urllib3.Timeout(total=_request_timeout)
+            elif (
+                isinstance(_request_timeout, tuple)
+                and len(_request_timeout) == 2
+            ):
+                timeout = urllib3.Timeout(
+                    connect=_request_timeout[0], read=_request_timeout[1]
+                )
+
+        if 'Content-Type' not in headers:
+            headers['Content-Type'] = 'application/json'
+
+        try:
+            # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
+            if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
+                if query_params:
+                    url += '?' + urlencode(query_params)
+                if re.search('json', headers['Content-Type'], re.IGNORECASE):
+                    request_body = None
+                    if body is not None:
+                        request_body = json.dumps(body)
+                    r = self.pool_manager.request(
+                        method,
+                        url,
+                        body=request_body,
+                        preload_content=_preload_content,
+                        timeout=timeout,
+                        headers=headers
+                    )
+                elif headers[
+                    'Content-Type'
+                ] == 'application/x-www-form-urlencoded':  # noqa: E501
+                    r = self.pool_manager.request(
+                        method,
+                        url,
+                        fields=post_params,
+                        encode_multipart=False,
+                        preload_content=_preload_content,
+                        timeout=timeout,
+                        headers=headers
+                    )
+                elif headers['Content-Type'] == 'multipart/form-data':
+                    # must del headers['Content-Type'], or the correct
+                    # Content-Type which generated by urllib3 will be
+                    # overwritten.
+                    del headers['Content-Type']
+                    r = self.pool_manager.request(
+                        method,
+                        url,
+                        fields=post_params,
+                        encode_multipart=True,
+                        preload_content=_preload_content,
+                        timeout=timeout,
+                        headers=headers
+                    )
+                # Pass a `string` parameter directly in the body to support
+                # other content types than Json when `body` argument is
+                # provided in serialized form
+                elif isinstance(body, str) or isinstance(body, bytes):
+                    request_body = body
+                    r = self.pool_manager.request(
+                        method,
+                        url,
+                        body=request_body,
+                        preload_content=_preload_content,
+                        timeout=timeout,
+                        headers=headers
+                    )
+                else:
+                    # Cannot generate the request from given parameters
+                    msg = """Cannot prepare a request message for provided
+                             arguments. Please check that your arguments match
+                             declared content type."""
+                    raise ApiException(status=0, reason=msg)
+            # For `GET`, `HEAD`
+            else:
+                r = self.pool_manager.request(
+                    method,
+                    url,
+                    fields=query_params,
+                    preload_content=_preload_content,
+                    timeout=timeout,
+                    headers=headers
+                )
+        except urllib3.exceptions.SSLError as e:
+            msg = "{0}\n{1}".format(type(e).__name__, str(e))
+            raise ApiException(status=0, reason=msg)
+
+        if _preload_content:
+            r = RESTResponse(r)
+
+            # log response body
+            logger.debug("response body: %s", r.data)
+
+        if not 200 <= r.status <= 299:
+            raise ApiException(http_resp=r)
+
+        return r
+
+    def GET(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "GET",
+            url,
+            headers=headers,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            query_params=query_params
+        )
+
+    def HEAD(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "HEAD",
+            url,
+            headers=headers,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            query_params=query_params
+        )
+
+    def OPTIONS(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        post_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "OPTIONS",
+            url,
+            headers=headers,
+            query_params=query_params,
+            post_params=post_params,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            body=body
+        )
+
+    def DELETE(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "DELETE",
+            url,
+            headers=headers,
+            query_params=query_params,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            body=body
+        )
+
+    def POST(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        post_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "POST",
+            url,
+            headers=headers,
+            query_params=query_params,
+            post_params=post_params,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            body=body
+        )
+
+    def PUT(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        post_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "PUT",
+            url,
+            headers=headers,
+            query_params=query_params,
+            post_params=post_params,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            body=body
+        )
+
+    def PATCH(
+        self,
+        url,
+        headers=None,
+        query_params=None,
+        post_params=None,
+        body=None,
+        _preload_content=True,
+        _request_timeout=None
+    ):
+        return self.request(
+            "PATCH",
+            url,
+            headers=headers,
+            query_params=query_params,
+            post_params=post_params,
+            _preload_content=_preload_content,
+            _request_timeout=_request_timeout,
+            body=body
+        )
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/.gitignore
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/.gitignore	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/.gitignore	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,4 @@
+wwwroot/*.js
+node_modules
+typings
+dist
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator-ignore
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator-ignore	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator-ignore	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -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/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator/VERSION
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator/VERSION	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/.openapi-generator/VERSION	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,1 @@
+4.3.1
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/README.md
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/README.md	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/README.md	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,205 @@
+## @
+
+### Building
+
+To install the required dependencies and to build the typescript sources run:
+```
+npm install
+npm run build
+```
+
+### publishing
+
+First build the package then run ```npm publish```
+
+### consuming
+
+Navigate to the folder of your consuming project and run one of next commands.
+
+_published:_
+
+```
+npm install @ --save
+```
+
+_without publishing (not recommended):_
+
+```
+npm install PATH_TO_GENERATED_PACKAGE/-.tgz --save
+```
+
+_It's important to take the tgz file, otherwise you'll get trouble with links on windows_
+
+_using `npm link`:_
+
+In PATH_TO_GENERATED_PACKAGE:
+```
+npm link
+```
+
+In your project:
+```
+npm link 
+```
+
+__Note for Windows users:__ The Angular CLI has troubles to use linked npm packages.
+Please refer to this issue https://github.com/angular/angular-cli/issues/8284 for a solution / workaround.
+Published packages are not effected by this issue.
+
+
+#### General usage
+
+In your Angular project:
+
+
+```
+// without configuring providers
+import { ApiModule } from '';
+import { HttpClientModule } from '@angular/common/http';
+
+
+@NgModule({
+    imports: [
+        ApiModule,
+        // make sure to import the HttpClientModule in the AppModule only,
+        // see https://github.com/angular/angular/issues/20575
+        HttpClientModule
+    ],
+    declarations: [ AppComponent ],
+    providers: [],
+    bootstrap: [ AppComponent ]
+})
+export class AppModule {}
+```
+
+```
+// configuring providers
+import { ApiModule, Configuration, ConfigurationParameters } from '';
+
+export function apiConfigFactory (): Configuration => {
+  const params: ConfigurationParameters = {
+    // set configuration parameters here.
+  }
+  return new Configuration(params);
+}
+
+@NgModule({
+    imports: [ ApiModule.forRoot(apiConfigFactory) ],
+    declarations: [ AppComponent ],
+    providers: [],
+    bootstrap: [ AppComponent ]
+})
+export class AppModule {}
+```
+
+```
+// configuring providers with an authentication service that manages your access tokens
+import { ApiModule, Configuration } from '';
+
+@NgModule({
+    imports: [ ApiModule ],
+    declarations: [ AppComponent ],
+    providers: [
+      {
+        provide: Configuration,
+        useFactory: (authService: AuthService) => new Configuration(
+          {
+            basePath: environment.apiUrl,
+            accessToken: authService.getAccessToken.bind(authService)
+          }
+        ),
+        deps: [AuthService],
+        multi: false
+      }
+    ],
+    bootstrap: [ AppComponent ]
+})
+export class AppModule {}
+```
+
+```
+import { DefaultApi } from '';
+
+export class AppComponent {
+	 constructor(private apiGateway: DefaultApi) { }
+}
+```
+
+Note: The ApiModule is restricted to being instantiated once app wide.
+This is to ensure that all services are treated as singletons.
+
+#### Using multiple OpenAPI files / APIs / ApiModules
+In order to use multiple `ApiModules` generated from different OpenAPI files,
+you can create an alias name when importing the modules
+in order to avoid naming conflicts:
+```
+import { ApiModule } from 'my-api-path';
+import { ApiModule as OtherApiModule } from 'my-other-api-path';
+import { HttpClientModule } from '@angular/common/http';
+
+
+@NgModule({
+  imports: [
+    ApiModule,
+    OtherApiModule,
+    // make sure to import the HttpClientModule in the AppModule only,
+    // see https://github.com/angular/angular/issues/20575
+    HttpClientModule
+  ]
+})
+export class AppModule {
+
+}
+```
+
+
+### Set service base path
+If different than the generated base path, during app bootstrap, you can provide the base path to your service. 
+
+```
+import { BASE_PATH } from '';
+
+bootstrap(AppComponent, [
+    { provide: BASE_PATH, useValue: 'https://your-web-service.com' },
+]);
+```
+or
+
+```
+import { BASE_PATH } from '';
+
+@NgModule({
+    imports: [],
+    declarations: [ AppComponent ],
+    providers: [ provide: BASE_PATH, useValue: 'https://your-web-service.com' ],
+    bootstrap: [ AppComponent ]
+})
+export class AppModule {}
+```
+
+
+#### Using @angular/cli
+First extend your `src/environments/*.ts` files by adding the corresponding base path:
+
+```
+export const environment = {
+  production: false,
+  API_BASE_PATH: 'http://127.0.0.1:8080'
+};
+```
+
+In the src/app/app.module.ts:
+```
+import { BASE_PATH } from '';
+import { environment } from '../environments/environment';
+
+@NgModule({
+  declarations: [
+    AppComponent
+  ],
+  imports: [ ],
+  providers: [{ provide: BASE_PATH, useValue: environment.API_BASE_PATH }],
+  bootstrap: [ AppComponent ]
+})
+export class AppModule { }
+```  
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api.module.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,36 @@
+import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';
+import { Configuration } from './configuration';
+import { HttpClient } from '@angular/common/http';
+
+
+import { DevicesService } from './api/devices.service';
+import { LogsService } from './api/logs.service';
+import { TilesService } from './api/tiles.service';
+import { UsersService } from './api/users.service';
+import { WatersService } from './api/waters.service';
+
+@NgModule({
+  imports:      [],
+  declarations: [],
+  exports:      [],
+  providers: []
+})
+export class ApiModule {
+    public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {
+        return {
+            ngModule: ApiModule,
+            providers: [ { provide: Configuration, useFactory: configurationFactory } ]
+        };
+    }
+
+    constructor( @Optional() @SkipSelf() parentModule: ApiModule,
+                 @Optional() http: HttpClient) {
+        if (parentModule) {
+            throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
+        }
+        if (!http) {
+            throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
+            'See also https://github.com/angular/angular/issues/20575');
+        }
+    }
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/api.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,11 @@
+export * from './devices.service';
+import { DevicesService } from './devices.service';
+export * from './logs.service';
+import { LogsService } from './logs.service';
+export * from './tiles.service';
+import { TilesService } from './tiles.service';
+export * from './users.service';
+import { UsersService } from './users.service';
+export * from './waters.service';
+import { WatersService } from './waters.service';
+export const APIS = [DevicesService, LogsService, TilesService, UsersService, WatersService];
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/devices.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/devices.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/devices.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,352 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent, HttpParameterCodec }       from '@angular/common/http';
+import { CustomHttpParameterCodec }                          from '../encoder';
+import { Observable }                                        from 'rxjs';
+
+import { Device } from '../model/models';
+import { DeviceCreation } from '../model/models';
+import { HttpError } from '../model/models';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+
+@Injectable({
+  providedIn: 'root'
+})
+export class DevicesService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+    public encoder: HttpParameterCodec;
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+        if (configuration) {
+            this.configuration = configuration;
+        }
+        if (typeof this.configuration.basePath !== 'string') {
+            if (typeof basePath !== 'string') {
+                basePath = this.basePath;
+            }
+            this.configuration.basePath = basePath;
+        }
+        this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
+    }
+
+
+
+    private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
+        if (typeof value === "object" && value instanceof Date === false) {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value);
+        } else {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
+        }
+        return httpParams;
+    }
+
+    private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
+        if (value == null) {
+            return httpParams;
+        }
+
+        if (typeof value === "object") {
+            if (Array.isArray(value)) {
+                (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
+            } else if (value instanceof Date) {
+                if (key != null) {
+                    httpParams = httpParams.append(key,
+                        (value as Date).toISOString().substr(0, 10));
+                } else {
+                   throw Error("key may not be null if value is Date");
+                }
+            } else {
+                Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
+                    httpParams, value[k], key != null ? `${key}.${k}` : k));
+            }
+        } else if (key != null) {
+            httpParams = httpParams.append(key, value);
+        } else {
+            throw Error("key may not be null if value is not object or array");
+        }
+        return httpParams;
+    }
+
+    /**
+     * Add a new device
+     * Adds a new device to the database
+     * @param deviceCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public devicesCreate(deviceCreation?: DeviceCreation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Device>;
+    public devicesCreate(deviceCreation?: DeviceCreation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Device>>;
+    public devicesCreate(deviceCreation?: DeviceCreation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Device>>;
+    public devicesCreate(deviceCreation?: DeviceCreation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<Device>(`${this.configuration.basePath}/devices`,
+            deviceCreation,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Deletes device
+     * Deletes given device and returns remaining devices of the user
+     * @param id Item id
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public devicesDeviceDelete(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<Device>>;
+    public devicesDeviceDelete(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<Device>>>;
+    public devicesDeviceDelete(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<Device>>>;
+    public devicesDeviceDelete(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (id === null || id === undefined) {
+            throw new Error('Required parameter id was null or undefined when calling devicesDeviceDelete.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.delete<Array<Device>>(`${this.configuration.basePath}/devices/${encodeURIComponent(String(id))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Find devices by id
+     * Returns all devices of user
+     * @param name 
+     * @param orderBy Order by field: name
+     * @param offset Skip over a number of elements by specifying an offset value for the query
+     * @param limit Limit the number of elements on the response
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public devicesGet(name?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<Device>>;
+    public devicesGet(name?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<Device>>>;
+    public devicesGet(name?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<Device>>>;
+    public devicesGet(name?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let queryParameters = new HttpParams({encoder: this.encoder});
+        if (name !== undefined && name !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>name, 'name');
+        }
+        if (orderBy !== undefined && orderBy !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>orderBy, 'order_by');
+        }
+        if (offset !== undefined && offset !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>offset, 'offset');
+        }
+        if (limit !== undefined && limit !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>limit, 'limit');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Array<Device>>(`${this.configuration.basePath}/devices`,
+            {
+                params: queryParameters,
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Represents a device
+     * Returns the device identified by id
+     * @param id Item ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public devicesGetById(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Device>;
+    public devicesGetById(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Device>>;
+    public devicesGetById(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Device>>;
+    public devicesGetById(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (id === null || id === undefined) {
+            throw new Error('Required parameter id was null or undefined when calling devicesGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Device>(`${this.configuration.basePath}/devices/${encodeURIComponent(String(id))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/logs.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/logs.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/logs.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,400 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent, HttpParameterCodec }       from '@angular/common/http';
+import { CustomHttpParameterCodec }                          from '../encoder';
+import { Observable }                                        from 'rxjs';
+
+import { HttpError } from '../model/models';
+import { Log } from '../model/models';
+import { LogCreation } from '../model/models';
+import { LogMetaData } from '../model/models';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+
+@Injectable({
+  providedIn: 'root'
+})
+export class LogsService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+    public encoder: HttpParameterCodec;
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+        if (configuration) {
+            this.configuration = configuration;
+        }
+        if (typeof this.configuration.basePath !== 'string') {
+            if (typeof basePath !== 'string') {
+                basePath = this.basePath;
+            }
+            this.configuration.basePath = basePath;
+        }
+        this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
+    }
+
+
+
+    private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
+        if (typeof value === "object" && value instanceof Date === false) {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value);
+        } else {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
+        }
+        return httpParams;
+    }
+
+    private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
+        if (value == null) {
+            return httpParams;
+        }
+
+        if (typeof value === "object") {
+            if (Array.isArray(value)) {
+                (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
+            } else if (value instanceof Date) {
+                if (key != null) {
+                    httpParams = httpParams.append(key,
+                        (value as Date).toISOString().substr(0, 10));
+                } else {
+                   throw Error("key may not be null if value is Date");
+                }
+            } else {
+                Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
+                    httpParams, value[k], key != null ? `${key}.${k}` : k));
+            }
+        } else if (key != null) {
+            httpParams = httpParams.append(key, value);
+        } else {
+            throw Error("key may not be null if value is not object or array");
+        }
+        return httpParams;
+    }
+
+    /**
+     * Find logs by
+     * Returns all log metadata
+     * @param submitter 
+     * @param orderBy Order by field: name
+     * @param offset Skip over a number of elements by specifying an offset value for the query
+     * @param limit Limit the number of elements on the response
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public logsGet(submitter?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<LogMetaData>>;
+    public logsGet(submitter?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<LogMetaData>>>;
+    public logsGet(submitter?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<LogMetaData>>>;
+    public logsGet(submitter?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let queryParameters = new HttpParams({encoder: this.encoder});
+        if (submitter !== undefined && submitter !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>submitter, 'submitter');
+        }
+        if (orderBy !== undefined && orderBy !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>orderBy, 'order_by');
+        }
+        if (offset !== undefined && offset !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>offset, 'offset');
+        }
+        if (limit !== undefined && limit !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>limit, 'limit');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Array<LogMetaData>>(`${this.configuration.basePath}/logs`,
+            {
+                params: queryParameters,
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Add a new log
+     * Creates a new log from given meta data. The log entries itself, must be uploaded per /logs/{log_id}
+     * @param logCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public logsLogCreate(logCreation?: LogCreation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<LogMetaData>;
+    public logsLogCreate(logCreation?: LogCreation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<LogMetaData>>;
+    public logsLogCreate(logCreation?: LogCreation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<LogMetaData>>;
+    public logsLogCreate(logCreation?: LogCreation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<LogMetaData>(`${this.configuration.basePath}/logs`,
+            logCreation,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Deletes log
+     * Deletes given log and returns remaining logs of the gauge
+     * @param logId Log ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public logsLogDelete(logId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<LogMetaData>>;
+    public logsLogDelete(logId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<LogMetaData>>>;
+    public logsLogDelete(logId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<LogMetaData>>>;
+    public logsLogDelete(logId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (logId === null || logId === undefined) {
+            throw new Error('Required parameter logId was null or undefined when calling logsLogDelete.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.delete<Array<LogMetaData>>(`${this.configuration.basePath}/logs/${encodeURIComponent(String(logId))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Represents a log
+     * Returns the log identified by id
+     * @param logId Log ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public logsLogGetById(logId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<Log>;
+    public logsLogGetById(logId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpResponse<Log>>;
+    public logsLogGetById(logId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpEvent<Log>>;
+    public logsLogGetById(logId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<any> {
+        if (logId === null || logId === undefined) {
+            throw new Error('Required parameter logId was null or undefined when calling logsLogGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/geo+json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Log>(`${this.configuration.basePath}/logs/${encodeURIComponent(String(logId))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Add a new log entries
+     * Adds log entries from uploaded file to current Log
+     * @param logId Log ID
+     * @param body 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public logsLogUpload(logId: number, body?: Blob, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<LogMetaData>;
+    public logsLogUpload(logId: number, body?: Blob, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<LogMetaData>>;
+    public logsLogUpload(logId: number, body?: Blob, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<LogMetaData>>;
+    public logsLogUpload(logId: number, body?: Blob, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (logId === null || logId === undefined) {
+            throw new Error('Required parameter logId was null or undefined when calling logsLogUpload.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'text/plain'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<LogMetaData>(`${this.configuration.basePath}/logs/${encodeURIComponent(String(logId))}`,
+            body,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/tiles.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/tiles.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/tiles.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,146 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent, HttpParameterCodec }       from '@angular/common/http';
+import { CustomHttpParameterCodec }                          from '../encoder';
+import { Observable }                                        from 'rxjs';
+
+import { HttpError } from '../model/models';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+
+@Injectable({
+  providedIn: 'root'
+})
+export class TilesService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+    public encoder: HttpParameterCodec;
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+        if (configuration) {
+            this.configuration = configuration;
+        }
+        if (typeof this.configuration.basePath !== 'string') {
+            if (typeof basePath !== 'string') {
+                basePath = this.basePath;
+            }
+            this.configuration.basePath = basePath;
+        }
+        this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
+    }
+
+
+
+    private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
+        if (typeof value === "object" && value instanceof Date === false) {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value);
+        } else {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
+        }
+        return httpParams;
+    }
+
+    private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
+        if (value == null) {
+            return httpParams;
+        }
+
+        if (typeof value === "object") {
+            if (Array.isArray(value)) {
+                (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
+            } else if (value instanceof Date) {
+                if (key != null) {
+                    httpParams = httpParams.append(key,
+                        (value as Date).toISOString().substr(0, 10));
+                } else {
+                   throw Error("key may not be null if value is Date");
+                }
+            } else {
+                Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
+                    httpParams, value[k], key != null ? `${key}.${k}` : k));
+            }
+        } else if (key != null) {
+            httpParams = httpParams.append(key, value);
+        } else {
+            throw Error("key may not be null if value is not object or array");
+        }
+        return httpParams;
+    }
+
+    /**
+     * Represents a tile
+     * Returns the map tile x_tile, y_tile at Zoomlevel zoom
+     * @param accuracy Accuracy of generated tiles
+     * @param resolution Resolution of the tiles
+     * @param zoom Zoomlevel
+     * @param xTile Number of the tile in x dimension
+     * @param yTile Number of the tile in y dimension
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public tilesTileGet(accuracy: 'high' | 'low', resolution: 256 | 512, zoom: number, xTile: number, yTile: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'image/_*' | 'application/problem+json'}): Observable<Blob>;
+    public tilesTileGet(accuracy: 'high' | 'low', resolution: 256 | 512, zoom: number, xTile: number, yTile: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'image/_*' | 'application/problem+json'}): Observable<HttpResponse<Blob>>;
+    public tilesTileGet(accuracy: 'high' | 'low', resolution: 256 | 512, zoom: number, xTile: number, yTile: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'image/_*' | 'application/problem+json'}): Observable<HttpEvent<Blob>>;
+    public tilesTileGet(accuracy: 'high' | 'low', resolution: 256 | 512, zoom: number, xTile: number, yTile: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'image/_*' | 'application/problem+json'}): Observable<any> {
+        if (accuracy === null || accuracy === undefined) {
+            throw new Error('Required parameter accuracy was null or undefined when calling tilesTileGet.');
+        }
+        if (resolution === null || resolution === undefined) {
+            throw new Error('Required parameter resolution was null or undefined when calling tilesTileGet.');
+        }
+        if (zoom === null || zoom === undefined) {
+            throw new Error('Required parameter zoom was null or undefined when calling tilesTileGet.');
+        }
+        if (xTile === null || xTile === undefined) {
+            throw new Error('Required parameter xTile was null or undefined when calling tilesTileGet.');
+        }
+        if (yTile === null || yTile === undefined) {
+            throw new Error('Required parameter yTile was null or undefined when calling tilesTileGet.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'image/_*',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        return this.httpClient.get(`${this.configuration.basePath}/tiles/gnuboat/${encodeURIComponent(String(accuracy))}/${encodeURIComponent(String(resolution))}/${encodeURIComponent(String(zoom))}/${encodeURIComponent(String(xTile))}/${encodeURIComponent(String(yTile))}.png`,
+            {
+                responseType: "blob",
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/users.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,383 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent, HttpParameterCodec }       from '@angular/common/http';
+import { CustomHttpParameterCodec }                          from '../encoder';
+import { Observable }                                        from 'rxjs';
+
+import { HttpError } from '../model/models';
+import { User } from '../model/models';
+import { UserCreation } from '../model/models';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+
+@Injectable({
+  providedIn: 'root'
+})
+export class UsersService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+    public encoder: HttpParameterCodec;
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+        if (configuration) {
+            this.configuration = configuration;
+        }
+        if (typeof this.configuration.basePath !== 'string') {
+            if (typeof basePath !== 'string') {
+                basePath = this.basePath;
+            }
+            this.configuration.basePath = basePath;
+        }
+        this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
+    }
+
+
+
+    private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
+        if (typeof value === "object" && value instanceof Date === false) {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value);
+        } else {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
+        }
+        return httpParams;
+    }
+
+    private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
+        if (value == null) {
+            return httpParams;
+        }
+
+        if (typeof value === "object") {
+            if (Array.isArray(value)) {
+                (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
+            } else if (value instanceof Date) {
+                if (key != null) {
+                    httpParams = httpParams.append(key,
+                        (value as Date).toISOString().substr(0, 10));
+                } else {
+                   throw Error("key may not be null if value is Date");
+                }
+            } else {
+                Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
+                    httpParams, value[k], key != null ? `${key}.${k}` : k));
+            }
+        } else if (key != null) {
+            httpParams = httpParams.append(key, value);
+        } else {
+            throw Error("key may not be null if value is not object or array");
+        }
+        return httpParams;
+    }
+
+    /**
+     * Used by CORS preflight
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public userOptions(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<any>;
+    public userOptions(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<any>>;
+    public userOptions(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<any>>;
+    public userOptions(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.options<any>(`${this.configuration.basePath}/user`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Activates a user account
+     * Activates a user account
+     * @param activationCode Activation code
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersActivate(activationCode: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined}): Observable<any>;
+    public usersActivate(activationCode: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined}): Observable<HttpResponse<any>>;
+    public usersActivate(activationCode: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined}): Observable<HttpEvent<any>>;
+    public usersActivate(activationCode: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined}): Observable<any> {
+        if (activationCode === null || activationCode === undefined) {
+            throw new Error('Required parameter activationCode was null or undefined when calling usersActivate.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<any>(`${this.configuration.basePath}/user/activate/${encodeURIComponent(String(activationCode))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Returns a new API key
+     * Generates and returns a new API key for current user
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersApiKeyCreate(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<string>>;
+    public usersApiKeyCreate(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<string>>>;
+    public usersApiKeyCreate(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<string>>>;
+    public usersApiKeyCreate(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Array<string>>(`${this.configuration.basePath}/user/apikey_create`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Deletes API key
+     * Deletes given API key and returns remaining API keys of the user
+     * @param apiKey API key
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersApiKeyDelete(apiKey: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<string>>;
+    public usersApiKeyDelete(apiKey: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<string>>>;
+    public usersApiKeyDelete(apiKey: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<string>>>;
+    public usersApiKeyDelete(apiKey: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (apiKey === null || apiKey === undefined) {
+            throw new Error('Required parameter apiKey was null or undefined when calling usersApiKeyDelete.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.delete<Array<string>>(`${this.configuration.basePath}/user/${encodeURIComponent(String(apiKey))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Returns info of a user
+     * Returns information of current/authorized user
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersGet(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<User>;
+    public usersGet(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<User>>;
+    public usersGet(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<User>>;
+    public usersGet(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<User>(`${this.configuration.basePath}/user`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Registers a new user
+     * Registers a new user
+     * @param userCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public usersRegister(userCreation?: UserCreation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<User>;
+    public usersRegister(userCreation?: UserCreation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<User>>;
+    public usersRegister(userCreation?: UserCreation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<User>>;
+    public usersRegister(userCreation?: UserCreation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<User>(`${this.configuration.basePath}/user`,
+            userCreation,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/api/waters.service.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,479 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+/* tslint:disable:no-unused-variable member-ordering */
+
+import { Inject, Injectable, Optional }                      from '@angular/core';
+import { HttpClient, HttpHeaders, HttpParams,
+         HttpResponse, HttpEvent, HttpParameterCodec }       from '@angular/common/http';
+import { CustomHttpParameterCodec }                          from '../encoder';
+import { Observable }                                        from 'rxjs';
+
+import { Gauge } from '../model/models';
+import { GaugeCreation } from '../model/models';
+import { HttpError } from '../model/models';
+import { Water } from '../model/models';
+import { WaterCreation } from '../model/models';
+
+import { BASE_PATH, COLLECTION_FORMATS }                     from '../variables';
+import { Configuration }                                     from '../configuration';
+
+
+
+@Injectable({
+  providedIn: 'root'
+})
+export class WatersService {
+
+    protected basePath = 'https://gnuboat.engsas.com/mapservice/v1';
+    public defaultHeaders = new HttpHeaders();
+    public configuration = new Configuration();
+    public encoder: HttpParameterCodec;
+
+    constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {
+        if (configuration) {
+            this.configuration = configuration;
+        }
+        if (typeof this.configuration.basePath !== 'string') {
+            if (typeof basePath !== 'string') {
+                basePath = this.basePath;
+            }
+            this.configuration.basePath = basePath;
+        }
+        this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
+    }
+
+
+
+    private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
+        if (typeof value === "object" && value instanceof Date === false) {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value);
+        } else {
+            httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
+        }
+        return httpParams;
+    }
+
+    private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
+        if (value == null) {
+            return httpParams;
+        }
+
+        if (typeof value === "object") {
+            if (Array.isArray(value)) {
+                (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
+            } else if (value instanceof Date) {
+                if (key != null) {
+                    httpParams = httpParams.append(key,
+                        (value as Date).toISOString().substr(0, 10));
+                } else {
+                   throw Error("key may not be null if value is Date");
+                }
+            } else {
+                Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
+                    httpParams, value[k], key != null ? `${key}.${k}` : k));
+            }
+        } else if (key != null) {
+            httpParams = httpParams.append(key, value);
+        } else {
+            throw Error("key may not be null if value is not object or array");
+        }
+        return httpParams;
+    }
+
+    /**
+     * Add a new water
+     * Adds a new water to the database
+     * @param waterCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Water>;
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Water>>;
+    public watersCreate(waterCreation?: WaterCreation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Water>>;
+    public watersCreate(waterCreation?: WaterCreation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<Water>(`${this.configuration.basePath}/waters`,
+            waterCreation,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Add a new water
+     * Adds a new gauge for water waterId to the database
+     * @param waterId Water ID
+     * @param gaugeCreation 
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<Gauge>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpResponse<Gauge>>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpEvent<Gauge>>;
+    public watersGaugeCreate(waterId: number, gaugeCreation?: GaugeCreation, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugeCreate.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        // authentication (apiKeyAuth) required
+        if (this.configuration.apiKeys) {
+            const key: string | undefined = this.configuration.apiKeys["apiKeyAuth"] || this.configuration.apiKeys["X-API-KEY"];
+            if (key) {
+                headers = headers.set('X-API-KEY', key);
+            }
+        }
+
+        // authentication (basicAuth) required
+        if (this.configuration.username || this.configuration.password) {
+            headers = headers.set('Authorization', 'Basic ' + btoa(this.configuration.username + ':' + this.configuration.password));
+        }
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/geo+json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        // to determine the Content-Type header
+        const consumes: string[] = [
+            'application/json'
+        ];
+        const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
+        if (httpContentTypeSelected !== undefined) {
+            headers = headers.set('Content-Type', httpContentTypeSelected);
+        }
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.post<Gauge>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges`,
+            gaugeCreation,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Represents a gauge
+     * Returns the gauge identified by id
+     * @param waterId Water ID
+     * @param gaugeId Gauge ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<Gauge>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpResponse<Gauge>>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<HttpEvent<Gauge>>;
+    public watersGaugeGetById(waterId: number, gaugeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json' | 'application/problem+json'}): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugeGetById.');
+        }
+        if (gaugeId === null || gaugeId === undefined) {
+            throw new Error('Required parameter gaugeId was null or undefined when calling watersGaugeGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/geo+json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Gauge>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges/${encodeURIComponent(String(gaugeId))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Find gauges of water waterId by gaugeId
+     * Returns all gauges of water waterId
+     * @param waterId Water ID
+     * @param name 
+     * @param manager 
+     * @param orderBy Order by field: name
+     * @param offset Skip over a number of elements by specifying an offset value for the query
+     * @param limit Limit the number of elements on the response
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json'}): Observable<Array<Gauge>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json'}): Observable<HttpResponse<Array<Gauge>>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json'}): Observable<HttpEvent<Array<Gauge>>>;
+    public watersGaugesGet(waterId: number, name?: string, manager?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/geo+json'}): Observable<any> {
+        if (waterId === null || waterId === undefined) {
+            throw new Error('Required parameter waterId was null or undefined when calling watersGaugesGet.');
+        }
+
+        let queryParameters = new HttpParams({encoder: this.encoder});
+        if (name !== undefined && name !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>name, 'name');
+        }
+        if (manager !== undefined && manager !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>manager, 'manager');
+        }
+        if (orderBy !== undefined && orderBy !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>orderBy, 'order_by');
+        }
+        if (offset !== undefined && offset !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>offset, 'offset');
+        }
+        if (limit !== undefined && limit !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>limit, 'limit');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/geo+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Array<Gauge>>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(waterId))}/gauges`,
+            {
+                params: queryParameters,
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Find waters
+     * Returns all waters
+     * @param name 
+     * @param manager 
+     * @param stakeholder A stakeholder is a user, which has uploaded Logfiles to water, added a gauge, ...
+     * @param orderBy Order by field: name
+     * @param offset Skip over a number of elements by specifying an offset value for the query
+     * @param limit Limit the number of elements on the response
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGet(name?: string, manager?: string, stakeholder?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Array<Water>>;
+    public watersGet(name?: string, manager?: string, stakeholder?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Array<Water>>>;
+    public watersGet(name?: string, manager?: string, stakeholder?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Array<Water>>>;
+    public watersGet(name?: string, manager?: string, stakeholder?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+
+        let queryParameters = new HttpParams({encoder: this.encoder});
+        if (name !== undefined && name !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>name, 'name');
+        }
+        if (manager !== undefined && manager !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>manager, 'manager');
+        }
+        if (stakeholder !== undefined && stakeholder !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>stakeholder, 'stakeholder');
+        }
+        if (orderBy !== undefined && orderBy !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>orderBy, 'order_by');
+        }
+        if (offset !== undefined && offset !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>offset, 'offset');
+        }
+        if (limit !== undefined && limit !== null) {
+          queryParameters = this.addToHttpParams(queryParameters,
+            <any>limit, 'limit');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Array<Water>>(`${this.configuration.basePath}/waters`,
+            {
+                params: queryParameters,
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+    /**
+     * Represents a water
+     * Returns the water identified by id
+     * @param id Item ID
+     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
+     * @param reportProgress flag to report request and response progress.
+     */
+    public watersGetById(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<Water>;
+    public watersGetById(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpResponse<Water>>;
+    public watersGetById(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<HttpEvent<Water>>;
+    public watersGetById(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/problem+json'}): Observable<any> {
+        if (id === null || id === undefined) {
+            throw new Error('Required parameter id was null or undefined when calling watersGetById.');
+        }
+
+        let headers = this.defaultHeaders;
+
+        let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
+        if (httpHeaderAcceptSelected === undefined) {
+            // to determine the Accept header
+            const httpHeaderAccepts: string[] = [
+                'application/json',
+                'application/problem+json'
+            ];
+            httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
+        }
+        if (httpHeaderAcceptSelected !== undefined) {
+            headers = headers.set('Accept', httpHeaderAcceptSelected);
+        }
+
+
+        let responseType: 'text' | 'json' = 'json';
+        if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
+            responseType = 'text';
+        }
+
+        return this.httpClient.get<Water>(`${this.configuration.basePath}/waters/${encodeURIComponent(String(id))}`,
+            {
+                responseType: <any>responseType,
+                withCredentials: this.configuration.withCredentials,
+                headers: headers,
+                observe: observe,
+                reportProgress: reportProgress
+            }
+        );
+    }
+
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/configuration.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/configuration.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/configuration.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,84 @@
+import { HttpParameterCodec } from '@angular/common/http';
+
+export interface ConfigurationParameters {
+    apiKeys?: {[ key: string ]: string};
+    username?: string;
+    password?: string;
+    accessToken?: string | (() => string);
+    basePath?: string;
+    withCredentials?: boolean;
+    encoder?: HttpParameterCodec;
+}
+
+export class Configuration {
+    apiKeys?: {[ key: string ]: string};
+    username?: string;
+    password?: string;
+    accessToken?: string | (() => string);
+    basePath?: string;
+    withCredentials?: boolean;
+    encoder?: HttpParameterCodec;
+
+    constructor(configurationParameters: ConfigurationParameters = {}) {
+        this.apiKeys = configurationParameters.apiKeys;
+        this.username = configurationParameters.username;
+        this.password = configurationParameters.password;
+        this.accessToken = configurationParameters.accessToken;
+        this.basePath = configurationParameters.basePath;
+        this.withCredentials = configurationParameters.withCredentials;
+        this.encoder = configurationParameters.encoder;
+    }
+
+    /**
+     * Select the correct content-type to use for a request.
+     * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
+     * If no content type is found return the first found type if the contentTypes is not empty
+     * @param contentTypes - the array of content types that are available for selection
+     * @returns the selected content-type or <code>undefined</code> if no selection could be made.
+     */
+    public selectHeaderContentType (contentTypes: string[]): string | undefined {
+        if (contentTypes.length === 0) {
+            return undefined;
+        }
+
+        const type = contentTypes.find((x: string) => this.isJsonMime(x));
+        if (type === undefined) {
+            return contentTypes[0];
+        }
+        return type;
+    }
+
+    /**
+     * Select the correct accept content-type to use for a request.
+     * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
+     * If no content type is found return the first found type if the contentTypes is not empty
+     * @param accepts - the array of content types that are available for selection.
+     * @returns the selected content-type or <code>undefined</code> if no selection could be made.
+     */
+    public selectHeaderAccept(accepts: string[]): string | undefined {
+        if (accepts.length === 0) {
+            return undefined;
+        }
+
+        const type = accepts.find((x: string) => this.isJsonMime(x));
+        if (type === undefined) {
+            return accepts[0];
+        }
+        return type;
+    }
+
+    /**
+     * Check if the given MIME is a JSON MIME.
+     * JSON MIME examples:
+     *   application/json
+     *   application/json; charset=UTF8
+     *   APPLICATION/JSON
+     *   application/vnd.company+json
+     * @param mime - MIME (Multipurpose Internet Mail Extensions)
+     * @return True if the given MIME is JSON, false otherwise.
+     */
+    public isJsonMime(mime: string): boolean {
+        const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
+        return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
+    }
+}
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/encoder.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/encoder.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/encoder.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,21 @@
+import { HttpParameterCodec } from '@angular/common/http';
+
+/**
+ * Custom HttpParameterCodec
+ * Workaround for https://github.com/angular/angular/issues/18261
+ */
+export class CustomHttpParameterCodec implements HttpParameterCodec {
+    encodeKey(k: string): string {
+        return encodeURIComponent(k);
+    }
+    encodeValue(v: string): string {
+        return encodeURIComponent(v);
+    }
+    decodeKey(k: string): string {
+        return decodeURIComponent(k);
+    }
+    decodeValue(v: string): string {
+        return decodeURIComponent(v);
+    }
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/git_push.sh
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/git_push.sh	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/git_push.sh	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,58 @@
+#!/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" "gitlab.com"
+
+git_user_id=$1
+git_repo_id=$2
+release_note=$3
+git_host=$4
+
+if [ "$git_host" = "" ]; then
+    git_host="github.com"
+    echo "[INFO] No command line input provided. Set \$git_host to $git_host"
+fi
+
+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://${git_host}/${git_user_id}/${git_repo_id}.git
+    else
+        git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${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://${git_host}/${git_user_id}/${git_repo_id}.git"
+git push origin master 2>&1 | grep -v 'To https'
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/index.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/index.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/index.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,5 @@
+export * from './api/api';
+export * from './model/models';
+export * from './variables';
+export * from './configuration';
+export * from './api.module';
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/device.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/device.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/device.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,22 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { LogMetaData } from './logMetaData';
+
+
+export interface Device { 
+    deviceId: number;
+    name: string;
+    sensorDepth: number;
+    logs?: Array<LogMetaData>;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/deviceCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/deviceCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/deviceCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,19 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface DeviceCreation { 
+    name: string;
+    sensorDepth: number;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gauge.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,27 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { LogMetaData } from './logMetaData';
+
+
+export interface Gauge { 
+    gaugeId: number;
+    name: string;
+    manager?: string;
+    location: Array<number>;
+    /**
+     * The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.
+     */
+    referenceWaterLevelGaugeHeight: number;
+    logs?: Array<LogMetaData>;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,24 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface GaugeCreation { 
+    name: string;
+    location: Array<number>;
+    /**
+     * The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.
+     */
+    referenceWaterLevelGaugeHeight?: number;
+    water?: number;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,22 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { GeoJsonType } from './geoJsonType';
+import { GeoJsonPoint } from './geoJsonPoint';
+import { GaugeGeoJsonProperties } from './gaugeGeoJsonProperties';
+
+
+export interface GaugeGeoJson { 
+    type: GeoJsonType;
+    geometry: GeoJsonPoint;
+    properties: GaugeGeoJsonProperties;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/gaugeGeoJsonProperties.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,23 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface GaugeGeoJsonProperties { 
+    name: string;
+    manager?: string;
+    /**
+     * The gauge height (stage) for reference water level. The reference water level is the water level, the depth on the map is shown at. Therefore, the water depth of a LogEntry is transformed to this referenceWaterLevel, with help of the gaugeHeight of the Log related to the LogEntry.
+     */
+    referenceWaterLevelGaugeHeight?: number;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonPoint.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,21 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+/**
+ * GeoJson geometry
+ */
+export interface GeoJsonPoint { 
+    type?: string;
+    coordinates?: Array<number>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/geoJsonType.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,21 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export type GeoJsonType = 'Feature' | 'Point' | 'FeatureCollection';
+
+export const GeoJsonType = {
+    Feature: 'Feature' as GeoJsonType,
+    Point: 'Point' as GeoJsonType,
+    FeatureCollection: 'FeatureCollection' as GeoJsonType
+};
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/httpError.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/httpError.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/httpError.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface HttpError { 
+    type: string;
+    title: string;
+    detail: string;
+    instance: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/itemBase.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/itemBase.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/itemBase.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,25 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface ItemBase { 
+    /**
+     * A representative name, for the item, which could be understand by the user. Mostly it should be the itemName
+     */
+    label: string;
+    id: number;
+    /**
+     * Url, where details of the object could be retrieved
+     */
+    url?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/log.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/log.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/log.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { LogMetaData } from './logMetaData';
+import { LogEntry } from './logEntry';
+
+
+export interface Log { 
+    metaData: LogMetaData;
+    entries: Array<LogEntry>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,21 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface LogCreation { 
+    water: number;
+    device: number;
+    gauge: number;
+    gaugeHeight: number;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntry.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntry.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntry.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,19 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface LogEntry { 
+    datetime: string;
+    location: Array<number>;
+    waterDepth?: number;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJson.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,22 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { GeoJsonType } from './geoJsonType';
+import { LogEntryGeoJsonProperties } from './logEntryGeoJsonProperties';
+import { GeoJsonPoint } from './geoJsonPoint';
+
+
+export interface LogEntryGeoJson { 
+    type: GeoJsonType;
+    geometry: GeoJsonPoint;
+    properties: LogEntryGeoJsonProperties;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJsonProperties.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJsonProperties.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logEntryGeoJsonProperties.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,18 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface LogEntryGeoJsonProperties { 
+    datetime: string;
+    waterDepth?: number;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logGeoJson.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logGeoJson.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { GeoJsonType } from './geoJsonType';
+import { LogEntryGeoJson } from './logEntryGeoJson';
+
+
+export interface LogGeoJson { 
+    type: GeoJsonType;
+    features: Array<LogEntryGeoJson>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logMetaData.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logMetaData.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/logMetaData.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,28 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { ItemBase } from './itemBase';
+
+
+export interface LogMetaData { 
+    logId?: number;
+    submitter?: string;
+    water?: ItemBase;
+    device?: ItemBase;
+    gauge?: ItemBase;
+    gaugeHeight: number;
+    start: string | null;
+    end: string | null;
+    processingState?: ItemBase;
+    entriesCount: number;
+    comment?: string;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/models.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,23 @@
+export * from './device';
+export * from './deviceCreation';
+export * from './gauge';
+export * from './gaugeCreation';
+export * from './gaugeGeoJson';
+export * from './gaugeGeoJsonProperties';
+export * from './geoJsonPoint';
+export * from './geoJsonType';
+export * from './httpError';
+export * from './itemBase';
+export * from './log';
+export * from './logCreation';
+export * from './logEntry';
+export * from './logEntryGeoJson';
+export * from './logEntryGeoJsonProperties';
+export * from './logGeoJson';
+export * from './logMetaData';
+export * from './order';
+export * from './osmType';
+export * from './user';
+export * from './userCreation';
+export * from './water';
+export * from './waterCreation';
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/order.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/order.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/order.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,23 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+/**
+ * Sort order:   * `asc` - Ascending, from A to Z   * `desc` - Descending, from Z to A 
+ */
+export type Order = 'desc' | 'asc';
+
+export const Order = {
+    Desc: 'desc' as Order,
+    Asc: 'asc' as Order
+};
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/osmType.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/osmType.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/osmType.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,21 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export type OsmType = 'Node' | 'Way' | 'Relation';
+
+export const OsmType = {
+    Node: 'Node' as OsmType,
+    Way: 'Way' as OsmType,
+    Relation: 'Relation' as OsmType
+};
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/user.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/user.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/user.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,23 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface User { 
+    username?: string;
+    email?: string;
+    firstName?: string;
+    lastName?: string;
+    activated?: boolean;
+    licenseAccepted?: boolean;
+    apiKeys?: Array<string>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/userCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/userCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/userCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,22 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+export interface UserCreation { 
+    username: string;
+    email: string;
+    firstName: string;
+    lastName: string;
+    password: string;
+    licenseAccepted: boolean;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/water.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,26 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { OsmType } from './osmType';
+import { LogMetaData } from './logMetaData';
+import { Gauge } from './gauge';
+
+
+export interface Water { 
+    waterId: number;
+    name: string;
+    manager?: string;
+    osmId?: number;
+    osmType?: OsmType;
+    gauges?: Array<Gauge>;
+    logs?: Array<LogMetaData>;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/model/waterCreation.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/model/waterCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/model/waterCreation.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+/**
+ * GNUBoat Mapservice API
+ * API to upload log files with water depth to GNUBoat server
+ *
+ * The version of the OpenAPI document: v1
+ * Contact: info@engsas.de
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+import { OsmType } from './osmType';
+
+
+export interface WaterCreation { 
+    name: string;
+    osmId?: number;
+    osmType?: OsmType;
+}
+
Index: src/mapservice-webclient/src-gen/gnuboat-mapservice/variables.ts
===================================================================
--- src/mapservice-webclient/src-gen/gnuboat-mapservice/variables.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/mapservice-webclient/src-gen/gnuboat-mapservice/variables.ts	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,9 @@
+import { InjectionToken } from '@angular/core';
+
+export const BASE_PATH = new InjectionToken<string>('basePath');
+export const COLLECTION_FORMATS = {
+    'csv': ',',
+    'tsv': '   ',
+    'ssv': ' ',
+    'pipes': '|'
+}
Index: src/puppetcode/environments/gnuboat/configversion
===================================================================
--- src/puppetcode/environments/gnuboat/configversion	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ src/puppetcode/environments/gnuboat/configversion	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-echo "0.4.2"
+echo "0.4.3"
 
 exit 0
Index: src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -8,19 +8,19 @@
   - gnuboat_canboat
   - apt
-#  - ntp
   - chrony
 
 apt::sources:
-  'gnuboat':
-    comment: 'GNUBoat repository'
-    location: 'http://ftp.engsas.de/unstable/gnuboat/'
-    release: 'jessie'
-    repos: 'main'
-    key:
-      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
-      server: 'pgp.mit.edu'
-    include:
-      src: true
-      deb: true
+# Not needed, as it is managed by the debien-release package already
+#  'gnuboat':
+#    comment: 'GNUBoat repository'
+#    location: 'http://ftp.engsas.de/unstable/gnuboat/'
+#    release: 'jessie'
+#    repos: 'main'
+#    key:
+#      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
+#      server: 'pgp.mit.edu'
+#    include:
+#      src: true
+#      deb: true
   'gnuboat-raspbian':
     comment: 'GNUBoat raspbian repository'
@@ -35,9 +35,6 @@
       deb: true
 apt::pin:
-  'gnuboat':
-    priority        => 100
-    originator      => 'gnuboat-raspbian'
   'gnuboat-raspbian':
-    priority        => 200
+    priority        => 999
     originator      => 'gnuboat-raspbian'
 gnuboat_lighttpd::service::status: 'running'
@@ -67,4 +64,3 @@
 chrony::offline: true
 chrony::refclocks:
-  - 'SHM 0  delay 0.5 refid NMEA'
 #chrony::serve_ntp: true
Index: src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml.orig
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,67 @@
+---
+classes:
+  - gnuboat_lighttpd
+  - gnuboat_epd
+  - gnuboat_gpsd
+  - gnuboat_device
+  - gnuboat_hostapd
+  - gnuboat_canboat
+  - apt
+  - chrony
+
+apt::sources:
+# Not needed, as it is managed by the debien-release package already
+#  'gnuboat':
+#    comment: 'GNUBoat repository'
+#    location: 'http://ftp.engsas.de/unstable/gnuboat/'
+#    release: 'jessie'
+#    repos: 'main'
+#    key:
+#      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
+#      server: 'pgp.mit.edu'
+#    include:
+#      src: true
+#      deb: true
+  'gnuboat-raspbian':
+    comment: 'GNUBoat raspbian repository'
+    location: 'http://ftp.engsas.de/unstable/gnuboat-raspbian/'
+    release: 'jessie'
+    repos: 'main'
+    key:
+      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
+      server: 'pgp.mit.edu'
+    include:
+      src: true
+      deb: true
+apt::pin:
+  'gnuboat-raspbian':
+    priority        => 999
+    originator      => 'gnuboat-raspbian'
+gnuboat_lighttpd::service::status: 'running'
+gnuboat_lighttpd::service::enabled: true
+gnuboat_epd::service::status: 'stopped'
+gnuboat_epd::service::enabled: true
+gnuboat_epd::service::display_size: '2.7'
+gnuboat_epd::service::exec_start_post: '/usr/bin/gnuboat-splashscreen -i /home/pi/gnuboat/src/icon/gnuboat-170.png'
+gnuboat_epd::service::exec_stop_pre: '/usr/bin/gnuboat-splashscreen -i /home/pi/gnuboat/src/icon/gnuboat-170.png'
+gnuboat_epd::install::panel: 'v230-g2'
+gnuboat_gpsd::service::status: 'running'
+gnuboat_gpsd::service::enabled: true
+gnuboat_gpsd::service::devices: '/dev/ttyACM0'
+gnuboat_gpsd::service::network_access: true
+gnuboat_gpsd::service::poll_on_startup: true
+gnuboat_device::service::status: 'running'
+gnuboat_device::service::enabled: true
+gnuboat_device::server: true
+gnuboat_device::webclient: true
+gnuboat_hostapd::config::mac_address: '00:0f:60:0b:18:c1'
+gnuboat_hostapd::config::country_code: 'de'
+gnuboat_canboat::service::can_interface: 'can0'
+gnuboat_canboat::service::actisense_primary: '/dev/actisense_ngt1_serial'
+gnuboat_canboat::service::actisense_serial: 'Actisense_NGT-1_2C88A'
+gnuboat_canboat::service::monitor: true
+chrony::rtcsync: true
+chrony::offline: true
+chrony::refclocks:
+  - 'SHM 0  delay 0.5 refid NMEA'
+#chrony::serve_ntp: true
Index: src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -5,12 +5,12 @@
   - docker::compose
 
-gnuboat_mapservice::containerized: true
+gnuboat_mapservice::containerized: false
 gnuboat_mapservice::database_name: 'gnuboat_mapservice'
 gnuboat_mapservice::database_user: 'gnuboat_mapservice'
-# A random password is set, if this is not set
+# A random password is used, if this is not set
 gnuboat_mapservice::database_password: 'Sr7DeuA7Db9fdve3Ywbf'
 gnuboat_mapservice::mapservice_tile_cache_dir: '/var/lib/gnuboat/tilecache'
 # Add a proxy vhost
-gnuboat_mapservice::apache_enabled: true
+gnuboat_mapservice::apache_enabled: false
 gnuboat_mapservice::apache_replace_default_host: true
 #gnuboat_mapservice::apache_vhost_name: gnuboat.example.org
Index: src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.orig
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,26 @@
+---
+classes:
+  - gnuboat_mapservice
+  - docker
+  - docker::compose
+
+gnuboat_mapservice::containerized: false
+gnuboat_mapservice::database_name: 'gnuboat_mapservice'
+gnuboat_mapservice::database_user: 'gnuboat_mapservice'
+# A random password is used, if this is not set
+gnuboat_mapservice::database_password: 'Sr7DeuA7Db9fdve3Ywbf'
+gnuboat_mapservice::mapservice_tile_cache_dir: '/var/lib/gnuboat/tilecache'
+# Add a proxy vhost
+gnuboat_mapservice::apache_enabled: false
+gnuboat_mapservice::apache_replace_default_host: true
+#gnuboat_mapservice::apache_vhost_name: gnuboat.example.org
+gnuboat_mapservice::osm_tileserver_enabled: true
+docker::version: 'latest'
+docker::ensure: 'present'
+docker::use_upstream_package_source: true
+docker::manage_package: true
+docker::compose::ensure: 'present'
+#docker::compose::version: 'latest'
+#docker::compose::compose_files:
+#  - '/var/lib/gnuboat/mapservice/gnuboat_mapservice.yaml'
+docker::stack::ensure: 'present'
Index: c/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.rej
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml.rej	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ 	(revision )
@@ -1,68 +1,0 @@
---- hieradata/gnuboat/mapservice_host.yaml	2021-01-06 20:27:59.183227337 +0100
-+++ hieradata/gnuboat/mapservice_host.yaml	2021-01-06 20:05:58.692811029 +0100
-@@ -1,48 +1,26 @@
- ---
- classes:
-   - gnuboat_mapservice
--  - apt
--  - postgresql::server
--#  - mysql::server
--#  - docker
--#  - docker::compose
-+  - docker
-+  - docker::compose
- 
--gnuboat_mapservice::containerized: false
-+gnuboat_mapservice::containerized: true
- gnuboat_mapservice::database_name: 'gnuboat_mapservice'
- gnuboat_mapservice::database_user: 'gnuboat_mapservice'
-+# A random password is set, if this is not set
- gnuboat_mapservice::database_password: 'Sr7DeuA7Db9fdve3Ywbf'
-+gnuboat_mapservice::mapservice_tile_cache_dir: '/var/lib/gnuboat/tilecache'
-+# Add a proxy vhost
- gnuboat_mapservice::apache_enabled: true
--apt::sources:
--  'gnuboat':
--    comment: 'GNUBoat repository'
--    location: 'http://ftp.engsas.de/unstable/gnuboat/'
--    release: 'bullseye'
--    repos: 'main'
--    key:
--      id: 'B5FB30C861780282'
--      server: 'pgp.mit.edu'
--    include:
--      src: true
--      deb: true
--postgresql::server::postgis::package_ensure: 'present'
--#postgresql::server::roles:
--#   '%{gnuboat_mapservice::database_user}':
--#     ensure: 'present'
--#     login: true
--postgresql::server::extension:
--  'postgis':
--    ensure: present
--    database: '%{gnuboat_mapservice::database_name}'
--postgresql::server::db:
--  '%{gnuboat_mapservice::database_name}':
--    user: '%{gnuboat_mapservice::database_user}'
--    password_hash: '%{gnuboat_mapservice::database_password}'
--#docker::version: 'latest'
--#docker::ensure: 'present'
--#docker::use_upstream_package_source: true
--#docker::manage_package: true
--#docker::compose::ensure: 'present'
--#docker::compose::version: '1.26.1'
-+gnuboat_mapservice::apache_replace_default_host: true
-+#gnuboat_mapservice::apache_vhost_name: gnuboat.example.org
-+gnuboat_mapservice::osm_tileserver_enabled: false
-+docker::version: 'latest'
-+docker::ensure: 'present'
-+docker::use_upstream_package_source: true
-+docker::manage_package: true
-+docker::compose::ensure: 'present'
-+#docker::compose::version: 'latest'
- #docker::compose::compose_files:
--#  - '/tmp/gnuboat_mapservice.yaml'
--#docker::stack::ensure: 'present'
-+#  - '/var/lib/gnuboat/mapservice/gnuboat_mapservice.yaml'
-+docker::stack::ensure: 'present'
Index: c/puppetcode/environments/gnuboat/modules/apt/LICENSE
===================================================================
--- src/puppetcode/environments/gnuboat/modules/apt/LICENSE	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ 	(revision )
@@ -1,202 +1,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
Index: c/puppetcode/environments/gnuboat/modules/chrony/LICENSE
===================================================================
--- src/puppetcode/environments/gnuboat/modules/chrony/LICENSE	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ 	(revision )
@@ -1,674 +1,0 @@
-GNU GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.  We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors.  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-  To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights.  Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received.  You must make sure that they, too, receive
-or can get the source code.  And you must show them these terms so they
-know their rights.
-
-  Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
-  For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software.  For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
-  Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so.  This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software.  The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable.  Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products.  If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
-  Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary.  To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                       TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-  No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-  When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-  4. Conveying Verbatim Copies.
-
-  You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-  You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-  5. Conveying Modified Source Versions.
-
-  You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified
-    it, and giving a relevant date.
-
-    b) The work must carry prominent notices stating that it is
-    released under this License and any conditions added under section
-    7.  This requirement modifies the requirement in section 4 to
-    "keep intact all notices".
-
-    c) You must license the entire work, as a whole, under this
-    License to anyone who comes into possession of a copy.  This
-    License will therefore apply, along with any applicable section 7
-    additional terms, to the whole of the work, and all its parts,
-    regardless of how they are packaged.  This License gives no
-    permission to license the work in any other way, but it does not
-    invalidate such permission if you have separately received it.
-
-    d) If the work has interactive user interfaces, each must display
-    Appropriate Legal Notices; however, if the Program has interactive
-    interfaces that do not display Appropriate Legal Notices, your
-    work need not make them do so.
-
-  A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-  6. Conveying Non-Source Forms.
-
-  You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by the
-    Corresponding Source fixed on a durable physical medium
-    customarily used for software interchange.
-
-    b) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by a
-    written offer, valid for at least three years and valid for as
-    long as you offer spare parts or customer support for that product
-    model, to give anyone who possesses the object code either (1) a
-    copy of the Corresponding Source for all the software in the
-    product that is covered by this License, on a durable physical
-    medium customarily used for software interchange, for a price no
-    more than your reasonable cost of physically performing this
-    conveying of source, or (2) access to copy the
-    Corresponding Source from a network server at no charge.
-
-    c) Convey individual copies of the object code with a copy of the
-    written offer to provide the Corresponding Source.  This
-    alternative is allowed only occasionally and noncommercially, and
-    only if you received the object code with such an offer, in accord
-    with subsection 6b.
-
-    d) Convey the object code by offering access from a designated
-    place (gratis or for a charge), and offer equivalent access to the
-    Corresponding Source in the same way through the same place at no
-    further charge.  You need not require recipients to copy the
-    Corresponding Source along with the object code.  If the place to
-    copy the object code is a network server, the Corresponding Source
-    may be on a different server (operated by you or a third party)
-    that supports equivalent copying facilities, provided you maintain
-    clear directions next to the object code saying where to find the
-    Corresponding Source.  Regardless of what server hosts the
-    Corresponding Source, you remain obligated to ensure that it is
-    available for as long as needed to satisfy these requirements.
-
-    e) Convey the object code using peer-to-peer transmission, provided
-    you inform other peers where the object code and Corresponding
-    Source of the work are being offered to the general public at no
-    charge under subsection 6d.
-
-  A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-  A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-  "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-  If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-  The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-  Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-  7. Additional Terms.
-
-  "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-  When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-  Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the
-    terms of sections 15 and 16 of this License; or
-
-    b) Requiring preservation of specified reasonable legal notices or
-    author attributions in that material or in the Appropriate Legal
-    Notices displayed by works containing it; or
-
-    c) Prohibiting misrepresentation of the origin of that material, or
-    requiring that modified versions of such material be marked in
-    reasonable ways as different from the original version; or
-
-    d) Limiting the use for publicity purposes of names of licensors or
-    authors of the material; or
-
-    e) Declining to grant rights under trademark law for use of some
-    trade names, trademarks, or service marks; or
-
-    f) Requiring indemnification of licensors and authors of that
-    material by anyone who conveys the material (or modified versions of
-    it) with contractual assumptions of liability to the recipient, for
-    any liability that these contractual assumptions directly impose on
-    those licensors and authors.
-
-  All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-  If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-  Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-  8. Termination.
-
-  You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-  However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-  Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-  Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-  9. Acceptance Not Required for Having Copies.
-
-  You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-  10. Automatic Licensing of Downstream Recipients.
-
-  Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-  An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-  You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-  11. Patents.
-
-  A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's "contributor version".
-
-  A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-  Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-  In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-  If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
-  If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-  A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-  Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-  12. No Surrender of Others' Freedom.
-
-  If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-  13. Use with the GNU Affero General Public License.
-
-  Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work.  The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
-  14. Revised Versions of this License.
-
-  The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-  Each version is given a distinguishing version number.  If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-  If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-  Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-  15. Disclaimer of Warranty.
-
-  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. Limitation of Liability.
-
-  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
-  17. Interpretation of Sections 15 and 16.
-
-  If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-                     END OF TERMS AND CONDITIONS
-
-            How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    {one line to give the program's name and a brief idea of what it does.}
-    Copyright (C) {year}  {name of author}
-
-    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/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-  If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
-    {project}  Copyright (C) {year}  {fullname}
-    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
-  You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
-  The GNU General Public License does not permit incorporating your program
-into proprietary programs.  If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.  But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/gnuboat_mapservice.sql.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/gnuboat_mapservice.sql.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/gnuboat_mapservice.sql.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,642 @@
+--
+-- PostgreSQL database dump
+--
+
+-- Dumped from database version 13.1 (Debian 13.1-1+b1)
+-- Dumped by pg_dump version 13.1 (Debian 13.1-1+b1)
+
+SET statement_timeout = 0;
+SET lock_timeout = 0;
+SET idle_in_transaction_session_timeout = 0;
+SET client_encoding = 'UTF8';
+SET standard_conforming_strings = on;
+SELECT pg_catalog.set_config('search_path', '', false);
+SET check_function_bodies = false;
+SET xmloption = content;
+SET client_min_messages = warning;
+SET row_security = off;
+
+--
+-- Name: postgis; Type: EXTENSION; Schema: -; Owner: -
+--
+
+CREATE EXTENSION IF NOT EXISTS postgis WITH SCHEMA public;
+
+
+--
+-- Name: EXTENSION postgis; Type: COMMENT; Schema: -; Owner: -
+--
+
+COMMENT ON EXTENSION postgis IS 'PostGIS geometry and geography spatial types and functions';
+
+
+--
+-- Name: osmtype; Type: TYPE; Schema: public; Owner: -
+--
+
+CREATE TYPE public.osmtype AS ENUM (
+    'Node',
+    'Way',
+    'Relation'
+);
+
+
+SET default_tablespace = '';
+
+SET default_table_access_method = heap;
+
+--
+-- Name: apikeys; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.apikeys (
+    id integer NOT NULL,
+    user_id integer,
+    key character varying(255) NOT NULL
+);
+
+
+--
+-- Name: apikeys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.apikeys_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: apikeys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.apikeys_id_seq OWNED BY public.apikeys.id;
+
+
+--
+-- Name: devices; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.devices (
+    id integer NOT NULL,
+    name character varying(255) NOT NULL,
+    owner_id integer,
+    sensor_depth double precision NOT NULL,
+    comment character varying(255)
+);
+
+
+--
+-- Name: devices_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.devices_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: devices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.devices_id_seq OWNED BY public.devices.id;
+
+
+--
+-- Name: gauges; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.gauges (
+    id integer NOT NULL,
+    name character varying(255) NOT NULL,
+    manager_id integer,
+    water_id integer,
+    reference_water_level_gauge_height double precision NOT NULL,
+    comment character varying(255),
+    location public.geometry(Point,4326)
+);
+
+
+--
+-- Name: gauges_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.gauges_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: gauges_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.gauges_id_seq OWNED BY public.gauges.id;
+
+
+--
+-- Name: logentries; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.logentries (
+    id integer NOT NULL,
+    log_id integer,
+    datetime timestamp without time zone NOT NULL,
+    water_depth double precision,
+    location public.geometry(Point,4326)
+);
+
+
+--
+-- Name: logentries_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.logentries_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: logentries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.logentries_id_seq OWNED BY public.logentries.id;
+
+
+--
+-- Name: logs; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.logs (
+    id integer NOT NULL,
+    submitter_id integer,
+    water_id integer,
+    device_id integer,
+    gauge_id integer,
+    gauge_height double precision NOT NULL,
+    start timestamp without time zone,
+    "end" timestamp without time zone,
+    processing_state integer,
+    comment character varying(255)
+);
+
+
+--
+-- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.logs_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.logs_id_seq OWNED BY public.logs.id;
+
+
+--
+-- Name: logview; Type: VIEW; Schema: public; Owner: -
+--
+
+CREATE VIEW public.logview AS
+SELECT
+    NULL::integer AS id,
+    NULL::integer AS submitter_id,
+    NULL::integer AS water_id,
+    NULL::integer AS device_id,
+    NULL::integer AS gauge_id,
+    NULL::double precision AS gauge_height,
+    NULL::timestamp without time zone AS start,
+    NULL::timestamp without time zone AS "end",
+    NULL::character varying(255) AS label,
+    NULL::bytea AS envelope;
+
+
+--
+-- Name: processingstatus; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.processingstatus (
+    id integer NOT NULL,
+    label character varying(255) NOT NULL
+);
+
+
+--
+-- Name: processingstatus_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.processingstatus_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: processingstatus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.processingstatus_id_seq OWNED BY public.processingstatus.id;
+
+
+--
+<<<<<<< HEAD
+=======
+-- Data for Name: processingstatus; Type: TABLE DATA; Schema: public; Owner: -
+--
+
+INSERT INTO public.processingstatus(id, label) VALUES (1, 'Undefined');
+INSERT INTO public.processingstatus(id, label) VALUES (2, 'Queued for Parsing');
+INSERT INTO public.processingstatus(id, label) VALUES (3, 'Parsing');
+INSERT INTO public.processingstatus(id, label) VALUES (4, 'Queued for Processing');
+INSERT INTO public.processingstatus(id, label) VALUES (5, 'Processing');
+INSERT INTO public.processingstatus(id, label) VALUES (6, 'Deployed');
+INSERT INTO public.processingstatus(id, label) VALUES (7, 'To Old');
+INSERT INTO public.processingstatus(id, label) VALUES (8, 'Error');
+
+
+--
+>>>>>>> master
+-- Name: queue; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.queue (
+    log_id integer NOT NULL,
+    datetime timestamp without time zone NOT NULL
+);
+
+
+--
+-- Name: users; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.users (
+    id integer NOT NULL,
+    username character varying(255) NOT NULL,
+    password character varying(50) NOT NULL,
+    salt character varying(50) NOT NULL,
+    email character varying(255) NOT NULL,
+    first_name character varying(255),
+    last_name character varying(255),
+    activated boolean,
+    activation_code character varying(255),
+    license_accepted boolean
+);
+
+
+--
+-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.users_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
+
+
+--
+-- Name: waters; Type: TABLE; Schema: public; Owner: -
+--
+
+CREATE TABLE public.waters (
+    id integer NOT NULL,
+    name character varying(255) NOT NULL,
+    manager_id integer,
+    osm_id integer,
+    osm_type public.osmtype
+);
+
+
+--
+-- Name: waters_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE public.waters_id_seq
+    AS integer
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: waters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE public.waters_id_seq OWNED BY public.waters.id;
+
+
+--
+-- Name: apikeys id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.apikeys ALTER COLUMN id SET DEFAULT nextval('public.apikeys_id_seq'::regclass);
+
+
+--
+-- Name: devices id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.devices ALTER COLUMN id SET DEFAULT nextval('public.devices_id_seq'::regclass);
+
+
+--
+-- Name: gauges id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.gauges ALTER COLUMN id SET DEFAULT nextval('public.gauges_id_seq'::regclass);
+
+
+--
+-- Name: logentries id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logentries ALTER COLUMN id SET DEFAULT nextval('public.logentries_id_seq'::regclass);
+
+
+--
+-- Name: logs id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs ALTER COLUMN id SET DEFAULT nextval('public.logs_id_seq'::regclass);
+
+
+--
+-- Name: processingstatus id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.processingstatus ALTER COLUMN id SET DEFAULT nextval('public.processingstatus_id_seq'::regclass);
+
+
+--
+-- Name: users id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);
+
+
+--
+-- Name: waters id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.waters ALTER COLUMN id SET DEFAULT nextval('public.waters_id_seq'::regclass);
+
+
+--
+-- Name: apikeys apikeys_key_key; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.apikeys
+    ADD CONSTRAINT apikeys_key_key UNIQUE (key);
+
+
+--
+-- Name: apikeys apikeys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.apikeys
+    ADD CONSTRAINT apikeys_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: devices devices_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.devices
+    ADD CONSTRAINT devices_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: gauges gauges_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.gauges
+    ADD CONSTRAINT gauges_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: logentries logentries_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logentries
+    ADD CONSTRAINT logentries_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: logs logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: processingstatus processingstatus_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.processingstatus
+    ADD CONSTRAINT processingstatus_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: queue queue_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.queue
+    ADD CONSTRAINT queue_pkey PRIMARY KEY (log_id);
+
+
+--
+-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.users
+    ADD CONSTRAINT users_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: users users_username_key; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.users
+    ADD CONSTRAINT users_username_key UNIQUE (username);
+
+
+--
+-- Name: waters waters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.waters
+    ADD CONSTRAINT waters_pkey PRIMARY KEY (id);
+
+
+--
+-- Name: idx_gauges_location; Type: INDEX; Schema: public; Owner: -
+--
+
+CREATE INDEX idx_gauges_location ON public.gauges USING gist (location);
+
+
+--
+-- Name: idx_logentries_location; Type: INDEX; Schema: public; Owner: -
+--
+
+CREATE INDEX idx_logentries_location ON public.logentries USING gist (location);
+
+
+--
+-- Name: logview _RETURN; Type: RULE; Schema: public; Owner: -
+--
+
+CREATE OR REPLACE VIEW public.logview AS
+ SELECT logs.id,
+    logs.submitter_id,
+    logs.water_id,
+    logs.device_id,
+    logs.gauge_id,
+    logs.gauge_height,
+    logs.start,
+    logs."end",
+    processingstatus.label,
+    public.st_asewkb(public.st_envelope(public.st_makeline(logentries.location))) AS envelope
+   FROM ((public.logs
+     JOIN public.logentries ON ((logs.id = logentries.log_id)))
+     JOIN public.processingstatus ON ((logs.processing_state = processingstatus.id)))
+  GROUP BY logs.id, processingstatus.label;
+
+
+--
+-- Name: apikeys apikeys_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.apikeys
+    ADD CONSTRAINT apikeys_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
+
+
+--
+-- Name: devices devices_owner_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.devices
+    ADD CONSTRAINT devices_owner_id_fkey FOREIGN KEY (owner_id) REFERENCES public.users(id);
+
+
+--
+-- Name: gauges gauges_manager_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.gauges
+    ADD CONSTRAINT gauges_manager_id_fkey FOREIGN KEY (manager_id) REFERENCES public.users(id);
+
+
+--
+-- Name: gauges gauges_water_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.gauges
+    ADD CONSTRAINT gauges_water_id_fkey FOREIGN KEY (water_id) REFERENCES public.waters(id);
+
+
+--
+-- Name: logentries logentries_log_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logentries
+    ADD CONSTRAINT logentries_log_id_fkey FOREIGN KEY (log_id) REFERENCES public.logs(id);
+
+
+--
+-- Name: logs logs_device_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_device_id_fkey FOREIGN KEY (device_id) REFERENCES public.devices(id);
+
+
+--
+-- Name: logs logs_gauge_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_gauge_id_fkey FOREIGN KEY (gauge_id) REFERENCES public.gauges(id);
+
+
+--
+-- Name: logs logs_processing_state_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_processing_state_fkey FOREIGN KEY (processing_state) REFERENCES public.processingstatus(id);
+
+
+--
+-- Name: logs logs_submitter_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_submitter_id_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id);
+
+
+--
+-- Name: logs logs_water_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.logs
+    ADD CONSTRAINT logs_water_id_fkey FOREIGN KEY (water_id) REFERENCES public.waters(id);
+
+
+--
+-- Name: queue queue_log_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.queue
+    ADD CONSTRAINT queue_log_id_fkey FOREIGN KEY (log_id) REFERENCES public.logs(id);
+
+
+--
+-- Name: waters waters_manager_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY public.waters
+    ADD CONSTRAINT waters_manager_id_fkey FOREIGN KEY (manager_id) REFERENCES public.users(id);
+
+
+--
+-- PostgreSQL database dump complete
+--
+
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_database_dockerfile.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_database_dockerfile.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_database_dockerfile.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,20 @@
+FROM postgis/postgis
+<<<<<<< HEAD
+#ARG FACTER_GNUBOAT_ROLE=GNUBOAT_MAPSERVICE_DATABASE
+#ADD puppet /etc/puppet
+#ADD database_run /usr/local/bin/
+#ADD database_setup.sql /tmp/
+#RUN chmod +x /etc/puppet/environments/gnuboat/configversion /usr/local/bin/database_run
+#RUN apt-get update && apt-get -y install puppet
+#RUN puppet apply --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/
+#RUN rm -rf /etc/puppet
+=======
+>>>>>>> master
+WORKDIR /docker-entrypoint-initdb.d
+ADD gnuboat_mapservice.sql /docker-entrypoint-initdb.d
+VOLUME /var/lib/postgresql
+EXPOSE 5432
+<<<<<<< HEAD
+#CMD ["/usr/local/bin/database_run"]
+=======
+>>>>>>> master
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_mapservice_dockerfile
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_mapservice_dockerfile	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_mapservice_dockerfile	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,14 @@
+FROM debian:bullseye
+ARG FACTER_GNUBOAT_ROLE=GNUBOAT_MAPSERVICE_MAPSERVICE
+COPY gnuboat-keyring.gpg /etc/apt/trusted.gpg.d/
+RUN echo "deb http://ftp.engsas.de/unstable/gnuboat/ bullseye main" > /etc/apt/sources.list.d/gnuboat.list
+RUN apt-get update && apt-get -y install gnuboat-puppet
+#COPY requirements.txt /
+#ADD puppet /etc/puppet
+#RUN apt-get update && apt-get -y install puppet
+#RUN puppet apply --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/
+#RUN rm -rf /etc/puppet
+#VOLUME /var/lib/mysql
+#EXPOSE 3306
+#ENTRYPOINT [""]
+#CMD ["/usr/local/bin/database_run"]
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/host_install.pp.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/host_install.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/host_install.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,242 @@
+<<<<<<< HEAD
+class gnuboat_mapservice::host_install inherits gnuboat_mapservice
+{
+	file { '/var/lib/gnuboat':
+                ensure => 'directory',
+        }
+	file { '/var/lib/gnuboat/mapservice':
+                ensure => 'directory',
+        }
+	file { '/var/lib/gnuboat/mapservice/database':
+		ensure => 'directory',
+	}
+
+	file { '/tmp/gnuboat_mapservice_database':
+		ensure => 'directory',
+	}
+
+	file { '/tmp/gnuboat_mapservice_mapservice':
+                ensure => 'directory',
+        }
+
+	file { '/tmp/gnuboat_mapservice_database/Dockerfile':
+		ensure => file,
+		path => '/tmp/gnuboat_mapservice_database/Dockerfile',
+		content => file('gnuboat_mapservice/mapservice_database_dockerfile'),
+	}
+
+	file { '/tmp/gnuboat_mapservice_database/gnuboat_mapservice.sql':
+=======
+class gnuboat_mapservice::host_install (
+	String $database_host = "gnuboat_mapservice_database",
+	String $broker_host = "gnuboat_mapservice_rabbitmq",
+	String $celery_cache_host = "gnuboat_mapservice_cache",
+	Integer $mapservice_workers = 2,
+) inherits gnuboat_mapservice
+{
+        file { extlib::dir_split($mapservice_tile_cache_dir):
+                ensure => 'directory',
+                mode => '0750',
+        }
+
+	unless File['/var/lib/gnuboat'] {
+		file { '/var/lib/gnuboat':
+		        ensure => 'directory',
+	        }
+	}
+	file { '/var/lib/gnuboat/mapservice':
+                ensure => 'directory',
+        }
+	file { '/var/lib/gnuboat/mapservice/rabbitmq':
+                ensure => 'directory',
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_database':
+		ensure => 'directory',
+	}
+
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice':
+                ensure => 'directory',
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery':
+		ensure => 'directory',
+	}
+
+	file { '/var/lib/gnuboat/mapservice/docker_rabbitmq':
+                ensure => 'directory',
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_memcached':
+                ensure => 'directory',
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_database/Dockerfile':
+		ensure => file,
+		content => file('gnuboat_mapservice/mapservice_database_dockerfile'),
+	}
+
+	file { '/var/lib/gnuboat/mapservice/docker_database/gnuboat_mapservice.sql':
+>>>>>>> master
+                ensure => file,
+                content => file('gnuboat_mapservice/gnuboat_mapservice.sql'),
+        }
+
+<<<<<<< HEAD
+	file { '/tmp/gnuboat_mapservice_mapservice/Dockerfile':
+                ensure => file,
+                path => '/tmp/gnuboat_mapservice_mapservice/Dockerfile',
+                content => file('gnuboat_mapservice/mapservice_mapservice_dockerfile'),
+        }
+
+	file { '/tmp/gnuboat_mapservice_mapservice/gnuboat-keyring.gpg':
+                ensure => file,
+                path => '/tmp/gnuboat_mapservice_mapservice/gnuboat-keyring.gpg',
+                content => file('gnuboat_mapservice/gnuboat-keyring.gpg'),
+        }
+
+#	file { '/tmp/puppet':
+#		before => File['/tmp/gnuboat_mapservice_database/Dockerfile'],
+#		path => '/tmp/gnuboat_mapservice_database/puppet',
+#		source => '/etc/puppet',
+#		recurse => true,
+#	}
+
+	file { '/tmp/gnuboat_mapservice.yaml':
+=======
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice/Dockerfile':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice_mapservice_dockerfile.epp',
+		{
+			'mapservice_workers' => $mapservice_workers,
+			'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+		}),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice/gnuboat-keyring.gpg':
+                ensure => file,
+                content => file('gnuboat_mapservice/gnuboat-keyring.gpg'),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice/mapservice.conf':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice.conf.epp',
+                {
+                        'database_name' => $database_name,
+                        'database_user' => $database_user,
+                        'database_password' => $database_password,
+			'database_host' => $database_host,
+			'broker_host' => $broker_host,
+			'celery_cache_host' => $celery_cache_host,
+                        'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+                }),
+        }
+
+        # Configure celery worker service
+        file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice-celery.conf':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice_celery.conf.epp',
+                {
+                        'mapservice_celery_nodes' => $mapservice_celery_nodes,
+                }),
+        }
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice_celery_entrypoint.sh':
+                ensure => file,
+                content => file('gnuboat_mapservice/mapservice_celery_entrypoint.sh'),
+		mode => '0755',
+        }
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/mapservice.conf':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice.conf.epp',
+                {
+                        'database_name' => $database_name,
+                        'database_user' => $database_user,
+                        'database_password' => $database_password,
+			'database_host' => $database_host,
+			'broker_host' => $broker_host,
+			'celery_cache_host' => $celery_cache_host,
+                        'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+                }),
+        }
+
+        file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/Dockerfile':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice_celery_dockerfile.epp',
+                {
+                        'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+                }),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_mapservice_celery/gnuboat-keyring.gpg':
+                ensure => file,
+                content => file('gnuboat_mapservice/gnuboat-keyring.gpg'),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_rabbitmq/Dockerfile':
+                ensure => file,
+                content => file('gnuboat_mapservice/mapservice_rabbitmq_dockerfile'),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/docker_memcached/Dockerfile':
+                ensure => file,
+                content => file('gnuboat_mapservice/mapservice_memcached_dockerfile'),
+        }
+
+	file { '/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml':
+>>>>>>> master
+                ensure => file,
+                content => epp('gnuboat_mapservice/gnuboat_mapservice.yaml.epp',
+			{
+				'database_name' => $database_name,
+				'database_user' => $database_user,
+				'database_password' => $database_password,
+<<<<<<< HEAD
+=======
+				'database_host' => $database_host,
+				'broker_host' => $broker_host,
+				'celery_cache_host' => $celery_cache_host,
+				'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+				'osm_tileserver_enabled' => $osm_tileserver_enabled,
+>>>>>>> master
+			}
+		),
+        }
+
+	docker_compose{'gnuboat_mapservice_host':
+<<<<<<< HEAD
+		require => File['/var/lib/gnuboat/mapservice/database'],
+		compose_files => ['/tmp/gnuboat_mapservice.yaml'],
+		ensure => present,
+		scale => {
+			'gnuboat_mapservice_database' => 1,
+		},
+	}
+
+#	file { '/tmp/gnuboat_mapservice_database/database_setup.sql':
+#		ensure => file,
+#		content => epp('gnuboat_mapservice/mapservice_database.sql.epp',
+#                        {
+#				'database_name' => $database_name,
+#				'database_user' => $database_user,
+#				'database_password' => $database_password,
+#                       }
+#              ),
+#	}
+
+#	file { '/tmp/gnuboat_mapservice_database/database_run':
+#		ensure => file,
+#		content => file('gnuboat_mapservice/mapservice_database_run'),
+#	}
+=======
+		compose_files => ['/var/lib/gnuboat/mapservice/gnuboat_mapservice_docker.yaml'],
+		ensure => present,
+		scale => {
+			'gnuboat_mapservice_mapservice' => 1,
+		},
+		require => [
+			File['/var/lib/gnuboat/mapservice'],
+			File['/var/lib/gnuboat/mapservice/rabbitmq'],
+		],
+	}
+>>>>>>> master
+}
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/init.pp.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/init.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/init.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,80 @@
+class gnuboat_mapservice
+(
+	Boolean $containerized = true,
+	Boolean $mapservice_host = false,
+#	String $version = 'latest',
+	String $database_name = 'gnuboat_mapservice',
+        String $database_user = 'gnuboat_mapservice',
+<<<<<<< HEAD
+        String $database_password = 'Sr7DeuA7Db9fdve3Ywbf',
+=======
+        String $database_password = extlib::random_password(42),
+	String $database_host = "localhost",
+>>>>>>> master
+	String $mapservice_version = 'latest',
+	Integer $mapservice_workers = 1,
+	Integer $mapservice_port = 8080,
+	Integer $mapservice_celery_nodes = 2,
+<<<<<<< HEAD
+	Boolean $apache_enabled = false,
+)
+{
+#	contain gnuboat_mapservice::config
+#	contain gnuboat_mapservice::service
+
+	if $gnuboat_type == "mapservice_host" {
+=======
+	String $broker_host = "localhost",
+	String $celery_cache_host = "localhost",
+	String $mapservice_tile_cache_dir = '/var/lib/gnuboat/tilescache',
+	Boolean $apache_enabled = false,
+	String $apache_vhost_name = "gnuboat_proxy",
+	String $apache_vhost_servername = "localhost",
+	String $apache_vhost_ssl_cert = '',
+	String $apache_vhost_ssl_key = '',
+	Boolean $apache_replace_default_host = false,
+	Boolean $osm_tileserver_enabled= false,
+)
+{
+	if $gnuboat_type == "mapservice_host" {
+		contain gnuboat_mapservice::apache_config
+>>>>>>> master
+		if $containerized {
+			contain gnuboat_mapservice::host_install
+			contain gnuboat_mapservice::host_service
+
+			Class['gnuboat_mapservice::host_install'] ->
+<<<<<<< HEAD
+		#	Class['gnuboat_mapservice::config']
+=======
+			Class['gnuboat_mapservice::apache_config'] ->
+>>>>>>> master
+			Class['gnuboat_mapservice::host_service']
+		}
+		else {
+			contain gnuboat_mapservice::mapservice_without_container_install
+			contain gnuboat_mapservice::mapservice_without_container_config
+			contain gnuboat_mapservice::mapservice_without_container_service
+
+			Class['gnuboat_mapservice::mapservice_without_container_install'] ->
+			Class['gnuboat_mapservice::mapservice_without_container_config'] ->
+<<<<<<< HEAD
+=======
+			Class['gnuboat_mapservice::apache_config'] ->
+>>>>>>> master
+			Class['gnuboat_mapservice::mapservice_without_container_service']
+		}
+	}
+
+	if $gnuboat_type == "mapservice_database" {
+		contain gnuboat_mapservice::database_install
+
+		Class['gnuboat_mapservice::database_install']
+	}
+
+	if $gnuboat_type == "mapservice_mapservice" {
+		contain gnuboat_mapservice::mapservice_install
+
+		Class['gnuboat_mapservice::mapservice_install']
+	}
+}
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/mapservice_without_container_config.pp.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/mapservice_without_container_config.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/mapservice_without_container_config.pp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,132 @@
+class gnuboat_mapservice::mapservice_without_container_config inherits gnuboat_mapservice
+{
+	# General stuff
+
+        # if the mapservice service is not run in a container, a user and group as well as a systemd service is created
+        user{'gnuboat':
+                ensure => 'present',
+        }
+        group{'gnuboat':
+                ensure => 'present',
+        }
+
+        file { '/var/lib/gnuboat/':
+                ensure => 'directory',
+		owner => 'gnuboat',
+		group => 'gnuboat',
+		mode => '0750',
+        }
+
+        file { '/var/log/gnuboat/':
+                ensure => 'directory',
+		owner => 'gnuboat',
+                group => 'gnuboat',
+                mode => '0750',
+        }
+
+	file { '/var/run/gnuboat/':
+                ensure => 'directory',
+		owner => 'gnuboat',
+                group => 'gnuboat',
+                mode => '0750',
+        }
+
+	file { '/etc/gnuboat':
+                ensure => 'directory',
+		owner => 'gnuboat',
+                group => 'gnuboat',
+                mode => '0750',
+        }
+
+<<<<<<< HEAD
+
+	file { '/var/lib/gnuboat/tilescache':
+                ensure => 'directory',
+                owner => 'gnuboat',
+                group => 'gnuboat',
+                mode => '0750',
+        }
+
+=======
+>>>>>>> master
+	# Configure mapservice itself
+        file { '/lib/systemd/system/gnuboat-mapservice.service':
+                ensure => file,
+                content => epp('gnuboat_mapservice/gnuboat_mapservice.service.epp',
+                {
+                        'mapservice_workers' => $mapservice_workers,
+			'mapservice_port' => $mapservice_port,
+                }),
+	}
+
+	file { '/etc/gnuboat/mapservice.conf':
+                ensure => file,
+                content => epp('gnuboat_mapservice/mapservice.conf.epp',
+                {
+			'database_name' => $database_name,
+                        'database_user' => $database_user,
+			'database_password' => $database_password,
+<<<<<<< HEAD
+=======
+			'broker_host' => $broker_host,
+			'celery_cache_host' => $celery_cache_host,
+			'mapservice_tile_cache_dir' => $mapservice_tile_cache_dir,
+>>>>>>> master
+                }),
+        }
+
+	# Configure celery worker service
+	file { '/etc/gnuboat/mapservice-celery.conf':
+                ensure => file,
+		path => '/etc/gnuboat/mapservice-celery.conf',
+                content => epp('gnuboat_mapservice/mapservice_celery.conf.epp',
+		{
+			'mapservice_celery_nodes' => $mapservice_celery_nodes,
+		}),
+        }
+
+	file { '/etc/tmpfiles.d/run-gnuboat.conf':
+                ensure => file,
+		path => '/etc/tmpfiles.d/run-gnuboat.conf',
+                content => file('gnuboat_mapservice/run_gnuboat_tmpfiles.conf'),
+        }
+
+	if(versioncmp($::celery_version, '5.0.1') < 0) {
+		$multi_enabled = false
+	}
+	else {
+		$multi_enabled = true
+	}
+	file { '/lib/systemd/system/gnuboat-mapservice-celery.service':
+                ensure => file,
+                content => epp('gnuboat_mapservice/gnuboat_mapservice_celery.service',
+		{
+			'multi_enabled' => $multi_enabled,
+		}),
+        }
+
+	# Configure celery beat service
+	file { '/lib/systemd/system/gnuboat-mapservice-celery-beat.service':
+                ensure => file,
+                content => file('gnuboat_mapservice/gnuboat_mapservice_celery_beat.service'),
+        }
+<<<<<<< HEAD
+
+	# Configure apache, if wanted
+	if($apache_enabled){
+		class {'apache':
+			default_vhost => false,
+		}
+
+		apache::vhost{'gnuboat_proxy':
+			port => '80',
+			docroot => '/var/www',
+			proxy_pass => [
+				{ path => '/', url => 'http://localhost:8080/' },
+			],
+			suphp_engine => off,
+		}
+	}
+=======
+>>>>>>> master
+}
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,93 @@
+<%- |   String $database_name,
+        String $database_user,
+<<<<<<< HEAD
+        String $database_password | -%>
+version: "3.0"
+services:
+  gnuboat_mapservice_database:
+=======
+        String $database_password,
+	String $database_host,
+	String $broker_host,
+	String $celery_cache_host,
+	String $mapservice_tile_cache_dir,
+	Boolean osm_tileserver_enabled,
+ | -%>
+version: "2.0"
+services:
+  <%= $database_host %>:
+>>>>>>> master
+    environment:
+      - POSTGRES_USER=<%= $database_name %>
+      - POSTGRES_PASSWORD=<%= $database_password %>
+      - POSTGRES_DB=<%= $database_name %>
+<<<<<<< HEAD
+    build: gnuboat_mapservice_database/
+    expose:
+      - "5432"
+    volumes:
+      - /var/lib/gnuboat/mapservice/database:/var/lib/postgresql
+  gnuboat_mapservice_mapservice:
+    build: gnuboat_mapservice_mapservice/
+    expose:
+      - "8080"
+=======
+      - PGDATA=/var/lib/postgresql/database/data
+    build: docker_database/
+    expose:
+      - "5432"
+    volumes:
+      - /var/lib/gnuboat/mapservice:/var/lib/postgresql
+      - /var/log/gnuboat:/var/log/gnuboat
+    restart: always
+  gnuboat_mapservice_mapservice:
+    build: docker_mapservice/
+    expose:
+      - "8080"
+    ports:
+      - "8080:8080"
+    volumes:
+      - /var/log/gnuboat:/var/log/gnuboat
+      - <%= $mapservice_tile_cache_dir %>:<%= $mapservice_tile_cache_dir %>
+    depends_on:
+      - <%= $database_host %>
+      - <%= $broker_host %>
+      - <%= $celery_cache_host %>
+      - gnuboat_mapservice_celery
+    restart: always
+  gnuboat_mapservice_celery:
+    build: docker_mapservice_celery/
+    volumes:
+      - <%= $mapservice_tile_cache_dir %>:<%= $mapservice_tile_cache_dir %>
+      - /var/log/gnuboat:/var/log/gnuboat
+    depends_on:
+      - <%= $database_host %>
+      - <%= $broker_host %>
+      - <%= $celery_cache_host %>
+    restart: always
+  <%= $broker_host %>:
+    build: docker_rabbitmq/
+    hostname: 'gnuboat_mapservice_rabbitmq'
+    volumes:
+      - /var/lib/gnuboat/mapservice/rabbitmq:/var/lib/rabbitmq
+    expose:
+      - "5672"
+    restart: always
+  <%= $celery_cache_host %>:
+    build: docker_memcached/
+    expose:
+      - "12211"
+    restart: always
+<% if $osm_tileserver_enabled { %>
+  gnuboat_osm:
+    enviornment:
+      - UPDATES=enabled
+    build: docker_osm/
+    volumes:
+      - /var/lib/gnuboat/osm/database:/var/lib/postgresql
+      - /var/lib/gnuboat/osm/tilecache:/var/lib/mod_tile
+      - /var/lib/gnuboat/osm/data.osm.pbf:/data.osm.pbf
+    ports:
+      - "8080:8081"
+<% } %>
+>>>>>>> master
Index: src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/mapservice.conf.epp.orig
===================================================================
--- src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/mapservice.conf.epp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
+++ src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/mapservice.conf.epp.orig	(revision 85edaaac9ce62825d43805a3006380f7e93e5624)
@@ -0,0 +1,17 @@
+<%- |   String $database_name,
+	String $database_user,
+<<<<<<< HEAD
+	String $database_password | -%>
+SQLALCHEMY_DATABASE_URI: 'postgresql://<%= $database_user %>:<%= $database_password %>@localhost/<%= $database_name %>'
+TILES_CACHE_PATH: '/var/lib/gnuboat/tilecache'
+=======
+	String $database_password,
+	String $database_host,
+	String $broker_host,
+	String $celery_cache_host,
+	String $mapservice_tile_cache_dir | -%>
+SQLALCHEMY_DATABASE_URI: 'postgresql://<%= $database_user %>:<%= $database_password %>@<%= $database_host %>/<%= $database_name %>'
+TILES_CACHE_PATH: '<%= $mapservice_tile_cache_dir %>'
+CELERY_BROKER_URL: 'pyamqp://guest:guest@<%= $broker_host %>//'
+CELERY_CACHE_BACKEND: 'memcached://<%= $celery_cache_host %>:11211'
+>>>>>>> master
Index: c/puppetcode/environments/gnuboat/modules/stdlib/LICENSE
===================================================================
--- src/puppetcode/environments/gnuboat/modules/stdlib/LICENSE	(revision d3c70bbcd90c380dcc641f96ba9dbb4a4294c685)
+++ 	(revision )
@@ -1,202 +1,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
