concept Job Application in category swagger
appears as: The Job Application, Job Application

This is an excerpt from Manning's book Designing APIs with Swagger and OpenAPI.
Pet owners approve applications to their jobs. The Job Application schema contains a
statusfield that can be used to indicate whether the application is pending, accepted or denied. Therefore, the "Approve" action is a more specific version of a "Modify" action that changes a Job Application resource. To follow the CRUD approach, we can create the more generic operation with a PUT method on the/job-applications/{id}path. To perform the "Approve" action, the pet owner sends a request following the Job Application schema with thestatusfield set to approved.