danielgolub / danielgolub/openapi-middleware
bug: add support for byte/binary validation
Open
bug
good first issue
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
missing byte / binary validator
https://github.com/danielgolub/openapi-middleware/blob/a94833053a765a339bc4ec822c81a016579d46be/lib/ParameterValidator.js#L121
**To Reproduce**
OpenAPI definition:
```yaml
type: string
format: byte/binary
```
**Expected behavior**
Validate the input to be binary / byte
**Desktop (please complete the following information):**
- OS: MacBook Pro
- Node Version: 14.x, 16.x, 18.x
**Additional context**
-
Contributor guide
Assessment
This issue has not been assessed yet.