Package org.apache.ofbiz.ws.rs.util
Class OpenApiUtil
java.lang.Object
org.apache.ofbiz.ws.rs.util.OpenApiUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.swagger.v3.oas.models.responses.ApiResponse
buildSuccessResponse
(ModelService service) static io.swagger.v3.oas.models.media.Schema<?>
getAttributeSchema
(ModelService service, ModelParam param) static io.swagger.v3.oas.models.media.Schema<Object>
getInSchema
(ModelService service) static Class<?>
getOpenApiTypeForAttributeType
(String attributeType) static Class<?>
getOpenApiTypeForFieldType
(String fieldType) static io.swagger.v3.oas.models.media.Schema<Object>
getOutSchema
(ModelService service)
-
Method Details
-
getStandardApiResponses
-
getStandardApiResponseSchemas
-
getOpenApiTypeForAttributeType
-
getOpenApiTypeForFieldType
-
getInSchema
-
getAttributeSchema
public static io.swagger.v3.oas.models.media.Schema<?> getAttributeSchema(ModelService service, ModelParam param) -
getOutSchema
-
buildSuccessResponse
public static io.swagger.v3.oas.models.responses.ApiResponse buildSuccessResponse(ModelService service)
-