diff options
Diffstat (limited to 'utils/test/result_collection_api/resources/handlers.py')
-rw-r--r-- | utils/test/result_collection_api/resources/handlers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/test/result_collection_api/resources/handlers.py b/utils/test/result_collection_api/resources/handlers.py index a2c6b8d01..0977ef07e 100644 --- a/utils/test/result_collection_api/resources/handlers.py +++ b/utils/test/result_collection_api/resources/handlers.py @@ -223,7 +223,8 @@ class VersionHandler(GenericApiHandler): @swagger.operation(nickname='list') def get(self): """ - @description: Display a message for the API version + @description: list all supported versions @rtype: L{Versions} """ - self.finish_request([{'v1': 'basics'}]) + versions = [{'version': 'v1.0', 'description': 'basics'}] + self.finish_request({'versions': versions}) |