{{ message }}
Refina busca de geolocalização do CEP v2 com fallback por CEP#804
Open
GabrielDLSantana wants to merge 1 commit intoBrasilAPI:mainfrom
Open
Refina busca de geolocalização do CEP v2 com fallback por CEP#804GabrielDLSantana wants to merge 1 commit intoBrasilAPI:mainfrom
GabrielDLSantana wants to merge 1 commit intoBrasilAPI:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




📋 Descrição
Melhora a estratégia de geolocalização do endpoint
/api/cep/v2/{cep}sem alterar o contrato da API.Hoje a busca de coordenadas no Nominatim/OpenStreetMap fazia apenas uma tentativa com
state,citye, quando disponível,street. Nesta mudança:postalcodequando o CEP está disponívelstreet, mantendocity,stateepostalcodeCEP V2foi atualizada para refletir que o CEP também é usado para refinar a buscaObservação:
Esse é o primeiro PR que faço em projetos open source, já trabalho com desenvolvimento há alguns anos mas minha empresa não segue um fluxo tão natural seguido na maioria, então se cometer erros ou ter pulado etapas, agradeço pela orientação para eu aprender.
🎯 Tipo de Mudança
📚 Checklist de Documentação
/pages/docs/doc/🧪 Checklist de Testes
npm test)💻 Checklist de Código
npm run fixantes de commitar🚀 Checklist de Performance e Custos
🔍 Como Testar
GET /api/cep/v2/05010000GET /api/cep/v2/06655770GET /api/cep/v2/06655780locationcontinua presente📸 Screenshots (se aplicável)
📎 Issues Relacionadas
Refs #784
Refs #741
📝 Notas Adicionais
Pontos de Atenção Críticos:
Lembre-se: BrasilAPI serve milhares de desenvolvedores e empresas importantes. Mudanças devem ser cuidadosamente avaliadas para garantir confiabilidade e zero downtime.