Exporting to flat-file would allow mock environments to be versioned using a VCS.
Importing OpenAPI spec (swagger) files could simplify initial setup.
Also, exporting swagger as well as importing swagger may allow automating new version deployments on AWS API Gateway and the like.