I have what I think is a simple question about displaying a json file at a web address so that it can be recognized by Swagger UI.
The address http://petstore.swagger.wordnik.com/api/api-docs displays json data, and allows the file to be saved as a .json file. I have been unable to replicate this using html. This is what I tried:
<head>
<meta http-equiv="content-type" content="application/json; charset=UTF-8">
</head>
<body>
JSON DATA
</body>
The text gets displayed, however saving the page does not save it as a json file.
I should add that http://petstore.swagger.wordnik.com/api/api-docs is a directory, and http://petstore.swagger.wordnik.com/api/api-docs/pet is also json data.