File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,17 +83,17 @@ that add to test coverage and documentation is always welcome! :)
8383
8484##### Breaking changes in 0.8.4 since 0.8.2 that would need the configurations to be altered are:
85851 . Remove the following autowired fields in your spring configuration
86- ``` java
86+ ``` java
8787 @Autowired
8888 private SpringSwaggerModelConfig springSwaggerModelConfig;
89- ```
89+ ```
90902 . Add the following autowired fields in your spring configuration
91- ``` java
91+ ``` java
9292 @Autowired
9393 private ModelProvider modelProvider;
94- ```
94+ ```
95953 . Make sure any customizations to the object mapper are appropriately added in an ObjectMapper bean definition
96- ``` java
96+ ``` java
9797 /**
9898 * Object mapper.
9999 *
@@ -104,21 +104,21 @@ that add to test coverage and documentation is always welcome! :)
104104 // This is the opportunity to override object mapper behavior
105105 return new ObjectMapper ();
106106 }
107- ```
107+ ```
1081084 . Configure the swaggerApiResourceListing bean with the model provider that is autowired or provide your own
109109implementation
110- ```java
110+ ``` java
111111 // Set the model provider, uses the default autowired model provider.
112112 swaggerApiResourceListing. setModelProvider(modelProvider);
113- ```
113+ ```
114114
1151155 . Configure the blah bean with an implementation of the resource grouping strategy
116- ``` java
116+ ``` java
117117 // How to group request mappings to ApiResource's typically by spring controller classes. This is a hook to provide
118118 // a custom implementation of the grouping strategy. By default we use SpringGroupingStrategy. An alternative is
119119 // to use ClassOrApiAnnotationResourceGrouping to group using Api annotation.
120120 apiListingReferenceScanner. setResourceGroupingStrategy(springSwaggerConfig. defaultResourceGroupingStrategy());
121- ```
121+ ```
122122
123123##### Features
124124- Allows configuration of default response messages based on HTTP methods which are displayed on all api operations on swagger-ui
You can’t perform that action at this time.
0 commit comments