Support YAML files for OpenAPI Specs
Problem
According to the OpenAPI specification a openapi definition can be defined in yaml or json. However API fuzzing only accepts a json format.
The swagger online editor can easily convert from json to yaml, but defaults to YAML. Users may prefer to work in YAML as a result.
Proposal
Allow a user to specify the specification in YAML or JSON format.
Tasks:
- Verify
NSwaglibrary supports yaml - Update validation performed by
worker-entryto support yaml for OpenAPI specifications - Update
runneras needed to support yaml for OpenAPI - Testing
- Add unit tests for
runnerin c#- OpenAPI YAML for v2.0, v3.0
- Add integration test for
worker-entrythat uses yaml- OpenAPI YAML for v2.0, v3.0 (using UTF-8-BOM)
- Add e2e test that uses yaml
- Add unit tests for
- Publish new container
- Update documentation to reflect either format is supported. MR !61751 (merged)
- API Fuzzing
- DAST API
MR !508
Edited by Michael Eddington