I am having a problem using springfox-swagger2 v2.2.0 related to port 80 filling out a request for an HTTP url.
In any case, disable port generation or set port to 443 programmatically based on Spring Profile?
Generated CURL:
curl -X GET --header "Accept: application / json" " https://test.com:80/api/users/search "
. , Swagger Spring Framework, 80 json (v2/api-docs) (Check Swagger2Controller.class). Spring 4.1.4.Release. 4.3.2. .
, spring @Akshay (, Swagger2Controller.class), application-dev.yml( ).
springfox.documentation.swagger.v2.host: hostName: 443
Source: https://habr.com/ru/post/1611546/More articles:Use the case of a modifiable string literal - c ++Как удалить файл из git repo на локальном и удаленном - gitWhy do both function calls return the same value? - javascriptОчистить одно сообщение toastr - angularjsIs it possible to redirect HTTP images used in email clients? - email-clientUse a constant in a storyboard? - iosDifference between loading a multi-page form and NSURLSession.uploadTaskWithRequest - iosCan I use the OpenStack.NET SDK with SoftLayer object storage? - openstack-swiftHow to write a virtual function in the inner class of a template class? - c ++freeing the same pointer twice without throwing an error if I make a NULL pointer - c ++All Articles