This repository was archived by the owner on Mar 16, 2025. It is now read-only.
File tree 1 file changed +8
-13
lines changed
src/main/kotlin/io/openapiprocessor/core/converter/mapping
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 6
6
package io.openapiprocessor.core.converter.mapping
7
7
8
8
/* *
9
- * Used with {@link com.github.hauner.openapi.spring.converter.ApiOptions} to override parameter or
10
- * response type mappings on a single endpoint. It can also be used to add parameters that are not
11
- * defined in the api. For example to pass {@code javax.servlet.http.HttpServletRequest} to the
12
- * controller method.
13
- *
14
- * The {@code mappings} list can contain objects of the type
15
- * - {@link ParameterTypeMapping}
16
- * - {@link ResponseTypeMapping}
9
+ * Used with [io.openapiprocessor.core.converter.ApiOptions] to store endpoint specific type
10
+ * mappings. It can also be used to add parameters that are not defined in the api. For example
11
+ * to pass a [javax.servlet.http.HttpServletRequest] to the*controller method.
17
12
*/
18
13
class EndpointTypeMapping @JvmOverloads constructor(
19
14
20
15
/* *
21
- * Full path of the endpoint that is configured by this object.
16
+ * full path of the endpoint that is configured by this object.
22
17
*/
23
18
var path : String ,
24
19
25
20
/* *
26
- * Provides type mappings for the endpoint.
21
+ * provides type mappings for the endpoint.
27
22
*/
28
- var typeMappings : List <Mapping > = emptyList(),
23
+ val typeMappings : List <Mapping > = emptyList(),
29
24
30
25
/* *
31
- * Exclude endpoint.
26
+ * exclude endpoint.
32
27
*/
33
- var exclude : Boolean = false
28
+ val exclude : Boolean = false
34
29
35
30
): Mapping {
36
31
You can’t perform that action at this time.
0 commit comments