-
Ok, I get that custom views allow you serve a custom page that embeds the UI and that if you disable enableDocumentation and create the custom view handlers, and thus and such you can get a custom vie…
-
I have multiple objects and regarding each type of user, a schema will be validated:
```
var shopValidation = {...};
var consumerValidation = {...};
var sellerValidation = {...};
var schema = Joi.ob…
-
Hi,
i cloned the project, executed "npm run setup":
```
> typescript-node@1.0.0 setup /Users/arthur/Development/arthel/nodejs/cheerio/lazygold/backend/lazygold-price_typescript
> npm install & typin…
-
I am attempting to integrate a raml generator (to output api documentation to our enterprise api manager) into a hapi-swagger project. Is it possible to consume the json generated by the `/docs` endpo…
-
1. When is execute test to check weather using portal http://192.168.1.92:3000/docs we get right output but when executed using curl it as follows -
parag@parag1:~/dev/test$ curl -i -F file=@test2…
-
```
swaggerize-hapi klik npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for …
idkjs updated
8 years ago
-
Hi,
I was wondering if it would be possible to add multiple descriptions to a single HTTP Status Code. I tried looking through the API, but it was a bit vague.
A rough idea of what I am trying to ac…
-
Hi. I have many different files for API definitions that sets many paths in my swagger project.
I want to load them in isolated plugins. I don't know how to do that correctly, actually I'm using a wr…
-
Hi there,
Here is the route configuration I use in ordre to upload files:
``` javascript
plugins: {
'hapi-swagger': {
payloadType: 'form'
}
},
tags: ['api'],
validate: {
payload:…
-
I'm running a server like:
``` javascript
// https://github.com/opentrials/api/blob/master/server.js
const config = require('./config');
const SwaggerHapi = require('swagger-hapi');
const Hapi = requ…