Comments (4)
Can you explain why you think this is a Redocly issue? I don't see Redocly used in the Joi package.
When I try to reproduce it:
this is giving me the correct validation
openapi: 3.0.3
info:
title: blah
version: 1.0.0
servers:
- url: www.redocly.com
paths:
/v1/thing:
get:
summary: a summary
description: a description
responses:
"200":
description: OK
content:
application/json:
schema:
type: number
minimum: 0
exclusiveMinimum: true
This throws for
Expected type `boolean` but got `integer`.
openapi: 3.0.3
info:
title: blah
version: 1.0.0
servers:
- url: www.redocly.com
paths:
/v1/thing:
get:
summary: a summary
description: a description
responses:
"200":
description: OK
content:
application/json:
schema:
type: number
exclusiveMinimum: 0
redocly 1.5.0
from redoc.
Thank you for the apt response.
(The issue I tried to report has nothing to do with Joi, or any other library. That was just a side note and cross-reference.)
You're tests are undoubtedly correct, and seem to negate my report.
I reported what I encountered, and this shows that I probably missed the boat. I'll try to find the time to dig a little deeper, and report back.
from redoc.
Try updating your redocly package.
npm install --global @redocly/cli@latest
Happy to help if you still encounter the same issue.
from redoc.
It doesn't look like there's anything more for us to do here, so I'll close the issue for now - but do let us know if you need anything else.
from redoc.
Related Issues (20)
- Using custom font with the 'redocly build-docs' cli command documentation is missing HOT 4
- OneOf property is failing during OAS Schema Validation HOT 1
- Hide code samples panel HOT 1
- `Try it` console and `generateCodeSamples` with `RedocStandalone`? HOT 1
- Problems loading an schema with Redoc, performance issue? HOT 13
- Add A Expand All/Collapse All Button For Content Column
- Possiblily to display String as JSON in the Response samples block HOT 2
- How to style h5?
- Security Vulnerabilities in redoc-cli Dependencies HOT 1
- Update sample to use Museum API
- Build-docs fails with heap allocation failure. HOT 8
- Document standalone objects (without an operation/path/webhook) HOT 2
- DownloadDefinitionUrl for multiple OpenAPI specs HOT 2
- Schemas based on ref get incorrectly replace at bundle time HOT 4
- Fixing Vulnerability CVE-2023-43787 HOT 3
- Feature Request and Implementation for Multi-Level Tag Grouping HOT 3
- High-severity Vulnerability in browserify-sign - redoc-cli Version 0.13.21 HOT 1
- Reports unsupported specification when supplying it directly
- Decorators not running with build-docs but do in docs-preview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redoc.