org.openapitools.codegen.utils.ProcessUtils Maven / Gradle / Ivy
package org.openapitools.codegen.utils;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.security.SecurityScheme;
import org.openapitools.codegen.CodegenModel;
import org.openapitools.codegen.CodegenProperty;
import org.openapitools.codegen.CodegenSecurity;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class ProcessUtils {
/**
* Add x-index extension to the model's properties
*
* @param models List of models
* @param initialIndex starting index to use
*/
public static void addIndexToProperties(List