spring boot - Using profiling with swagger UI -
i have implemented swagger ui spring boot application , applied profiling in it.
i able access endpoints local when try access same application using qa url, redirects localhost , there no response server.
the request url formed points localhost url rather qa url.
here swagger configuration:
@bean public docket api(){ return new docket(documentationtype.swagger_2) .select() .apis(requesthandlerselectors.any()) .build() .apiinfo(apiinfo()); } private apiinfo apiinfo() { apiinfo apiinfo = new apiinfo( title, description, version, contact, createdby, apilicenseurlname, licenseurl ); return apiinfo; }
Comments
Post a Comment