-
### Runtime
nodejs
### Runtime version
20
### Module version
21.3.10
### Used with
hapi
### Any other relevant information
_No response_
### How can we help?
I need to…
-
#### Support plan
* *is this issue currently blocking your project?* (yes/no): no
* *is this issue affecting a production system?* (yes/no): no
#### Context
* *node version*: 14.16.0…
-
# Issue
## Environment
Node 14
@hapi/hapi 19.1.1
@hapi/joi 17.1.1
hapi-swagger 13.0.2
## Steps to Reproduce
```js
validate: {
payload: Joi.alternatives().conditional('$auth.credent…
-
I'm using hapi-swagger 6.1.0 and joi 9.0.0. When using Joi.lazy for response validation loading the /docs webpage fails with this message:
500 : {"statusCode":500,"error":"Internal Server Error","me…
-
Adjust config to create a body in PUT and POST like:
http://petstore.swagger.io/#!/user/updateUser
or
http://petstore.swagger.io/#!/pet/updatePet
-
# Issue
Hapi 20 uses @hapi/validate internally, and for validation options set to false, it will use this as the schema:
`Validator.object({}).allow(null)`
Of course, its internal version will …
-
**Describe the bug**
Error 500 when calling any endpoint in baseR4 and baseR5
`HAPI-2223: Timer already cancelled.; nested exception is java.lang.IllegalStateException: Timer already cancelled.`
…
-
# query url for settings.documentationPath not being injected to all swagger routes
## Environment
```bash
npx envinfo --npmPackages '*hapi*' --binaries
```
Binaries:
Node: 10.16.3 -…
-
#### Context
* *hapi-swagger version*: v9.x (latest)
* *any other relevant information*: Hapi v17.x (latest)
#### What are you trying to achieve or the steps to reproduce?
I want to support …
-
I'm using hapi-auth-jwt2 for authentication and ordinary Hapi scopes for authorization. How do I configure these when using swagger-hapi and all my route definitions are in swagger.yaml?