Hi, I am using swagger in yaml format in a java project. I can't find a 
way to reference an endpoint from another endpoint, for example:

  /objects/{id}/versions/{version}:
    get:
       ....
    head:
      $ref: '#paths/objects/{id}/versions/{version}/get'   ---> does not 
work. Swagger tell me always to add "responses" property

Thanks for help.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to