concept PetSitter in category swagger
appears as: PetSitter

This is an excerpt from Manning's book Designing APIs with Swagger and OpenAPI.
As mentioned before in the general introduction and when talking about the FarmStall API, a user appears in almost every domain model. It doesn’t mean, however, that this model always looks the same. The attributes, actions, and connections may change significantly depending on the use case. In PetSitter, we already talked about two types of users, pet owners and pet sitters. Our model needs to consider that by including a role attribute.