Forum Discussion

iarviv's avatar
iarviv
Visitor
3 years ago

Swagger v3 exampleObject ref not working

Hi , i'm trying to include an example to an endpoint and i'm using SpringBoot 2 (JAVA) .

When i put a reference like 

examples = @ExampleObject(name ="jjj" , ref = "#/components/examples/Http500Example")

I only see this in the example window -> "#/components/examples/Http500Example"  , I don't see the parameters in the Object.

Is there a working Java example that I can reference  ?.

Thanks

No RepliesBe the first to reply