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."
),
"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": ""},