OpenBanking-Brasil/areadesenvolvedor

These specs are 'Out of this world'. Litterally. Customer API Lat Long Example Incorrect.

Opened this issue · 1 comments

The example latitude and long are outside of the valid ranges.
Given that these are numbers they should be any valid number to 11 decimals between -90 and +90 or -180 and + 180
https://openbanking-brasil.github.io/areadesenvolvedor/swagger/swagger_customers_apis.yaml

GeographicCoordinates:
type: object
description: 'Conjunto de informações, que correspondem aos valores das coordenadas geográficas em graus decimais, no Sistema de referência WGS84'
properties:
latitude:
description: |
Informação da Latitude referente a geolocalização informada. Entre -90 e 90.p.ex. '-90.8365180'. (2 casas antes da vírgula, 11 posições)
type: string
pattern: '^-?\d{1,2}.\d{1,9}$'
maxLength: 13
example: '-90.8365180'
longitude:
description: |
Informação da Longitude referente a geolocalização informada. Entre -180 e 180. p.ex '-180.836519.' (3 casas antes da vírgula, 11 posições)
type: string
pattern: '^-?\d{1,3}.\d{1,8}$'
maxLength: 13
example: '-180.836519'

Thanks for notifying.

We have listed this bug on the known errors for Phase 2.

We still need to check when the fix will be released.