mac- / ratify

A Hapi plugin for validating the schema of path, query, request body, and response body params using JSON-schema
MIT License
71 stars 27 forks source link

Cache swagger docs #28

Closed dschenkelman closed 9 years ago

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.01%) when pulling 6b548355127327639b4c9eeb864f17747b2f87aa on dschenkelman:cacheSwaggerDocs into b224188191f80f0fc96325713329431e342965a4 on mac-:master.

mac- commented 9 years ago

Great idea! Is there a reason to make this configurable? Can we just assume that the route config is not going to change while the process is running, and we can always cache this?

dschenkelman commented 9 years ago

That's what I though, but since it wasn't being cached before I thought there was a reason for it. Will update the PR.

dschenkelman commented 9 years ago

Just updated the PR.

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.11%) when pulling 3e4563ffce8e34039219315325df3d207c3d4878 on dschenkelman:cacheSwaggerDocs into b224188191f80f0fc96325713329431e342965a4 on mac-:master.

mac- commented 9 years ago

Awesome, you rock.