Comments (4)
No worries, was happy to help) And I am glad that somebody uses the library)
from json-schema-validator.
Hi, @P72B. Thank you for reporting this issue.
Could you share a minimum project so I can reproduce the issue locally?
And what does req.body
return in JS? Are you sure it returns JsonElement
? I have not worked with JS for a long time, probably, you need first to deserialize the request payload using kotlin-serialization library in JS and only then pass it to the validation function
from json-schema-validator.
Hi @OptimumCode thank you for that incredible fast answer. You where right it's on the JS side. I had to JSON.stringify(reg.body)
of course. I was so sure it's a valid JsonElement ^^. So there is no bug. It's just me beeing blind.
I appreciate your work on this great lib. Thank you.
from json-schema-validator.
Invalid bug report
from json-schema-validator.
Related Issues (20)
- Bug: implementation doesnโt pass new dynamicRef test suites
- Bug: id with absolute uri-reference results in incorrect reference resolution
- Enhancement: JsonPointer performance improvements
- Enhancement: support draft 6
- Enhancement: implement output formats described in JSON schema draft 2020-12
- Enhancement: add Uri to API for JsonSchemaLoader
- Enhancement: add fail-fast functionality for Flag output
- Enhancement: support for draft 4
- Update workflows
- Support vocabulary customization through custom meta schema
- Too much validation errors HOT 3
- Correct circled references detection logic
- Add format keyword support
- Enhancement: support for dev containers
- Bug: multipleOf round error HOT 4
- Validation issue HOT 3
- Enhancement: Support $defs subschemas in Json HOT 3
- Bug: uri-reference in root `$id` results in incorrect reference resolution HOT 6
- Enhancement: Optimize generated classes with character data HOT 1
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 json-schema-validator.