You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swagger has 3 advantages; firstly it has wider suppport, secondly it builds itself from code not comments and thirdly it enforces parameter checking in endpoints. There is already a drop-in plugin: https://github.com/glennjones/hapi-swagger It will simply require that the validate: { params: {} } properties on each endpoint are correctly populated.
The text was updated successfully, but these errors were encountered:
See hotosm/OpenAerialMap#86
Swagger has 3 advantages; firstly it has wider suppport, secondly it builds itself from code not comments and thirdly it enforces parameter checking in endpoints. There is already a drop-in plugin: https://github.com/glennjones/hapi-swagger It will simply require that the
validate: { params: {} }
properties on each endpoint are correctly populated.The text was updated successfully, but these errors were encountered: