Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padrão de roteamento #19

Closed
evandresilva opened this issue Mar 17, 2021 · 3 comments
Closed

Padrão de roteamento #19

evandresilva opened this issue Mar 17, 2021 · 3 comments

Comments

@evandresilva
Copy link

Saudações,
Ainda sobre práticas de routing a API devia ter um standard, ou seja se os endpoints estão uns em inglês e outros em português.

Ex.: https://angolaapi.herokuapp.com/api/v1/geography/county?provincia=Malanje

Correcto : https://angolaapi.herokuapp.com/api/v1/geography/county?province=Malanje

@gentildpinto
Copy link

E também é uma boa prática manter o substantivo/recurso no plural.

Ex: /counties ao invés de /county

@evandresilva
Copy link
Author

Exato

@Paulo-Lopes-Estevao
Copy link
Contributor

Paulo-Lopes-Estevao commented Oct 29, 2023

Essa ISSUE foi dada continuidade #55

Tambem relevante o comentário de Gentil #19 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants