Skip to content

Commit

Permalink
Merge pull request #601 from augustoccesar/fix/generated-docs-with-op…
Browse files Browse the repository at this point in the history
…enapi-install

fix: correct docs path for references
  • Loading branch information
arlyon authored Sep 3, 2024
2 parents 71a904f + 539836d commit 4b9902e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openapi/src/url_finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl UrlFinder {
let object_names = [format!("{}_object", object_name), object_name];
for name in object_names {
if let Some(path) = self.url_lookup.get(&name) {
return Some(format!("https://stripe.com{}", path));
return Some(format!("https://stripe.com/docs{}", path));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/resources/generated/payment_link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::resources::{

/// The resource representing a Stripe "PaymentLink".
///
/// For more details see <https://stripe.com/docs/api/payment_links/payment_links/object>
/// For more details see <https://stripe.com/docs/api/payment-link/object>
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct PaymentLink {
/// Unique identifier for the object.
Expand Down

0 comments on commit 4b9902e

Please sign in to comment.