Commit c0dd962
authored
fix: Fix OpenAPI schema errors (#2270)
- Fix OpenAPI schema errors reported by `express-openapi-validator`
- Change `style` of several `query` from `simple` to `form` to be
compliant with the spec
Closes: #2269
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Documentation/schema-only change that adjusts OpenAPI parameter
metadata; runtime API behavior should be unaffected aside from client
generation/validation.
>
> **Overview**
> Fixes OpenAPI spec validation issues by changing the `signature` query
parameter serialization from `style: simple` to `style: form` on several
storage endpoints (`datasets/{datasetId}/items`,
`key-value-stores/{storeId}/keys`, and
`key-value-stores/{storeId}/records/{recordKey}`). This aligns the
schema with OpenAPI rules and should stop `express-openapi-validator`
from reporting errors for these routes.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5bdc897. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 59dce5e commit c0dd962
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- apify-api/openapi/paths
- datasets
- key-value-stores
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments