lieldulev/swagger-to-locustfile

Follow $ref (at least for parameters)

Closed this issue · 0 comments

Currently not recognizing required parameters that are defined in the definition object and referenced from a path.

Workaround

use swagger-codegen to generate a json w/o param's $ref :
swagger-codegen generate -i input.yaml -l swagger

And then use the swagger.json output file with swagger2locustfile