Uses of Class
org.mockserver.openapi.examples.GenerationOptions
Packages that use GenerationOptions
-
Uses of GenerationOptions in org.mockserver.openapi
Methods in org.mockserver.openapi with parameters of type GenerationOptionsModifier and TypeMethodDescriptionstatic HttpRequestOpenApiParameterExamples.applyExampleParameters(HttpRequest request, io.swagger.v3.oas.models.Operation operation, io.swagger.v3.oas.models.OpenAPI openAPI, GenerationOptions generationOptions) Applies examplequery,header, andcookieparameter values declared on the operation to the given request.static StringOpenApiParameterExamples.getParameterExampleValue(io.swagger.v3.oas.models.parameters.Parameter param, io.swagger.v3.oas.models.OpenAPI openAPI, GenerationOptions generationOptions) static StringOpenApiParameterExamples.resolvePath(String pathTemplate, io.swagger.v3.oas.models.Operation operation, io.swagger.v3.oas.models.OpenAPI openAPI, GenerationOptions generationOptions) -
Uses of GenerationOptions in org.mockserver.openapi.examples
Methods in org.mockserver.openapi.examples that return GenerationOptionsModifier and TypeMethodDescriptionstatic GenerationOptionsGenerationOptions.fromOperationsMap(Map<String, Object> operationsAndResponses) Builds aGenerationOptionsfrom the reservedOPERATIONS_KEYentry of an OpenAPI importoperationsAndResponsesmap, ornullif none is present.Methods in org.mockserver.openapi.examples with parameters of type GenerationOptionsModifier and TypeMethodDescriptionstatic ExampleExampleBuilder.fromSchema(io.swagger.v3.oas.models.media.Schema<?> property, Map<String, io.swagger.v3.oas.models.media.Schema> definitions, GenerationOptions generationOptions) Builds an example from a schema, optionally honouring per-runGenerationOptions(a caller-chosen seed for reproducible realistic values and per-field value overrides).