Closed SeverinNovack closed 4 years ago
Hi, so the problem why you can't edit in try out mode is because you have no name for the parameter. If you use the following, it will work.
parameters: [
{
required: true,
name: 'body', // this line is added
in: 'body',
schema: {
type: 'object',
For the validator, I think that has to be changed when initializing SwaggerUIBundle in the docs.html. The documentation mentions to set validatorUrl to null to disable the validator.
That is exactly the answer I needed, both of your answers where right. Thank you very much for your time.
I have completed my implementation of the swagger documentation und made all my definitions. My swagger instance:
And here an example for an operation on a service:
When I try to edit the example values in the "try it out" nothing happens. I followed the answer of this and added it into my docs.html but it did not change anything. Is there a specific way to enable the editor? I also wasn't able to find where to disabled the validorUrl in the documentation, where do I disable that?