Class ServiceConstructGenerator

java.lang.Object
org.ek9lang.compiler.fuzz.ServiceConstructGenerator

final class ServiceConstructGenerator extends Object
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 Details

  • Method Details

    • appendServiceConstruct

      void appendServiceConstruct(StringBuilder sb, Set<String> controlFlow, Random random)
    • generateRandomEndpointUri

      String generateRandomEndpointUri(Random random)
      Generate a random endpoint URI: varied path structures.