Skip to content

Commit

Permalink
Update location-retrieval.yaml
Browse files Browse the repository at this point in the history
Fixing linting + adding precision as suggested by @alpaycetin74: 
`Note: if both `maxAge` and `maxSurface` requirements fail, the system can either send back one or the other error code.  `
  • Loading branch information
bigludo7 authored Oct 1, 2024
1 parent 64a09d7 commit d03aa7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/API_definitions/location-retrieval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ info:
* **Max Surface**: Maximum surface in square meters which is accepted by the client for the location retrieval.
* absence of `maxSurface` means that "any surface size" is acceptable for the client.
* absence of `maxSurface` means that "any surface size" is acceptable for the client.
* If the system is not able to provide an area with a surface acceptable with the client request, an error 422 with code LOCATION_RETRIEVAL.UNABLE_TO_FULFILL_MAX_SURFACE is sent back.
* Note: if both `maxAge` and `maxSurface` requirements fail, the system can either send back one or the other error code.

Check failure on line 51 in code/API_definitions/location-retrieval.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

51:128 [trailing-spaces] trailing spaces
# API Functionality
Expand Down

0 comments on commit d03aa7f

Please sign in to comment.