completecoding / serverless-auto-swagger

80 stars 48 forks source link

Feature Request: Add "example" value in queryStringParameters #96

Open bfaulk96 opened 2 years ago

bfaulk96 commented 2 years ago

Is there a way to add "example" value in queryStringParameters? I'm thinking something like this with a new key "example":

queryStringParameters: {
  limit: {
    required: false,
    type: 'integer',
    description: 'Maximum amount of registers to query',
    example: 25,
  }

Originally posted by @chelodegli in https://github.com/completecoding/serverless-auto-swagger/issues/2#issuecomment-1254005427