public class OperationMappingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
logger |
| Constructor and Description |
|---|
OperationMappingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
disambiguateRepeatedOperations(List<? extends Operation> operations)
Renames the operations that have names that repeat appending a numbered suffix:
- GET_STREET -> GET_STREET_1
- GET_STREET -> GET_STREET_2
- GET_STREET -> GET_STREET_3
etc.
|
static List<org.raml.v2.api.model.v10.methods.Method> |
getMethods(org.raml.v2.api.model.v10.api.Api api)
Traverses the RAML and extracts all actions that will eventually become operations
|
static boolean |
isIgnored(org.raml.v2.api.model.v10.methods.Method method) |
public static List<org.raml.v2.api.model.v10.methods.Method> getMethods(org.raml.v2.api.model.v10.api.Api api)
api - public static boolean isIgnored(org.raml.v2.api.model.v10.methods.Method method)
Copyright © 2024. All rights reserved.