We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Configuring the @ExampleObject with examples specifying the externalValue="http://localhost:8090/context/examples/test.json" not showing in swagger-ui.
RestController
@GetMapping("/testopenapi") @Operation(summary = "Get thing", responses = { @ApiResponse(description = "Successful Operation", responseCode = "200", content = @Content(examples = @ExampleObject(name = "readJson", externalValue = "http://localhost:8090/context/examples/test.json", summary = "Request"))) }) public @ResponseBody ResponseEntity<String> testopenapi() { return new ResponseEntity<String>("Hello welcome! This is testopenapi controller.", HttpStatus.OK); }
Issue screenshot
I tried multiple options specified in forum but noting helped much. But if i change it to value and provide the json as string it works fine.
The text was updated successfully, but these errors were encountered:
@ShambuGIT,
Do not create duplicates. This is already answered here #17
Sorry, something went wrong.
No branches or pull requests
Issue
Configuring the @ExampleObject with examples specifying the externalValue="http://localhost:8090/context/examples/test.json" not showing in swagger-ui.
RestController
Issue screenshot
![image](https://user-images.githubusercontent.com/5293623/148689458-c24849c2-6c3b-4335-bda9-672076de5929.png)
I tried multiple options specified in forum but noting helped much. But if i change it to value and provide the json as string it works fine.
The text was updated successfully, but these errors were encountered: