Microprofile ExampleObject externalvalue – Quarkus

The annotation ExampleObject is used to illustrate a particular Content for Request and Response. The documentation states that we can use a URL externalValue for referencing an external JSON file.The json files were located under src\main\resources\META-INF\resources @GET @Path(“/user”) @Produces(MediaType.TEXT_PLAIN) @APIResponses( value = { @APIResponse(responseCode = “200”, content = @Content( mediaType = “*/*”, examples = {ContinueContinue reading “Microprofile ExampleObject externalvalue – Quarkus”