-
Use something like http://swagger.io/ to create nice API documentation.
-
I have a validation scheme
```
{
playerIds: Joi.array().items(Joi.string().guid()).required()
}
```
and say i send a bad message of `{"playerIds": ["string"]}`
That works great for POST/PUT payl…
-
I am trying out swaggered with swaggered UI. And I have a nested array because I want to input Geo JSON data into a Geo Shape in Elasticsearch. See configuration http://pastebin.com/NfDJaUUu.
The cod…
-
Useful, otherwise it shows "error" suggesting there's a mistake in the generated API docs.
-
Hi
I look after the https://github.com/glennjones/hapi-swagger plug-in. One of the most common issues hit by devs building APIs with hapi.js is that they use differing parameters/response model whic…
-
Hey,
After updating, my endpoints are no longer grouped... They all appear under 'api' tag, instead of being grouped by the first part of the endpoint url, e.g. "auth", "users", "pets".
Any ideas?
-
So I have a route like: `https://theapi.dev:9001/?q=search+term`
This alone seems to break the swagger interface with the following error:
`Unable to read api '' from path https://theapi.dev:9001/do…
Couto updated
9 years ago
-
We have issues due to `request.server.info.uri` ( https://github.com/glennjones/hapi-swagger/commit/39b7173d802ff954d29e39d57f246e7d93f82c12#diff-6d186b954a58d5bb740f73d84fe39073L135 )
(In our case) …
-
I have this simple route
``` javascript
server.route({
"method": "GET",
"path": "/",
"handler": function(request, reply) { reply {"docs": "/documentation"}},
"config": {
"tags…
-
According to https://github.com/swagger-api/swagger-ui