Hi @TomPallister, It would be great if can give auto-complete, live documentation, validation support for ocelot.config file.
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:

Live Documentation:


Validation:

Isn't cool? What you think? I have created sample schema, let me know if I can help!
Thanks.
+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 :
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.
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.
Most helpful comment
+1, Schema would be perfect!!!