Skip to content

Commit 6c877d2

Browse files
Turbo87LawnGnome
andauthored
Apply suggestions from code review
Co-authored-by: Adam Harvey <[email protected]>
1 parent 15566be commit 6c877d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/openapi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ and can be considered stable.
2121
2222
Most parts of the API do not require authentication. The endpoints
2323
that do require authentication are marked as such in the documentation,
24-
with some requiring cookie authentication (useable only by the web UI)
25-
and others requiring API token authentication (useable by cargo and
24+
with some requiring cookie authentication (usable only by the web UI)
25+
and others requiring API token authentication (usable by cargo and
2626
other clients).
2727
"#;
2828

src/snapshots/crates_io__openapi__tests__openapi_snapshot.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ expression: response.json()
2424
"email": "[email protected]",
2525
"name": "the crates.io team"
2626
},
27-
"description": "\n__Experimental API documentation for the [crates.io](https://crates.io/)\npackage registry.__\n\nThis document describes the API used by the crates.io website, cargo\nclient, and other third-party tools to interact with the crates.io\nregistry.\n\n__The API is under active development and may change at any time__,\nthough we will try to avoid breaking changes where possible.\n\nSome parts of the API follow the \"Registry Web API\" spec documented\nat <https://doc.rust-lang.org/cargo/reference/registry-web-api.html>\nand can be considered stable.\n\nMost parts of the API do not require authentication. The endpoints\nthat do require authentication are marked as such in the documentation,\nwith some requiring cookie authentication (useable only by the web UI)\nand others requiring API token authentication (useable by cargo and\nother clients).\n",
27+
"description": "\n__Experimental API documentation for the [crates.io](https://crates.io/)\npackage registry.__\n\nThis document describes the API used by the crates.io website, cargo\nclient, and other third-party tools to interact with the crates.io\nregistry.\n\n__The API is under active development and may change at any time__,\nthough we will try to avoid breaking changes where possible.\n\nSome parts of the API follow the \"Registry Web API\" spec documented\nat <https://doc.rust-lang.org/cargo/reference/registry-web-api.html>\nand can be considered stable.\n\nMost parts of the API do not require authentication. The endpoints\nthat do require authentication are marked as such in the documentation,\nwith some requiring cookie authentication (usable only by the web UI)\nand others requiring API token authentication (usable by cargo and\nother clients).\n",
2828
"license": {
2929
"name": "MIT OR Apache-2.0",
3030
"url": "https://github.com/rust-lang/crates.io/blob/main/README.md#%EF%B8%8F-license"

0 commit comments

Comments
 (0)