@Pac4JProfile Optional<CommonProfile> or@Pac4JProfileManager ProfileManager<CommonProfile>For example:
@GET
@Path("/login/google/info")
@Pac4JSecurity(clients = "Google2Client", authorizers = "isAuthenticated")
@Produces(MediaType.APPLICATION_JSON)
@ApiOperation(value="TEMPORARY for INFORMATION. Google authorization info.", response=CommonProfile.class)
@ApiResponses(value = { @ApiResponse(code=401, message="Authenticate first!"), @ApiResponse(code=500, message="Internal Server Error")})
public Response getLoginGoogleInfo(@PathParam("locale") String locale,
@Pac4JProfile CommonProfile profile) {
| TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. And I can't see the request response. Is it possible to avoid this Error in Swagger? I use swagger-ui-master.3.18.2 I have in pom.xml: <properties> <io.swagger.core.v3.version>2.0.4</io.swagger.core.v3.version> </properties> |