Forum Discussion
2 Replies
Sort By
- NathenAdamsNew Contributor
thank you
- sedrttyavalNew Contributor
thanks ✅
Hi there,
We need help with the mock server in our stoplight workspace.
The x-json-schema-faker configuration added to the OpenAPI specification doesn't seem to be working.
We want to restrict the number of items in an array generated by faker, so we added the following:
openapi: 3.1.0
x-json-schema-faker:
min-items: 1
max-items: 1
It works locally with a prism 5.10.0 installed from npm, but not in stoplight workspace.
thank you
thanks ✅