OAS: An invalid HAR Request
is produced when path item object contains properties other than http methods
#242
Labels
Type: bug
Something isn't working.
Description
Converting of some specifications to HAR results in having an invalid HAR
Request
, when path item object hasparameters
orservers
properties specified.Proposed solution
Filter out all the properties other than http methods according to the specification
Steps to reproduce
Pass the
my-schema.yaml
(see below) to theoas2har
as follows:my-schema.yaml
Actual result
An invalid request produced containing
PARAMETERS
as http method valuemy-schema.har
Expected result
PARAMETERS
request is omittedmy-schema.har
The text was updated successfully, but these errors were encountered: