File tree Expand file tree Collapse file tree
src/main/groovy/com/github/hauner/openapi/spring Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717package com.github.hauner.openapi.spring.converter
1818
19+ import com.github.hauner.openapi.spring.converter.mapping.TypeMappingX
20+
1921/**
2022 * Options of the generatr.
2123 *
@@ -53,6 +55,6 @@ class ApiOptions {
5355 * {@link com.github.hauner.openapi.spring.converter.mapping.EndpointTypeMapping}: used to override
5456 * parameter, response type mappings or to add additional parameters on a single endpoint.
5557 */
56- List<? > typeMappings
58+ List<TypeMappingX > typeMappings
5759
5860}
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import com.github.hauner.openapi.spring.converter.mapping.EndpointTypeMapping
2020import com.github.hauner.openapi.spring.converter.mapping.ParameterTypeMapping
2121import com.github.hauner.openapi.spring.converter.mapping.ResponseTypeMapping
2222import com.github.hauner.openapi.spring.converter.mapping.TypeMapping
23+ import com.github.hauner.openapi.spring.converter.mapping.TypeMappingX
2324import org.yaml.snakeyaml.Yaml
2425
2526import java.util.regex.Matcher
@@ -33,7 +34,7 @@ import java.util.regex.Pattern
3334class TypeMappingReader {
3435 private Pattern GENERIC_INLINE = ~/ (.+?)<(.+?)>/
3536
36- List<? > read (String typeMappings ) {
37+ List<TypeMappingX > read (String typeMappings ) {
3738 if (typeMappings == null ) {
3839 return []
3940 }
You can’t perform that action at this time.
0 commit comments