You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important to understand that default resolver plugins are run in specific order. The order is determined
851
-
by the [options.resolve.resolvers]https://github.com/swagger-api/apidom/blob/ba888d711a4292e8ed0b72e343c4902a4bf0d45a/packages/apidom-reference/src/configuration/saturated.ts#L36) option.
851
+
by the [options.resolve.resolvers](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L56) option.
852
852
Every plugin is pulled from `options.resolve.resolvers` option, and it's `canRead` method is called to determine
853
853
whether the plugin can resolve the URI. If `canRead` returns `true`, `read` method of plugin is called
854
854
and result from reading the file is returned. No subsequent resolver plugins are run.
@@ -1246,7 +1246,7 @@ Supported media types:
1246
1246
##### External resolution strategies execution order
1247
1247
1248
1248
It's important to understand that default external resolution strategies are run in specific order. The order is determined
1249
-
by the [options.resolve.strategies](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L56) option.
1249
+
by the [options.resolve.strategies](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L61) option.
1250
1250
Every strategy is pulled from `options.resolve.strategies` option and its `canResolve` method is called to determine
1251
1251
whether the strategy can externally resolve the URI. If `canResolve` returns `true`, `resolve` method of strategy is called
1252
1252
and result from external resolution is returned. No subsequent strategies are run. If `canResolve` returns
@@ -1259,6 +1259,7 @@ returns `true` or until entire list of strategies is exhausted (throws error).
1259
1259
newOpenAPI3_0ResolveStrategy(),
1260
1260
newOpenAPI3_1ResolveStrategy(),
1261
1261
newAsyncAPI2ResolveStrategy(),
1262
+
newApiDOMResolveStrategy(),
1262
1263
]
1263
1264
```
1264
1265
Most specific strategies are listed first, most generic are listed last.
@@ -1267,6 +1268,7 @@ It's possible to **change** strategies **order globally** by mutating global `re
It's important to understand that default dereference strategies are run in specific order. The order is determined
1620
-
by the [options.dereference.strategies](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L64) option.
1625
+
by the [options.dereference.strategies](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L69) option.
1621
1626
Every strategy is pulled from `options.dereference.strategies` option and it's `canDereference` method is called to determine
1622
1627
whether the strategy can dereference the URI. If `canDereference` returns `true`, `dereference` method of strategy is called
1623
1628
and result from dereferencing is returned. No subsequent strategies are run. If `canDereference` returns
@@ -1630,6 +1635,7 @@ returns `true` or until entire list of strategies is exhausted (throws error).
1630
1635
newOpenAPI3_0DereferenceStrategy(),
1631
1636
newOpenAPI3_1DereferenceStrategy(),
1632
1637
newAsyncAPI2DereferenceStrategy(),
1638
+
newAsyncAPI3DereferenceStrategy(),
1633
1639
newApiDOMDereferenceStrategy(),
1634
1640
]
1635
1641
```
@@ -1640,6 +1646,7 @@ It's possible to **change** strategies **order globally** by mutating global `de
It's important to understand that default bundle strategies are run in specific order. The order is determined
1916
-
by the `options.bundle.strategies` option.
1926
+
by the [options.bundle.strategies](https://github.com/swagger-api/apidom/blob/main/packages/apidom-reference/src/configuration/saturated.ts#L78) option.
1917
1927
Every strategy is pulled from `options.bundle.strategies` option, and it's `canBundle` method is called to determine
1918
1928
whether the strategy can bundle the URI. If `canBundle` returns `true`, `bundle` method of strategy is called
1919
1929
and result from bundling is returned. No subsequent strategies are run. If `canBundle` returns
0 commit comments