Closed majuca closed 5 months ago
That's disabling a whole feature. So what you mean is you don't want the code samples in the docs, or parameter examples in the OpenAPI spec?
If y remove the factories in models_source, when I generate the api documentation, I still have exemple with empty values, like this:
My point of view, if the models_source is empty, the response example should not be generated.
I would like to manage my response only with a @responseFile
ok, the happens if you mixed @apiResource and @responseFile. If y remove @apiResource it works as expected.
Scribe version
4.26.0
Your question
Hi,
Could be possible to add a option in the config to prevent automatic generation of examples? I tried to have an empty array for models_source but scribe create example with null value.
Docs