File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,18 @@ named `read_mask`.
4141
4242{% tab oas %}
4343
44- **Note:** OAS example not yet written.
44+ ```yaml
45+ parameters:
46+ - in: query
47+ name: fields
48+ schema:
49+ type: string
50+ description: >-
51+ A comma-separated list of fields to include in the response.
52+ If not provided, all fields are returned.
53+ Nested fields can be specified using dot notation.
54+ For example: `title,author.name`.
55+ ```
4556
4657{% endtabs %}
4758
@@ -89,6 +100,18 @@ enum BookView {
89100
90101{% tab oas %}
91102
92- **Note:** OAS example not yet written.
103+ ```yaml
104+ parameters:
105+ - in: query
106+ name: view
107+ schema:
108+ type: string
109+ enum:
110+ - BASIC
111+ - FULL
112+ description: >-
113+ Specifies which fields to return for the book.
114+ BASIC returns basic metadata, FULL returns all fields.
115+ ```
93116
94- {% endtabs %}
117+ {% endtab %}
You can’t perform that action at this time.
0 commit comments