datadog-ci icon indicating copy to clipboard operation
datadog-ci copied to clipboard

[synthetics] Generate JSON schemas from interfaces

Open Drarig29 opened this issue 2 years ago • 1 comments

💡 Better reviewed commit by commit

What and why?

We'd like to improve the developer experience when editing the datadog-ci.json file, or test files (aka. *.synthetics.json).

How?

Generate JSON schemas based on TypeScript interfaces with JSDoc, that IDEs can use to provide autocompletion.

And then add those JSON schemas to the corresponding repository: https://github.com/DataDog/schema/pull/22

Review checklist

  • [ ] Feature or bugfix MUST have appropriate tests (unit, integration)

Drarig29 avatar Jun 02 '23 15:06 Drarig29

Datadog Report

Branch report: corentin.girard/SYNTH-3437/prepare-for-json-schemas-generation Commit report: f74f64d

:white_check_mark: datadog-ci-tests: 0 Failed, 0 New Flaky, 4314 Passed, 0 Skipped, 2m 55.5s Wall Time