Hi, I am wondering if it's possible to have two api's share an api model class and document that api model differently based on POST vs PUT ?
For example, lets say we have *"POST /pets"* & *"PUT /pets"* api's which both consume the same class Pet. I would like to specify the pets name field has required for the POST but optional for the PUT. is the only way of achieving this to have separate models per api ? Thanks for the help, Sam. -- 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.
