Skip to content
Merged
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: 2 additions & 0 deletions wp_api/src/application_passwords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub struct IpAddress {
pub struct ApplicationPasswordCreateParams {
/// A UUID provided by the application to uniquely identify it.
/// It is recommended to use an UUID v5 with the URL or DNS namespace.
#[serde(skip_serializing_if = "Option::is_none")]
pub app_id: Option<String>,
/// The name of the application password.
pub name: String,
Expand All @@ -74,6 +75,7 @@ pub struct ApplicationPasswordDeleteAllResponse {
pub struct ApplicationPasswordUpdateParams {
/// A UUID provided by the application to uniquely identify it.
/// It is recommended to use an UUID v5 with the URL or DNS namespace.
#[serde(skip_serializing_if = "Option::is_none")]
pub app_id: Option<String>,
/// The name of the application password.
pub name: String,
Expand Down