java - Customize parameter in swagger.json -


i have separate parser of swagger.json , need hide parameters while parsing. should visible in both swagger ui , swagger.json can't use @apiignore need way ignore parameters in parsing swagger.json. ask if there's way add customize parameter's attribute (ex: hidden = true) in swagger.json through anotations (@apiparam) when parser read that, parameter ignored.

i tried @apiparam(hidden = true) it's not working.

currently i'm getting this,

{     "name": "username",     "in": "query",     "description": "this username",     "required": false,     "type": "string" } 

is possible have this? (added hidden=true)

{     "name": "username",     "in": "query",     "description": "this username",     "required": false,     "type": "string"     "hidden": "true"; } 

thank much!


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -