Class ServiceConstructGenerator
java.lang.Object
org.ek9lang.compiler.fuzz.ServiceConstructGenerator
Generates HTTP service declarations for fuzzing.
Produces service constructs with random endpoints, URI patterns,
parameter bindings, and access modifiers to exercise E07xxx error codes.
Extracted from AtnBasedGenerator Cluster 5.
-
Constructor Summary
ConstructorsConstructorDescriptionServiceConstructGenerator(GenerationContext ctx, AtnBasedGenerator generator) -
Method Summary
Modifier and TypeMethodDescription(package private) voidappendServiceConstruct(StringBuilder sb, Set<String> controlFlow, Random random) (package private) StringgenerateRandomEndpointUri(Random random) Generate a random endpoint URI: varied path structures.
-
Constructor Details
-
ServiceConstructGenerator
ServiceConstructGenerator(GenerationContext ctx, AtnBasedGenerator generator)
-
-
Method Details
-
appendServiceConstruct
-
generateRandomEndpointUri
-