I bet it would work the same with REST API and any kind of specs, be it OpenAPI or even text files. From my humble experience.