public SpecVersion getSpecVersion() {
		if (apiDocs.getVersion() == OpenApiVersion.OPENAPI_3_1)
			return SpecVersion.V31;
		return SpecVersion.V30;
	}
Gets spec version.

@return the spec version
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SpringDocConfigProperties.java