|
@@ -46,11 +46,11 @@ public class SwaggerConfig {
|
|
|
.packagesToScan("com.dji").build();
|
|
.packagesToScan("com.dji").build();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Bean
|
|
|
|
|
- public SpringDocConfigProperties springDocConfigProperties(SpringDocConfigProperties properties) {
|
|
|
|
|
- properties.setDefaultFlatParamObject(false);
|
|
|
|
|
- properties.setDefaultSupportFormData(true);
|
|
|
|
|
- properties.setDefaultProducesMediaType("application/json");
|
|
|
|
|
- return properties;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// @Bean
|
|
|
|
|
+// public SpringDocConfigProperties springDocConfigProperties(SpringDocConfigProperties properties) {
|
|
|
|
|
+// properties.setDefaultFlatParamObject(false);
|
|
|
|
|
+// properties.setDefaultSupportFormData(true);
|
|
|
|
|
+// properties.setDefaultProducesMediaType("application/json");
|
|
|
|
|
+// return properties;
|
|
|
|
|
+// }
|
|
|
}
|
|
}
|