cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Model Information

SOLVED
Highlighted
New Member

How to hide Model Information

I described Schema information like below in my swagger.yaml.

 

I want to show the only B to Swagger UI. But, this will also show A. How to hide A from Swagger UI?

 

 

components:
  schemas:
    B:
      allOf:
        - type: object
          properties:
            bbb:
              type: string
        - $ref: '#/components/schemas/A'
    A:
       - type: object
          properties:
            aaa:
              type: string

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: How to hide Model Information

There's no way to hide it. If you'd like to see this functionality, please file a feature request with the project.

1 REPLY 1
Moderator

Re: How to hide Model Information

There's no way to hide it. If you'd like to see this functionality, please file a feature request with the project.

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors