Skip to content

Commit

Permalink
Merge pull request #72 from fussybeaver/ND/more-doc-link-fixes
Browse files Browse the repository at this point in the history
chore: Release roctogen 0.14.0 to sync with roctokit
  • Loading branch information
fussybeaver authored Feb 9, 2025
2 parents d9be97d + f8b3c82 commit 75f1f4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion roctogen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roctogen"
version = "0.13.0"
version = "0.14.0"
authors = [ "Roctogen contributors" ]
description = "Github API and models generated from the official swagger OpenAPI specification"
license = "Apache-2.0"
Expand Down
24 changes: 9 additions & 15 deletions roctogen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//! `adapter` subsytem:
//!
//! - `reqwest`: Enables asynchronous requests using the [Reqwest client](https://github.com/seanmonstar/reqwest)
//! - `ureq`: Provides synchronous requests with the [Ureq client](https://github.com/algesten/ureq)
//! - `ureq`: Provides synchronous requests with the [Ureq client](https://github.com/algesten/ureq)
//!
//! ## Installation
//!
Expand All @@ -31,9 +31,9 @@
//! - [Endpoints](https://docs.rs/roctogen/latest/roctogen/endpoints/index.html).
//!
//! ### Supported endpoints:
//!
//!
//! Roctogen supports a wide range of GitHub API endpoints, including:
//!
//!
//! - [Meta](https://docs.rs/roctogen/latest/roctogen/endpoints/meta/struct.Meta.html)
//! - [Issues](https://docs.rs/roctogen/latest/roctogen/endpoints/issues/struct.Issues.html)
//! - [Licenses](https://docs.rs/roctogen/latest/roctogen/endpoints/licenses/struct.Licenses.html)
Expand Down Expand Up @@ -87,7 +87,7 @@
//! let auth = Auth::None;
//! let client = client(&auth).expect("Cannot create new client");
//! let per_page = api::PerPage::new(10);
//!
//!
//! let mut params: repos::ReposListCommitsParams = per_page.as_ref().into();
//! params = params.author("fussybeaver").page(2);
//!
Expand Down Expand Up @@ -152,7 +152,7 @@
//! $ mvn -D org.slf4j.simpleLogger.defaultLogLevel=info clean compiler:compile generate-resources
//! ```
//!
//! ## Testing
//! ## Testing
//!
//! Roctogen supports both WebAssembly and synchronous test environments. Be
//! aware that some tests perform real HTTP requests to the GitHub API unless
Expand All @@ -161,7 +161,7 @@
//! - **WebAssembly Tests**:
//!
//! ```nocompile
//! $ wasm-pack test --firefox --headless
//! $ wasm-pack test --firefox --headless
//! ```
//!
//! - ** **Synchronous Tests**:
Expand All @@ -188,10 +188,7 @@
//! $ docker run -d --name wiremock -p 8080:8080 -v $PWD/tests/stubs:/home/wiremock -u (id -u):(id -g) rodolpheche/wiremock --verbose --proxy-all="https://api.github.com" --record-mappings
//! ```
//!
#![allow(
missing_docs,
unused_imports,
)]
#![allow(missing_docs, unused_imports)]

#[macro_use]
extern crate serde_derive;
Expand All @@ -202,13 +199,10 @@ pub mod endpoints;
pub mod models;

pub mod auth {

#[derive(Clone, Debug)]
pub enum Auth {
Basic {
user: String,
pass: String,
},
Basic { user: String, pass: String },
Token(String),
Bearer(String),
None,
Expand Down

0 comments on commit 75f1f4d

Please sign in to comment.