Open API Specification (Swagger) content

Is it possible to display an Open API specification file (swagger) in Grav? The file would be in either JSON or YAML format.

An example of that content is here: https://petstore.swagger.io (file: https://petstore.swagger.io/v2/swagger.json).