Ocelot: JSON schema for ocelot configurations.

Created on 14 Jul 2018  路  8Comments  路  Source: ThreeMammals/Ocelot

New Feature

Hi @TomPallister, It would be great if can give auto-complete, live documentation, validation support for ocelot.config file.

Motivation for New Feature

Well, It is hard to remember all the configurations 馃槂 so was thinking if we can give mentioned support via json schema

Here is some examples:

Auto-Complete:

image

Live Documentation:

image

image

Validation:
image

Isn't cool? What you think? I have created sample schema, let me know if I can help!

Thanks.

enhancement good first issue help wanted medium effort

Most helpful comment

+1, Schema would be perfect!!!

All 8 comments

+1, Schema would be perfect!!!

@anktsrkr @xxsybreedxx this looks cool! I have no idea how this works 馃槃 is there any documentation that shows how to do it? What tools you need etc? Is this something you could help with?

Hi @TomPallister yes i can help but need your input as well 馃槂

Please find the resources from where you will get the idea :

Overview

Getting Started Step-By-Step

Schema Store

Tool We Can Use

My suggestion is to create schema using mentioned tool, and then we should work on documentations.

oh, forgot to mention Rider, Visual Studio 2013+, Visual Studio Code, Visual Studio Code for Mac has direct support of json schema, so I believe everyone will love this!

Let me know what you think.

This seems to be where the JSON Schema used in visual studio is defined.

https://github.com/SchemaStore/schemastore

This all looks good, if you guys want to implement this go for it.

The only advice I would have is be aware that the Ocelot configuration changes so whatever we do here needs to reflect that or be easy to update ;)

@anktsrkr - are you doing anything with this?

This is done. Here is the pull request for SchemaStore.
https://github.com/SchemaStore/schemastore/pull/595

Updated: Pull request has been merged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucianoscastro picture lucianoscastro  路  3Comments

bremnes picture bremnes  路  3Comments

FerAguilarR93 picture FerAguilarR93  路  3Comments

cpiock picture cpiock  路  4Comments

mjrousos picture mjrousos  路  6Comments