mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
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:
@@ -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.
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user