z0mt3c / hapi-swaggered-ui

An easy swagger-ui drop-in plugin for hapi (to be used with hapi-swaggered).
39 stars 31 forks source link

Interface overflow #45

Closed fym201 closed 7 years ago

fym201 commented 8 years ago

image

Danlock commented 8 years ago

I am also having the problem with any POST request using a schema to validate the payload.

validate: {payload: schema}

JacopoBonta commented 7 years ago

I have the same issue, any suggestions?

Danlock commented 7 years ago

I just ended up using hapi-swagger instead

z0mt3c commented 7 years ago

Sorry guys for the late response - actually its pretty easy just give your joi model a name (joi.object().meta({className:'CustomTitle'})) as described here: https://github.com/z0mt3c/hapi-swaggered#features