Package org.openrewrite.openapi.swagger
Class ConvertApiResponseCodesToStrings
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<ConvertApiResponseCodesToStrings.ConstantAccumulator>
org.openrewrite.openapi.swagger.ConvertApiResponseCodesToStrings
- All Implemented Interfaces:
Cloneable
public class ConvertApiResponseCodesToStrings
extends org.openrewrite.ScanningRecipe<ConvertApiResponseCodesToStrings.ConstantAccumulator>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInitialValue(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.ScanningRecipe
clone, generate, generate, getAccumulator, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescription, getDescriptor, getDisplayName, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll, withOptions
-
Constructor Details
-
ConvertApiResponseCodesToStrings
public ConvertApiResponseCodesToStrings()
-
-
Method Details
-
getInitialValue
public ConvertApiResponseCodesToStrings.ConstantAccumulator getInitialValue(org.openrewrite.ExecutionContext ctx) - Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<ConvertApiResponseCodesToStrings.ConstantAccumulator>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(ConvertApiResponseCodesToStrings.ConstantAccumulator acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<ConvertApiResponseCodesToStrings.ConstantAccumulator>
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor(ConvertApiResponseCodesToStrings.ConstantAccumulator acc) - Overrides:
getVisitorin classorg.openrewrite.ScanningRecipe<ConvertApiResponseCodesToStrings.ConstantAccumulator>
-