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

Use Swagger instead of Apidocs #111

Closed
tombh opened this issue Oct 2, 2017 · 1 comment
Closed

Use Swagger instead of Apidocs #111

tombh opened this issue Oct 2, 2017 · 1 comment
Labels
v1 fix Fixes and enhancements to the current version

Comments

@tombh
Copy link
Contributor

tombh commented Oct 2, 2017

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.

@cgiovando cgiovando added the v1 fix Fixes and enhancements to the current version label Apr 26, 2021
@cgiovando
Copy link

Tracking in #154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 fix Fixes and enhancements to the current version
Projects
None yet
Development

No branches or pull requests

2 participants