RESTful EWS Gateway documentation and Swagger AlarmEvents model State definition incorrect
SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
The RESTful EWS Gateway documentation also describes the State enum:
The State query parameter is a string (enum), as expected. However, the State value returned in the response body is actually a number (integer representation of the alarm state):
0 = Normal
1 = Active
2 = Acknowledged
3 = Reset
4 = Disabled
Which is not an enum or a string as described in the Swagger definitions.
We have a client who is using the Swagger document to generate the models for their API client. Can the Swagger definitions be updated to match the API?