openapi-sampler
openapi-sampler copied to clipboard
Specify default value for the integer example
This is a feature request.
Would it be possible to change the default example value for the integer type?
Right now the default is 0, but since an integer is usually an id, it often makes more sense to use 1 in the examples.
Right now, the workaround is to specify the example every time an integer type is defined.
Not sure if this feature request would make sense for other types as well?
This makes sense. PR would be appreciated!