Special administrative regions does not have Capital
Opened this issue · 0 comments
ismaelgobernado commented
Macao does not have capital , (is a special administrative region of China)
https://restcountries.com/v2/name/China
https://restcountries.com/v2/name/Macao
or any Independent region
https://restcountries.com/v3.1/independent?status=true
produces a
keyNotFound(CodingKeys(stringValue: "capital", intValue: nil), Swift.DecodingError.Context(codingPath: [_CodingKey(stringValue: "Index 1", intValue: 1)], debugDescription: "No value associated with key CodingKeys(stringValue: \"capital\", intValue: nil) (\"capital\").", underlyingError: nil))