Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 713 Bytes

GO.md

File metadata and controls

16 lines (12 loc) · 713 Bytes

Notes for Go Developers

Embedding oasdiff into your program

The simplest way to get a diff in your go program is:

diff.Get(&diff.Config{}, spec1, spec2)

Advanced Examples

OpenAPI References

Note that oasdiff expects OpenAPI References to be resolved.
References are normally resolved automatically when you load the spec. In other cases you can resolve refs using Loader.ResolveRefsIn.