cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger yaml attribute to hide a parameter

priyanshu11
New Member

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

 

 

 

New Here?
Join us and watch the welcome video:
Announcements