Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3973,7 +3973,7 @@ private void addProducesInfo(OpenAPI openAPI, ApiResponse inputResponse, Codegen
/**
* returns the list of MIME types the APIs can produce
*
* @param openAPI
* @param openAPI current specification instance
* @param operation Operation
* @return a set of MIME types
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public CodegenConstants.ENUM_PROPERTY_NAMING_TYPE getEnumPropertyNaming() {
/**
* Sets the naming convention for Kotlin enum properties
*
* @param enumPropertyNamingType The string representation of the naming convention, as defined by {@link CodegenConstants.ENUM_PROPERTY_NAMING_TYPE}
* @param enumPropertyNamingType The string representation of the naming convention, as defined by {@link org.openapitools.codegen.CodegenConstants.ENUM_PROPERTY_NAMING_TYPE}
*/
public void setEnumPropertyNaming(final String enumPropertyNamingType) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public CodegenOperation fromOperation(String path, String httpMethod, Operation
* Parse Markdown to HTML for the main "Description" attribute
*
* @param openAPI The base object containing the global description through "Info" class
* @return Void
*/
private void preparHtmlForGlobalDescription(OpenAPI openAPI) {
if (openAPI.getInfo() == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ public static String getScheme(URL url, CodegenConfig config) {

/**
* Return the port, example value <code>8080</code>
* @param url
* @param url server url
* @param defaultPort if the port is not set
* @return
* @return port
*/
public static String getPort(URL url, int defaultPort) {
return getPort(url, String.valueOf(defaultPort));
}

/**
* Return the port, example value <code>8080</code>
* @param url
* @param url server url
* @param defaultPort if the port is not set
* @return
* @return port
*/
public static String getPort(URL url, String defaultPort) {
if (url == null || url.getPort() == -1) {
Expand All @@ -96,7 +96,7 @@ public static String getPort(URL url, String defaultPort) {

/**
* Return the path, example value <code>/abcdef/xyz</code>
* @param url
* @param url server url
* @param defaultPath if the path is not empty
* @return path
*/
Expand All @@ -110,7 +110,7 @@ public static String getPath(URL url, String defaultPath) {

/**
* Get the protocol and the host, example value <code>https://www.abcdef.xyz</code>
* @param url
* @param url server url
* @return protocolAndHost
*/
public static String getProtocolAndHost(URL url) {
Expand All @@ -124,7 +124,7 @@ public static String getProtocolAndHost(URL url) {

/**
* Return the first complete URL from the OpenAPI specification
* @param openAPI
* @param openAPI current OpenAPI specification
* @return host
*/
public static String getHost(OpenAPI openAPI) {
Expand Down