====test==== Given json-schema-faker configuration in the specification, When I send a request to an operation, Then the json-schema-faker configuration should influence the response. ====spec==== openapi: "3.0.2" x-json-schema-faker: resolveJsonPath: true useDefaultValue: true optionalsProbability: null minItems: 3 maxItems: 3 tags: - name: example-tag info: version: "0" title: JSON Schema Faker test description: JSON Schema Faker test contact: email: support@stoplight.io servers: - url: http://api.example.com paths: /widget: get: description: widget details operationId: widgetDetails tags: - example-tag responses: "200": description: widget details response content: application/json: schema: type: object properties: name: type: string default: "Super Widget" alias: type: string jsonPath: $..name array: type: array items: type: string default: "Item" ====server==== mock -p 4010 -d ${document} ====command==== curl -i http://localhost:4010/widget ====expect-loose==== HTTP/1.1 200 OK content-type: application/json {"alias":"Super Widget","name":"Super Widget","array":["Item","Item","Item"]}