public class ProcessUtils extends Object
| Constructor and Description |
|---|
ProcessUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addIndexToProperties(List<Object> models)
Add x-index extension to the model's properties
|
static void |
addIndexToProperties(List<Object> models,
int initialIndex)
Add x-index extension to the model's properties
|
static boolean |
hasBearerMethods(Map<String,Object> objs)
Returns true if at least one operation has Bearer security schema defined
|
static boolean |
hasOAuthMethods(Map<String,Object> objs)
Returns true if at least one operation has OAuth security schema defined
|
public static void addIndexToProperties(List<Object> models, int initialIndex)
models - List of modelsinitialIndex - starting index to usepublic static void addIndexToProperties(List<Object> models)
models - List of modelspublic static boolean hasOAuthMethods(Map<String,Object> objs)
objs - Map of operationsCopyright © 2019. All rights reserved.