Update openapi.py with live links to WoT documentation

This commit is contained in:
Joe Knapper 2023-03-21 15:05:21 +00:00 committed by Richard Bowman
parent 8e50a90fb2
commit f6691cbc11

View file

@ -8,8 +8,8 @@ API_TAGS = [
"embedded in the JSON action description." "embedded in the JSON action description."
), ),
"externalDocs": { "externalDocs": {
"url": "https://iot.mozilla.org/wot/#action-resource", "url": "https://www.w3.org/TR/wot-thing-description/#actionaffordance",
"description": "Mozilla's description of Web of Things 'Action' resources.", "description": "w3's description of Web of Things 'Action' resources.",
}, },
}, },
{ {
@ -19,8 +19,8 @@ API_TAGS = [
"state of the microscope." "state of the microscope."
), ),
"externalDocs": { "externalDocs": {
"url": "https://iot.mozilla.org/wot/#property-resource", "url": "https://www.w3.org/TR/wot-thing-description/#propertyaffordance",
"description": "Mozilla's description of Web of Things 'Property' resources.", "description": "w3's description of Web of Things 'Property' resources.",
}, },
}, },
{"name": "captures", "description": ""}, {"name": "captures", "description": ""},