Skip to content

Commit

Permalink
Update swagger URLs (#11363)
Browse files Browse the repository at this point in the history
  • Loading branch information
er-abhijeet authored Feb 4, 2025
1 parent 69b6968 commit 8c3564f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web-API-and-Clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Although we recommend [cBioPortalData](/#cbioportaldata-recommended) or [cbiopor

```
library(rapiclient)
client <- get_api(url = "https://www.cbioportal.org/api/v2/api-docs")
client <- get_api(url = "https://www.cbioportal.org/api/v3/api-docs")
```

#### CGDSR (deprecated)
Expand All @@ -74,7 +74,7 @@ Generate a client in Python using [bravado](https://github.com/Yelp/bravado) lik

```python
from bravado.client import SwaggerClient
cbioportal = SwaggerClient.from_url('https://www.cbioportal.org/api/v2/api-docs',
cbioportal = SwaggerClient.from_url('https://www.cbioportal.org/api/v3/api-docs',
config={"validate_requests":False,"validate_responses":False,"validate_swagger_spec": False})
```

Expand Down

0 comments on commit 8c3564f

Please sign in to comment.