Adding in some mock examples

Noticed that I had missed something in the burgershop. Now that we can ‘see’ the spec, it’s going to open up a whole ton of new capabilities.

Signed-off-by: Quobix <dave@quobix.com>
This commit is contained in:
Quobix
2023-08-29 11:13:07 -04:00
committed by quobix
parent 8ae4603824
commit 9fb09f3a42
7 changed files with 166 additions and 20 deletions

View File

@@ -321,7 +321,7 @@ func ExampleCompareDocuments_openAPI() {
// Print out some interesting stats about the OpenAPI document changes.
fmt.Printf("There are %d changes, of which %d are breaking. %v schemas have changes.",
documentChanges.TotalChanges(), documentChanges.TotalBreakingChanges(), len(schemaChanges))
//Output: There are 72 changes, of which 17 are breaking. 5 schemas have changes.
//Output: There are 75 changes, of which 19 are breaking. 6 schemas have changes.
}