stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.75k stars 176 forks source link

Stryker.net configuration file json schema #2850

Open rouke-broersma opened 4 months ago

rouke-broersma commented 4 months ago

Is your feature request related to a problem? Please describe. It would be nice to generate and publish a json schema for our config file so IDE schema validation could be enabled

Describe the solution you'd like https://www.newtonsoft.com/jsonschema/help/html/GeneratingSchemas.htm

Publish somewhere public like stryker website ? Publish to https://www.schemastore.org/json/ ; https://github.com/schemastore/schemastore/ ?

Additional context https://marketplace.visualstudio.com/items?itemName=remcohaszing.schemastore seems to be a vscode plugin for schemastore.

With init we should set the schema property by default pointing to a publicly available version of the schema. We should also create docs mentioning how to use the schema.