SmartAPI status check does requires servers and paths fields, in addition to the example values for the required parameter(s):
|
try: |
|
self.api_server = api_doc['servers'][0]['url'] |
|
except KeyError: |
|
self.api_server = None |
|
self.api_status = 'incompatible' |
|
if 'paths' not in api_doc: |
|
self.api_status = 'incompatible' |
Let's state these requirements cleanly in the faq item and update the wording in the status popup dialog.
SmartAPI status check does requires
serversandpathsfields, in addition to the example values for the required parameter(s):smartAPI/src/utils/monitor.py
Lines 58 to 64 in 90f4510
Let's state these requirements cleanly in the faq item and update the wording in the status popup dialog.