You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2025. It is now read-only.
* This method is primarily used to process enum types, setting the corresponding parameter type, value, and enumeration information in the ApiParam object.
26
+
* If the enum has a @JsonFormat annotation with a shape attribute value of NUMBER, the value is processed accordingly.
27
+
* Additionally, it supports setting mock values for parameters through tag mappings.
28
+
*
29
+
* @param param The ApiParam object, used to store parameter information.
30
+
* @param javaField The JavaField object, representing the field of a class, used to obtain the type and other information of the field.
31
+
* @param builder The ProjectDocConfigBuilder object, used to obtain configuration information for generating documentation.
32
+
* @param jsonRequest A boolean value indicating whether the request is in JSON format, used to determine how to obtain the enum value.
33
+
* @param tagsMap A map containing tag names and their descriptions, used to override parameter values with mock data.
34
+
* @param jsonFormatValue The value of the @JsonFormat annotation's shape attribute, used to handle special cases of numeric enums.
35
+
* @return Returns the processed JavaClass object representing the enum, or null if the input field is not an enum.
0 commit comments