Discussions
Swagger Definitions Up To Date?
over 4 years ago by Kevin Arnold
Are the swagger definitions up to date for iMIS Cloud? I'm finding quite a few places where I think they're different.
Example:
https://testapi.imis.com/swagger/Enterprise/party.json
"description": "A collection of address lines.",
"items": {
"default": "",
"type": "string"
},
"type": "array"
},```
But the actual json from the server looks like this:
```"AddressLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": [
"Address Info In Here"
]
},```
The definition looks like I should expect an array of strings under AddressLines but it's actually under $values. Looks like maybe this is an old version before you added the $type and $values fields?