-
Hi!
I noticed that tagging the routes does not help sorting them in the UI.
When I describe a swagger spec by hand and I tag them it allow me to group the routes by hand through the tags.
-
Here is my config:
```
server.route({
method: 'POST',
path: '/brands/upload/logo',
config: {
tags: ['api', 'brands'],
description: 'Uploads a logo for a brand',
notes: 'Returns url …
-
After installing Hapi@11, then i tried installing hapi-swagger got the below error,
``` js
$ npm i hapi-swagger --save …
-
Does hapi swagger ui form field can be used to create an embedded address field in user table.
I am accepting swagger ui something like below defined
Name: text field
Age: text field
Addre…
-
My understanding that the API and the scope for Joi is pretty tightly controlled. But here are some addition items I'm interested in.
Has anyone written additional helpers or libraries for querying o…
ghost updated
8 years ago
-
The following NodeJS Hapi code generate an error when querying at http://localhost:3000/documentation
If I change the path of the endpoint to something else than /models, like /users for instance, ev…
-
Right now hapi-swaggered requires a < 11.0 hapi dependency, which means we cannot run it with 11.0 (but it most likely will work). I get why you put it in there, but I think for convenience' sake it w…
-
Hi, all my routes (except login) needs authentication header, so I set default headers, but I'd like to have public api documentation, but I don't know how to override authentication headers dor hapi-…
-
If the server has multiple connections when I open `/documentation` I got:
`TypeError: Uncaught error: Cannot read property 'protocol' of null`
`at handler (/src/node_modules/hapi-swagger/lib/index.js…
-
Hello,
For some reason, I cannot get the validateFunc to run.
This is my code:
This is my api.js file (plugin)
```
import routes from './routes';
const validate = ( decoded, request, callback ) =…