microsoft / microsoft/garnet

Support for JSON schema for garnet configuration file

Open
#586 0 comments 1 reaction 1 assignee Claimed by @TalZaccai View on GitHub
enhancement
Dominant language
C#
Stars
12k
Forks
703
Avg merge
2d 19h
Merged PRs (30d)
36

Description

### Feature request type

enhancement

### Is your feature request related to a problem? Please describe

This will enable IntelliSense when editing a `garnet.conf` file in vscode and other schema-store supporting IDE's

### Describe the solution you'd like

https://github.com/SchemaStore/schemastore/issues/3986

we could use the https://docs.json-everything.net/schema/schemagen/schema-generation/ library for this which also supports dotnet comments for the generated schema

### Describe alternatives you've considered

_No response_

### Additional context

This repo would include a json-schema file that would be generated based on the [`Options.cs`](https://github.com/microsoft/garnet/blob/main/libs/host/Configuration/Options.cs)` file, then in https://github.com/SchemaStore/schemastore/blob/master/src/api/json/catalog.json an entry will be added for garnet

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.