Skip to content

Commit

Permalink
remove uri encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
dcb6 committed Aug 5, 2024
1 parent 62ee041 commit 1b91f9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2570,7 +2570,7 @@
"autogeneratedExamples": [
{
"example": {
"url": "/path/%3E/%3E/red/red",
"url": "/path/>/>/red/red",
"rootPathParameters": [],
"servicePathParameters": [],
"endpointPathParameters": [
Expand Down Expand Up @@ -3055,7 +3055,7 @@
"value": null
}
},
"id": "91949998f94057b68f922ce4a84b88326c8aa85e",
"id": "2b72b39a0e4680a410f3497bf6398a4ee14229ca",
"docs": null
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export class ExampleGenerator {
examplePathParameters.forEach((examplePathParameter) => {
const value = examplePathParameter.value.jsonExample;
const stringValue = typeof value === "string" ? value : JSON.stringify(value);
result[examplePathParameter.name.originalName] = encodeURIComponent(stringValue);
result[examplePathParameter.name.originalName] = stringValue;
});
return result;
}
Expand Down

0 comments on commit 1b91f9f

Please sign in to comment.