diff --git a/Generator/XMLDocsFetcher.cs b/Generator/XMLDocsFetcher.cs index 6af6beb..58a41d3 100644 --- a/Generator/XMLDocsFetcher.cs +++ b/Generator/XMLDocsFetcher.cs @@ -32,7 +32,15 @@ public static async Task Get(string package, string version) { seeReference.OuterHtml = $"{seeReference.GetAttribute("cref")?.Split(".").Last() ?? seeReference.GetAttribute("langword")?.Split(".").Last() ?? string.Empty}"; } - + foreach (var paramReference in document.QuerySelectorAll("paramref")) + { + paramReference.OuterHtml = $"{paramReference.GetAttribute("name")?.Split(".").Last() ?? string.Empty}"; + } + foreach (var remarks in document.QuerySelectorAll("remarks")) + { + remarks.OuterHtml = remarks.InnerHtml; + } + foreach (var member in document.GetElementsByTagName("doc")[0].Children[1].Children) { foreach (var child in member.Children) diff --git a/src/src/main/java/com/relewise/client/model/ProductQuery.java b/src/src/main/java/com/relewise/client/model/ProductQuery.java index 7565418..ae64481 100644 --- a/src/src/main/java/com/relewise/client/model/ProductQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductQuery.java @@ -37,9 +37,9 @@ public class ProductQuery extends LicensedRequest public Boolean includeDisabledProducts; public Boolean includeDisabledVariants; public Boolean excludeProductsWithNoVariants; - /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ + /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ public @Nullable UUID nextPageToken; - /** The size of the page requested. Maximum allowed value is 1000. */ + /** The size of the page requested. Maximum allowed value is 1000. */ public @Nullable Integer pageSize; public static ProductQuery create(@Nullable FilterCollection filters, Boolean excludeProductsWithNoVariants) { @@ -55,7 +55,7 @@ public ProductQuery(@Nullable FilterCollection filters, Boolean excludeProductsW this.nextPageToken = null; } /** - * Initiates a new instance of ProductQuery with support for paging. The initial request needs to set PageSize. Should results span over multiple pages, the response would have token for . + * Initiates a new instance of ProductQuery with support for paging. The initial request needs to set PageSize. Should results span over multiple pages, the response would have token for nextPageToken * @param filters The filters to be executed to limit results. * @param excludeProductsWithNoVariants Should products without variants be included. * @param pageSize The positive number of elements in page should results span over multiple pages. @@ -68,7 +68,7 @@ public static ProductQuery create(@Nullable FilterCollection filters, Boolean ex return new ProductQuery(filters, excludeProductsWithNoVariants, pageSize, language, currency, nextPageToken); } /** - * Initiates a new instance of ProductQuery with support for paging. The initial request needs to set PageSize. Should results span over multiple pages, the response would have token for . + * Initiates a new instance of ProductQuery with support for paging. The initial request needs to set PageSize. Should results span over multiple pages, the response would have token for nextPageToken * @param filters The filters to be executed to limit results. * @param excludeProductsWithNoVariants Should products without variants be included. * @param pageSize The positive number of elements in page should results span over multiple pages. @@ -131,12 +131,12 @@ public Boolean getExcludeProductsWithNoVariants() { return this.excludeProductsWithNoVariants; } - /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ + /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ public @Nullable UUID getNextPageToken() { return this.nextPageToken; } - /** The size of the page requested. Maximum allowed value is 1000. */ + /** The size of the page requested. Maximum allowed value is 1000. */ public @Nullable Integer getPageSize() { return this.pageSize; @@ -188,13 +188,13 @@ public ProductQuery setExcludeProductsWithNoVariants(Boolean excludeProductsWith this.excludeProductsWithNoVariants = excludeProductsWithNoVariants; return this; } - /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ + /** The identifier for the ProductQuery paged cursor, to consume results in PageSize batches. Leave as null for retrieving the first page, and set to the value returned in NextPageToken for any subsequent page requests. Should a wrong/unexisting token be supplied, a 'Validation' exception shall be returned. */ public ProductQuery setNextPageToken(@Nullable UUID nextPageToken) { this.nextPageToken = nextPageToken; return this; } - /** The size of the page requested. Maximum allowed value is 1000. */ + /** The size of the page requested. Maximum allowed value is 1000. */ public ProductQuery setPageSize(@Nullable Integer pageSize) { this.pageSize = pageSize;