-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't URI encode schema keys when using $ref
This fixes an isssue where using `$` in type names leads to invalid OpenAPI specs. This would happen because the `refName` property that is used as the object key for refs and to create `$ref` attributes is URI encoded on creation, when it only needs to be URI encoded when used in a `$ref` attribute. Fixes #1461 Signed-off-by: Lucian Buzzo <[email protected]>
- Loading branch information
1 parent
4f452f9
commit 38c14f1
Showing
3 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters