advanced-rest-client / api-type-document

⛔️ DEPRECATED This component is being deprecated. Use `api-documentation` instead.
0 stars 2 forks source link

Fix/duplicated examples #31

Closed carowright closed 3 years ago

carowright commented 3 years ago

The type document renders an example above the properties documentation. If a property has an example then it renders example for a property and it looks duplicated.

duplicatedExample

Now, if the type is a scalar we hide the main example.