File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app71 Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public final class Constants {
14
14
public static final String SPRINGDOC_SWAGGER_UI_ENABLED = "springdoc.swagger-ui.enabled" ;
15
15
public static final String SPRINGDOC_SHOW_ACTUATOR = "springdoc.show-actuator" ;
16
16
public static final String SPRINGDOC_SHOW_ACTUATOR_VALUE = "${" + SPRINGDOC_SHOW_ACTUATOR + ":false}" ;
17
- public static final String SPRINGDOC_PROTOCOL_RELATIVE_BASEURL = "springdoc.protocol-relativ -baseurl" ;
17
+ public static final String SPRINGDOC_PROTOCOL_RELATIVE_BASEURL = "springdoc.protocol-relative -baseurl" ;
18
18
public static final String SPRINGDOC_PROTOCOL_RELATIVE_BASEURL_VALUE = "${" + SPRINGDOC_PROTOCOL_RELATIVE_BASEURL + ":false}" ;
19
19
public static final String SPRINGDOC_PACKAGES_TO_SCAN = "${springdoc.packagesToScan:#{null}}" ;
20
20
public static final String SPRINGDOC_PATHS_TO_MATCH = "${springdoc.pathsToMatch:#{null}}" ;
Original file line number Diff line number Diff line change 14
14
public class SpringDocConfigProperties {
15
15
16
16
private Boolean showActuator = false ;
17
+ private Boolean protocolRelativeBaseurl = false ;
17
18
private Webjars webjars = new Webjars ();
18
19
private ApiDocs apiDocs = new ApiDocs ();
19
20
private List <String > packagesToScan ;
@@ -35,6 +36,14 @@ public void setShowActuator(Boolean showActuator) {
35
36
this .showActuator = showActuator ;
36
37
}
37
38
39
+ public Boolean getProtocolRelativeBaseurl () {
40
+ return protocolRelativeBaseurl ;
41
+ }
42
+
43
+ public void setProtocolRelativeBaseurl (Boolean protocolRelativeBaseurl ) {
44
+ this .protocolRelativeBaseurl = protocolRelativeBaseurl ;
45
+ }
46
+
38
47
public Webjars getWebjars () {
39
48
return webjars ;
40
49
}
Original file line number Diff line number Diff line change 3
3
import org .springframework .test .context .TestPropertySource ;
4
4
import test .org .springdoc .api .AbstractSpringDocTest ;
5
5
6
- @ TestPropertySource (properties = "springdoc.protocol-relativ -baseurl=true" )
6
+ @ TestPropertySource (properties = "springdoc.protocol-relative -baseurl=true" )
7
7
public class SpringDocApp71Test extends AbstractSpringDocTest {
8
8
}
You can’t perform that action at this time.
0 commit comments