Springfox swagger ui support for java 7
I am trying to integrate springfox swagger ui into my spring MVC project.
I have already integrated swagger 2.9.2 and it was working all fine.
Now I found out that this version does not support java 7 but I need this for one legacy project.
From release notes it was clear that 2.9.0 will be last version supporting java 7.
My question is -
If I have only basic swaggerconfig, will I have to change anything if I migrate downward to 2.9.0 ?
UPDATE 1 - version 2.9.1 does not support Java 7.
and on version 2.9.0, its giving error of "Unable to infer base url".
I just changed version number from 2.9.2 to 2.9.0.
On version 2.9.2 it is working fine.
UPDATE 2 - api-docs are getting generated and accessible however swagger-ui is not able to refer base url and if we provide it the api url manually then we can see that its able to get swagger resources(Response code 200) however nothing is displayed on Swagger UI.
Please provide your inputs.
Thanks,
RS
swagger swagger-ui springfox jdk1.7
add a comment |
I am trying to integrate springfox swagger ui into my spring MVC project.
I have already integrated swagger 2.9.2 and it was working all fine.
Now I found out that this version does not support java 7 but I need this for one legacy project.
From release notes it was clear that 2.9.0 will be last version supporting java 7.
My question is -
If I have only basic swaggerconfig, will I have to change anything if I migrate downward to 2.9.0 ?
UPDATE 1 - version 2.9.1 does not support Java 7.
and on version 2.9.0, its giving error of "Unable to infer base url".
I just changed version number from 2.9.2 to 2.9.0.
On version 2.9.2 it is working fine.
UPDATE 2 - api-docs are getting generated and accessible however swagger-ui is not able to refer base url and if we provide it the api url manually then we can see that its able to get swagger resources(Response code 200) however nothing is displayed on Swagger UI.
Please provide your inputs.
Thanks,
RS
swagger swagger-ui springfox jdk1.7
add a comment |
I am trying to integrate springfox swagger ui into my spring MVC project.
I have already integrated swagger 2.9.2 and it was working all fine.
Now I found out that this version does not support java 7 but I need this for one legacy project.
From release notes it was clear that 2.9.0 will be last version supporting java 7.
My question is -
If I have only basic swaggerconfig, will I have to change anything if I migrate downward to 2.9.0 ?
UPDATE 1 - version 2.9.1 does not support Java 7.
and on version 2.9.0, its giving error of "Unable to infer base url".
I just changed version number from 2.9.2 to 2.9.0.
On version 2.9.2 it is working fine.
UPDATE 2 - api-docs are getting generated and accessible however swagger-ui is not able to refer base url and if we provide it the api url manually then we can see that its able to get swagger resources(Response code 200) however nothing is displayed on Swagger UI.
Please provide your inputs.
Thanks,
RS
swagger swagger-ui springfox jdk1.7
I am trying to integrate springfox swagger ui into my spring MVC project.
I have already integrated swagger 2.9.2 and it was working all fine.
Now I found out that this version does not support java 7 but I need this for one legacy project.
From release notes it was clear that 2.9.0 will be last version supporting java 7.
My question is -
If I have only basic swaggerconfig, will I have to change anything if I migrate downward to 2.9.0 ?
UPDATE 1 - version 2.9.1 does not support Java 7.
and on version 2.9.0, its giving error of "Unable to infer base url".
I just changed version number from 2.9.2 to 2.9.0.
On version 2.9.2 it is working fine.
UPDATE 2 - api-docs are getting generated and accessible however swagger-ui is not able to refer base url and if we provide it the api url manually then we can see that its able to get swagger resources(Response code 200) however nothing is displayed on Swagger UI.
Please provide your inputs.
Thanks,
RS
swagger swagger-ui springfox jdk1.7
swagger swagger-ui springfox jdk1.7
edited Nov 14 '18 at 9:06
RS_Mob
asked Nov 13 '18 at 6:05
RS_MobRS_Mob
8410
8410
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use "https://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc" for JAVA 7. I working fine!
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274769%2fspringfox-swagger-ui-support-for-java-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use "https://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc" for JAVA 7. I working fine!
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
add a comment |
You can use "https://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc" for JAVA 7. I working fine!
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
add a comment |
You can use "https://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc" for JAVA 7. I working fine!
You can use "https://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc" for JAVA 7. I working fine!
answered Nov 13 '18 at 6:44
VuNTVuNT
12
12
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
add a comment |
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
hey, thanks but not looking to explore any other library right now.
– RS_Mob
Nov 13 '18 at 10:32
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
it is the previous version of springfox. it support for jdk 7. You can see history the release swagger.
– VuNT
Nov 13 '18 at 14:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
Its not maintained i think, last release was on Mar, 2015. whereas springfox last java 7 release was this year only
– RS_Mob
Nov 14 '18 at 9:07
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274769%2fspringfox-swagger-ui-support-for-java-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown