04-24-2019 01:14 AM
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
Solved! Go to Solution.
1 ACCEPTED SOLUTION
1 REPLY 1