Forum Discussion

priyanshu11's avatar
priyanshu11
New Member
4 years ago

Swagger yaml attribute to hide a parameter

Model1:

  title: first model

  properties:

    Abc:

      type: string

    SensitiveData:

      type: string

 

 

Here, how would I hide a parameter named "SensitiveData". What attribute should be used so that "SensitiveData" will not be visible in swagger UI

 

Note: Using swagger version 2.0

 

 

 

No RepliesBe the first to reply