Bump version to 1.0.9; update JSON schemas; add new APIs

This commit is contained in:
Sebastian Thiel
2019-07-05 11:32:35 +08:00
parent 99e97ceece
commit e42ebc0c2b
2442 changed files with 190984 additions and 71186 deletions

View File

@@ -67,6 +67,17 @@ pub fn remove_json_null_values(value: &mut Value) {
map.remove(key);
}
}
json::value::Value::Array(ref mut arr) => {
let mut i = 0;
while i < arr.len() {
if arr[i].is_null() {
arr.remove(i);
} else {
remove_json_null_values(&mut arr[i]);
i += 1;
}
}
}
_ => {}
}
}

View File

@@ -310,10 +310,11 @@ fn main() {
an HTTPS website or an Android app, the API will ensure that any
statements used to generate the response have been made in a secure way by
the owner of that asset. Conversely, if the source asset is an insecure
HTTP website (that is, the URL starts with `http://` instead of `https://`),
the API cannot verify its statements securely, and it is not possible to
ensure that the website's statements have not been altered by a third
party. For more information, see the [Digital Asset Links technical design
HTTP website (that is, the URL starts with `http://` instead of
`https://`), the API cannot verify its statements securely, and it is not
possible to ensure that the website's statements have not been altered by a
third party. For more information, see the [Digital Asset Links technical
design
specification](https://github.com/google/digitalassetlinks/blob/master/well-known/details.md)."##),
"Details at http://byron.github.io/google-apis-rs/google_digitalassetlinks1_cli/assetlinks_check",
vec![
@@ -370,7 +371,7 @@ fn main() {
let mut app = App::new("digitalassetlinks1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("1.0.8+20190323")
.version("1.0.9+20190619")
.about("Discovers relationships between online assets such as websites or mobile apps.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_digitalassetlinks1_cli")
.arg(Arg::with_name("folder")