From f6691cbc11acff04a76ce8c32f947e7ab9c0a75c Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Tue, 21 Mar 2023 15:05:21 +0000 Subject: [PATCH] Update openapi.py with live links to WoT documentation --- openflexure_microscope/api/openapi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openflexure_microscope/api/openapi.py b/openflexure_microscope/api/openapi.py index f0605954..77677740 100644 --- a/openflexure_microscope/api/openapi.py +++ b/openflexure_microscope/api/openapi.py @@ -8,8 +8,8 @@ API_TAGS = [ "embedded in the JSON action description." ), "externalDocs": { - "url": "https://iot.mozilla.org/wot/#action-resource", - "description": "Mozilla's description of Web of Things 'Action' resources.", + "url": "https://www.w3.org/TR/wot-thing-description/#actionaffordance", + "description": "w3's description of Web of Things 'Action' resources.", }, }, { @@ -19,8 +19,8 @@ API_TAGS = [ "state of the microscope." ), "externalDocs": { - "url": "https://iot.mozilla.org/wot/#property-resource", - "description": "Mozilla's description of Web of Things 'Property' resources.", + "url": "https://www.w3.org/TR/wot-thing-description/#propertyaffordance", + "description": "w3's description of Web of Things 'Property' resources.", }, }, {"name": "captures", "description": ""},