mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-01 01:33:03 +03:00
Temporal referencing fix
This commit is contained in:
parent
abefb06dd5
commit
abfd363401
|
@ -52,7 +52,8 @@ export default class SchemaManager {
|
||||||
byPointer(pointer) {
|
byPointer(pointer) {
|
||||||
let res = null;
|
let res = null;
|
||||||
try {
|
try {
|
||||||
res = JsonPointer.get(this._schema, pointer);
|
// TODO: remove decodeURIComponent after this issue is fixed: https://github.com/BigstickCarpet/swagger-parser/issues/31
|
||||||
|
res = JsonPointer.get(this._schema, decodeURIComponent(pointer));
|
||||||
} catch(e) {/*skip*/ }
|
} catch(e) {/*skip*/ }
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user