Commit graph

13 commits

Author SHA1 Message Date
Sonja Happ
302b1cc470 move functions to duplicate scenarios into respective packages, resolve circular dependency problems (move permissions checking to database package), improve error handling of async DuplicateScenarioForUser function 2021-10-18 17:20:28 +02:00
59c924bcff update package name of response docs as changed upstream in swag 2021-02-05 22:44:45 +01:00
Sonja Happ
c4d7fc9488 add APIkey-based authentication to swagger documentation 2020-09-25 16:16:46 +02:00
Sonja Happ
92f22035c6 add GPL 3.0 license statement in all (not auto-generated) code files 2019-11-20 11:08:33 +01:00
Sonja Happ
a8a43f8512 Improvements for swagger API documentation
- Adds Authorization token as required header param to all endpoints (except authenticate itself)
- Documents correct data format for request bodies (relevant for updating and adding elements)
- No functional changes applied
2019-11-13 14:48:08 +01:00
2311d643c6 fix repo path 2019-11-09 11:40:56 +01:00
Sonja Happ
ddb4a9c8ca improve testing of widget package, remove some unnecessary code 2019-09-11 16:46:29 +02:00
Sonja Happ
f3a7ed0e61 **Major revision of repository structure**
- rename common package to database
- move all code not related to database to new helper package
- add more test in database package to improve code coverage
- add a new (own) package for AMQP client
2019-09-10 16:28:57 +02:00
Sonja Happ
2ffda7cad8 - revise naming of some common functions
- improve returning of error codes by using common functions
- use a separate file for authentication endpoint to improve clarity of code
2019-09-09 15:30:17 +02:00
Sonja Happ
ac9e564bc8 - deleting old obsolete test functions
- move all data and functions solely used for testing to the file test_utilities
- get rid of utilities file
2019-09-09 12:11:55 +02:00
Sonja Happ
e3651e34f0 - revise testing of widget enpoints
- add validators for widgets
- revise implementation of widget endpoints
- clean up testdata, serializers and response
- improve documentation for swaggo
2019-09-06 15:10:25 +02:00
Sonja Happ
92eb455e5a revise widget testing 2019-07-25 13:25:46 +02:00
Sonja Happ
f0be5cce00 file renaming 2019-07-18 13:25:41 +02:00
Renamed from routes/widget/widgetEndpoints.go (Browse further)