mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 15:58:16 +08:00
Rename all ReRoute to Route to move closer to YARP +semver: breaking
This commit is contained in:
@ -22,7 +22,7 @@ The following is a very basic ocelot.json. It won't do anything but should get O
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"ReRoutes": [],
|
||||
"Routes": [],
|
||||
"GlobalConfiguration": {
|
||||
"BaseUrl": "https://api.mybusiness.com"
|
||||
}
|
||||
@ -33,7 +33,7 @@ If you want some example that actually does something use the following:
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"ReRoutes": [
|
||||
"Routes": [
|
||||
{
|
||||
"DownstreamPathTemplate": "/todos/{id}",
|
||||
"DownstreamScheme": "https",
|
||||
@ -124,7 +124,7 @@ The following is a very basic ocelot.json. It won't do anything but should get O
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"ReRoutes": [],
|
||||
"Routes": [],
|
||||
"GlobalConfiguration": {}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user