Question: I'm trying to parse an OPEN API URL this is the following code for it

```
OpenAPI openAPI = new OpenAPIV3Parser().read("https://petstore3.swagger.io/api/v3/openapi.json");

```

which is giving me the following exception

```
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonFactoryBuilder

```

The library which i'm using is

```
<dependency>
<groupId>io.swagger.parser.v3</groupId>
<artifactId>swagger-parser-v3</artifactId>
<version>2.0.19</version>

```

Is there any other library which i can use for parsing OPEN API 3.0?

Answer: 
You are creating a debounced instance on every event call. Try creating one instance of debounced function and use it in your handler. Something like this:

```
const handleOnChange = _.debounce(change => {
  console.log(change);
}, 1000);

export default function App() {
  return (
    <div className="App">
      <input onChange={event => handleOnChange(event.target.value)} />
    </div>
  );
}

```
The issue is that you are passing the **result** of the handleOnChange() function to debounce, rather than a reference to the function.

Try something more like this:

```
<TextField
  onChange={
    event =>
      _.debounce(() => handleOnChange(
          event.target.value,
          firstValue,
          secondValue,                            
        ), 2000)
/>

```