Forum Discussion

tobias_wolff's avatar
tobias_wolff
Occasional Visitor
4 years ago

Example composition

Hi, I have recently discovered the possibility to add examples to components, request bodies and responses - which btw. is a great feature. I got it working to a certain extend by defining examples ...
  • HKosova's avatar
    4 years ago

    I now wonder, if there also is a way to do a composition on examples using $refs.

    Example values do not support $ref. Each example must be a complete literal example.