Paras Sharma
Paras Sharma

Reputation: 61

Can we use swagger with spring boot 1.3 and java 6?

I am writing an Api and I need to do documentation using swagger. I am using spring boot 1.3.5 because application server is old and has java 6 configured cannot upgrade to 8 as of now. Can we use springfox swagger with java 6?

Upvotes: 1

Views: 682

Answers (1)

gere
gere

Reputation: 1740

In the current version of Springfox is specified jdkVersion = 1.8, so you are out of luck. But slightly older versions like 1.0.1, should be compatible. Look at the values for sourceCompatibility and targetCompatibility

Upvotes: 2

Related Questions