Comments (8)
not the OP, but
In which cases the entire classpath should be scanned ?
none, not ever, bad idea, ask the developer to provide a package name from which to start scanning so you don't end up scanning every library ever, Possibly have an annotation (like spring boot does) to say where classpath scanning should start. Also possibly make it possible not to scan, instead simply provide a list of classes.
from mbknor-jackson-jsonschema.
Any feedback on #75 would be apreciated
from mbknor-jackson-jsonschema.
Hi,
This problem is caused by this line:
It scans the entire classpath. An improvement would be to make this configruable.
A PR fixing this would be great 😀
from mbknor-jackson-jsonschema.
Thanks for your answer.
Could you please give some details about this making configurable.
In which cases the entire classpath should be scanned ?
Should i filter the scan root or disable scan according to config?
İf we disable this which features won't work?
from mbknor-jackson-jsonschema.
Yeah, this issue makes the library almost unusable for large projects, not only slowing things down to a crawl, but causing OOM failures.
from mbknor-jackson-jsonschema.
I'm Not currently using this library on a daily basis anymore, but i'll try to get time to fix this
from mbknor-jackson-jsonschema.
Fixed in 5391586
from mbknor-jackson-jsonschema.
Fixed in version to 1.0.30
from mbknor-jackson-jsonschema.
Related Issues (20)
- Any way to ignore @Deprecated fields when generating schema?
- @JsonProperty(defaultValue="...") does not allow float/double values HOT 1
- Support generating multiple files instead of nesting in definitions
- Rewrite in Java, drop Scala dependencies HOT 2
- anyOf not working with array and nullableJsonSchemaDraft4
- CVE dependancies security breaches (Kotlin, jackson databind)
- Support for generating a file per class
- Proper handling of Polymorphic types when JsonTypeInfo.Id is DEDUCTION
- Support for restrictions in local definitions instead of in-lined HOT 1
- JaxbAnnotationModule and PropertyNamingStrategy conflicts HOT 1
- Generation throws java.lang.NoClassDefFoundError: javax/validation/constraints/NotBlank HOT 1
- How to document type properties used for polymorphism?
- A way to use jakarta.validation instead of javax.validation
- Security Vulnerability: Latest 1.0.39 release depends on version of Scala with known vulernability HOT 1
- Security Vulnerability: Latest 1.0.39 release depends on version of Jackson with known vulnerabilites
- Security Vulnerability: Latest 1.0.39 release depends on version of Kotlin with known vulnerabilities
- Question: Custom Type Mapping with Java
- Calling `JsonSchemaConfig.builder()` scans the entire classpath
- support Scala 3
- Schema generation for JsonSchemaExamples on double valued field throws an exception 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 mbknor-jackson-jsonschema.