Forum Discussion

inauro's avatar
inauro
Occasional Contributor
3 years ago

$ref - External Link - anyOf (Multiple response formats) Not working as expected

Hi, 

 

While documenting my API responses, I use $ref to point to a response format stored externally. I use anyOf and specify different schemas but none of them are getting resolved and show in the Response documentation.

 

Documentation

Response

Can you chk and respond as soon as possible? We are on Teams Plan.

 

Thanks!

2 Replies

  • HenrikHL's avatar
    HenrikHL
    Frequent Contributor

    If you are in a Domain - this "normally" displays wrong. The APIs referring to it will display it correctly (at least it does for me)...

     

    An example (check commodities):

    (From domain)

     

    In API using a $ref: