Skip to content

Special administrative regions does not have Capital #111

@ismaelgobernado

Description

@ismaelgobernado

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions