REST contract diff — openapi.yaml

Read as a structure by openapi-diff.py, the review's own classifier — the second opinion behind the verdict band, not the tool that produced its counts.

Read from openapi.yaml as a structure, not as text: 0 operations and 2 schemas moved. Those schemas are served by 11 operations, which change what a caller sends or receives even where the paths section did not move a byte — see the API contract tab for the per-operation shapes. Each line is classified by what it does to somebody already calling this API — 4 additive

Schemas 2
VisitDtomodifiedrequest & response body
  • additive+ vetFirstName string read-onlyFirst name of the vet (server-populated).
  • additive+ vetId integer(int32) minimum 0The ID of the vet that attended the visit.
  • additive+ vetLastName string read-onlyLast name of the vet (server-populated).
VisitFieldsDtomodifiedrequest body
  • additive+ vetId integer(int32) minimum 0The ID of the vet that attended the visit.
The unified diff this was read from
diff --git a/openapi.yaml b/openapi.yaml
index f5fbb26a..cf368a56 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -1934,6 +1934,20 @@ components:
           type: string
           description: Name of the pet (server-populated).
           readOnly: true
+        vetFirstName:
+          type: string
+          description: First name of the vet (server-populated).
+          readOnly: true
+        vetId:
+          type: integer
+          format: int32
+          description: The ID of the vet that attended the visit.
+          example: 1
+          minimum: 0
+        vetLastName:
+          type: string
+          description: Last name of the vet (server-populated).
+          readOnly: true
       required:
       - description
       - id
@@ -1952,5 +1966,11 @@ components:
           example: rabies shot
           maxLength: 255
           minLength: 1
+        vetId:
+          type: integer
+          format: int32
+          description: The ID of the vet that attended the visit.
+          example: 1
+          minimum: 0
       required:
       - description