ext: the file extension of the API file (either 'yaml' or 'json'). By default, it is obtained from the URL with tools::file_ext and should be provided when the file URL is missing an extension.
Returns
API object
Examples
## Not run:# create operation and schema functionsapi_url <-"http://petstore.swagger.io/v2/swagger.json"api <- get_api(api_url)operations <- get_operations(api)schemas <- get_schemas(api)## End(Not run)