Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

api(dotnet): remove serializer options (#6641)

Pavel Feldman36c0765c9894
diff --git a/docs/src/api/csharp.md b/docs/src/api/csharp.md
index 1628958f42..a710fda2c6 100644
--- a/docs/src/api/csharp.md
+++ b/docs/src/api/csharp.md
@@ -7,12 +7,6 @@ Returns parsed request's body for `form-urlencoded` and JSON as a fallback if an
When the response is `application/x-www-form-urlencoded` then a key/value object of the values will be returned.
Otherwise it will be parsed as JSON.
-### param: Request.PostDataJSON.serializerOptions
-* langs: csharp
-- `documentOptions` <[null]|[JsonDocumentOptions]>
-
-Optional Json options that control custom behaviour when parsing the JSON.
-
### param: ElementHandle.selectOption.values = %%-csharp-select-options-values-%%
### param: ElementHandle.setInputFiles.files = %%-csharp-input-files-%%
diff --git a/utils/doclint/generateDotnetApi.js b/utils/doclint/generateDotnetApi.js
index b93df9d8c3..56644e223e 100644
--- a/utils/doclint/generateDotnetApi.js
+++ b/utils/doclint/generateDotnetApi.js
@@ -468,6 +468,7 @@ function renderMethod(member, parent, name, out) {
if (member.args.size == 0
&& type !== 'void'
&& !name.startsWith('Get')
+ && !name.startsWith('PostDataJSON')
&& !name.startsWith('As')) {
if (!member.async) {
if (member.spec)