mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
Temporal referencing fix
This commit is contained in:
parent
abefb06dd5
commit
abfd363401
|
@ -52,7 +52,8 @@ export default class SchemaManager {
|
|||
byPointer(pointer) {
|
||||
let res = null;
|
||||
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*/ }
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user