Also validate request bodies against the OpenAPI spec

Created on 7 August 2024, 5 months ago
Updated 9 September 2024, 3 months ago

Overview

Follow-up for πŸ“Œ Create an Open API spec for the current mock HTTP responses Fixed .

#3450308 introduced an OpenAPI spec for XB's API, and started using it to ensure responses conform to that spec, *as well as* ensuring that the UI fixtures (which msw then uses to generate responses) conform to that spec.

But … an OpenAPI spec can also dictate what the shape of requests looks like. That would've prevented πŸ› Fix undo/redo functionality Needs review , and would've automatically performed the analysis I did at #3464814-17: Fix undo/redo functionality β†’ for us! πŸ€“

Proposed resolution

User interface changes

None.

πŸ“Œ Task
Status

Fixed

Component

Page builder

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024