Produces the content for a index.html file that will attempt
to access a provided API path.
Value
large string containing the contents of swagger_index() with
the appropriate specification path changed to the api_path value.
Examples
if (interactive()) {
swagger_spec("https://developer.uspto.gov/ibd-api/swagger.json")
}