mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
tweaks to docs (#200)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Instant and fast postcode lookup
|
||||
Fast UK postcode lookup
|
||||
|
||||
# Postcode Service
|
||||
|
||||
Lookup postcodes for their related country, region and additional information.
|
||||
Lookup UK postcodes for their related latitude/longitude, region, and additional information.
|
||||
|
||||
@@ -33,7 +33,7 @@ message LookupResponse {
|
||||
double longitude = 7;
|
||||
}
|
||||
|
||||
// Validate a postcode. Should return valid: true or valid: false
|
||||
// Validate a postcode.
|
||||
message ValidateRequest {
|
||||
// UK postcode e.g SW1A 2AA
|
||||
string postcode = 1;
|
||||
@@ -41,6 +41,7 @@ message ValidateRequest {
|
||||
}
|
||||
|
||||
message ValidateResponse {
|
||||
// Is the postcode valid (true) or not (false)
|
||||
bool valid = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user