Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct docs path for references #601

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading