-
Notifications
You must be signed in to change notification settings - Fork 277
[typespec-vscode] Fix openapi3 preview error when path contain space #7353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mzhongl524
merged 66 commits into
microsoft:main
from
mzhongl524:fix-openapi3-preview-error-when-path-contain-space
May 29, 2025
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
b0ac596
Merge pull request #1 from microsoft/main
mzhongl524 3fcbe52
Merge branch 'microsoft:main' into main
mzhongl524 c109816
Merge branch 'microsoft:main' into main
mzhongl524 23f0108
Merge branch 'microsoft:main' into main
mzhongl524 6f04f65
Merge branch 'microsoft:main' into main
mzhongl524 688ca03
Merge branch 'microsoft:main' into main
mzhongl524 de3725e
Merge branch 'microsoft:main' into main
mzhongl524 8130ffb
Merge branch 'microsoft:main' into main
mzhongl524 beb6433
Merge branch 'microsoft:main' into main
mzhongl524 8a501f2
Merge branch 'microsoft:main' into main
mzhongl524 6e1ab2d
Merge branch 'microsoft:main' into main
mzhongl524 a35052f
Merge branch 'microsoft:main' into main
mzhongl524 be57c13
Merge branch 'microsoft:main' into main
mzhongl524 3a9dc7a
Merge branch 'microsoft:main' into main
mzhongl524 ad7dff7
Merge branch 'microsoft:main' into main
mzhongl524 f8e8f2f
Merge branch 'microsoft:main' into main
mzhongl524 7a700c8
Merge branch 'microsoft:main' into main
mzhongl524 5099583
Merge branch 'microsoft:main' into main
mzhongl524 a45dbd5
Merge branch 'microsoft:main' into main
mzhongl524 68cc91d
Merge branch 'microsoft:main' into main
mzhongl524 48a44ad
Merge branch 'microsoft:main' into main
mzhongl524 b9283c4
Merge branch 'microsoft:main' into main
mzhongl524 4286411
Merge branch 'microsoft:main' into main
mzhongl524 e549035
Merge branch 'microsoft:main' into main
mzhongl524 9717310
Merge branch 'microsoft:main' into main
mzhongl524 75260f8
Merge branch 'microsoft:main' into main
mzhongl524 18b1595
Merge branch 'microsoft:main' into main
mzhongl524 51078a7
Merge branch 'microsoft:main' into main
mzhongl524 75ae17a
Merge branch 'microsoft:main' into main
mzhongl524 da28d95
Merge branch 'microsoft:main' into main
mzhongl524 4afbb98
Merge branch 'microsoft:main' into main
mzhongl524 463bdd5
Merge branch 'microsoft:main' into main
mzhongl524 c105d86
Merge branch 'microsoft:main' into main
mzhongl524 39dc63e
Merge branch 'microsoft:main' into main
mzhongl524 ddb0c11
Merge branch 'microsoft:main' into main
mzhongl524 dccb3dc
Merge branch 'microsoft:main' into main
mzhongl524 af9903b
Merge branch 'microsoft:main' into main
mzhongl524 2dddaf5
Merge branch 'microsoft:main' into main
mzhongl524 857b72b
Merge branch 'microsoft:main' into main
mzhongl524 41f34d9
Merge branch 'microsoft:main' into main
mzhongl524 f4dd38f
Merge branch 'microsoft:main' into main
mzhongl524 4fd48e5
Merge branch 'microsoft:main' into main
mzhongl524 9870818
Merge branch 'microsoft:main' into main
mzhongl524 9bf8cdc
Merge branch 'microsoft:main' into main
mzhongl524 3594679
OpenAPI3 preview reports error when the path contains space
mzhongl524 3f1f641
updated
mzhongl524 687f0b0
Create fix-openapi3-preview-error-when-path-contain-space-2025-4-15-8…
mzhongl524 2ca828b
updated
mzhongl524 7fbb45d
updated
mzhongl524 af25256
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 abf0824
updated
mzhongl524 044680a
updated
mzhongl524 fdeae62
updated
mzhongl524 9bad89e
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 c131f65
updated
mzhongl524 e19cdf2
updated
mzhongl524 089ef17
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 88d7533
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 7093ba1
updated
mzhongl524 c18ae86
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 4590c92
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 8c8122c
updated
mzhongl524 3b4f543
Merge branch 'fix-openapi3-preview-error-when-path-contain-space' of …
mzhongl524 d32076d
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 f6e818e
Merge branch 'main' into fix-openapi3-preview-error-when-path-contain…
mzhongl524 ca9759e
updated
mzhongl524 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...changes/fix-openapi3-preview-error-when-path-contain-space-2025-4-15-8-38-52.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: fix | ||
packages: | ||
- typespec-vscode | ||
--- | ||
|
||
Fix openapi3 preview error when path contains space |
7 changes: 7 additions & 0 deletions
7
...hanges/fix-openapi3-preview-error-when-path-contain-space-2025-4-21-16-57-43.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
changeKind: internal | ||
packages: | ||
- "@typespec/internal-build-utils" | ||
--- | ||
|
||
Add lowercase names to the license name |
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,21 @@ granted herein, whether by implication, estoppel or otherwise. | |
2. balanced-match version 1.0.2 (https://github.com/juliangruber/balanced-match) | ||
3. brace-expansion version 2.0.1 (https://github.com/juliangruber/brace-expansion) | ||
4. change-case version 5.4.4 (https://github.com/blakeembrey/change-case) | ||
5. fast-deep-equal version 3.1.3 (https://github.com/epoberezkin/fast-deep-equal) | ||
6. fast-uri version 3.0.6 (https://github.com/fastify/fast-uri) | ||
7. isexe version 3.1.1 (https://github.com/isaacs/isexe) | ||
8. json-schema-traverse version 1.0.0 (https://github.com/epoberezkin/json-schema-traverse) | ||
9. minimatch version 5.1.6 (https://github.com/isaacs/minimatch) | ||
10. mustache version 4.2.0 (https://github.com/janl/mustache.js) | ||
11. semver version 7.7.2 (https://github.com/npm/node-semver) | ||
12. which version 5.0.0 (https://github.com/npm/node-which) | ||
13. yaml version 2.7.1 (github:eemeli/yaml) | ||
5. cross-spawn version 7.0.6 ([email protected]:moxystudio/node-cross-spawn) | ||
6. fast-deep-equal version 3.1.3 (https://github.com/epoberezkin/fast-deep-equal) | ||
7. fast-uri version 3.0.6 (https://github.com/fastify/fast-uri) | ||
8. isexe version 2.0.0 (https://github.com/isaacs/isexe) | ||
9. isexe version 3.1.1 (https://github.com/isaacs/isexe) | ||
10. json-schema-traverse version 1.0.0 (https://github.com/epoberezkin/json-schema-traverse) | ||
11. minimatch version 5.1.6 (https://github.com/isaacs/minimatch) | ||
12. mustache version 4.2.0 (https://github.com/janl/mustache.js) | ||
13. path-key version 3.1.1 (sindresorhus/path-key) | ||
14. semver version 7.7.2 (https://github.com/npm/node-semver) | ||
15. shebang-command version 2.0.0 (kevva/shebang-command) | ||
16. shebang-regex version 3.0.0 (sindresorhus/shebang-regex) | ||
17. which version 2.0.2 (https://github.com/isaacs/node-which) | ||
18. which version 5.0.0 (https://github.com/npm/node-which) | ||
19. yaml version 2.7.1 (github:eemeli/yaml) | ||
|
||
|
||
%% ajv NOTICES AND INFORMATION BEGIN HERE | ||
|
@@ -136,6 +142,34 @@ THE SOFTWARE. | |
END OF change-case NOTICES AND INFORMATION | ||
|
||
|
||
%% cross-spawn NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Made With MOXY Lda <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
====================================================="); | ||
END OF cross-spawn NOTICES AND INFORMATION | ||
|
||
|
||
%% fast-deep-equal NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
MIT License | ||
|
@@ -200,6 +234,28 @@ The complete list of contributors can be found at: | |
END OF fast-uri NOTICES AND INFORMATION | ||
|
||
|
||
%% isexe NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The ISC License | ||
|
||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
====================================================="); | ||
END OF isexe NOTICES AND INFORMATION | ||
|
||
|
||
%% isexe NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The ISC License | ||
|
@@ -290,6 +346,22 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI | |
END OF mustache NOTICES AND INFORMATION | ||
|
||
|
||
%% path-key NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
MIT License | ||
|
||
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
====================================================="); | ||
END OF path-key NOTICES AND INFORMATION | ||
|
||
|
||
%% semver NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The ISC License | ||
|
@@ -312,6 +384,60 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
END OF semver NOTICES AND INFORMATION | ||
|
||
|
||
%% shebang-command NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
MIT License | ||
|
||
Copyright (c) Kevin Mårtensson <[email protected]> (github.com/kevva) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
====================================================="); | ||
END OF shebang-command NOTICES AND INFORMATION | ||
|
||
|
||
%% shebang-regex NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
MIT License | ||
|
||
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
====================================================="); | ||
END OF shebang-regex NOTICES AND INFORMATION | ||
|
||
|
||
%% which NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The ISC License | ||
|
||
Copyright (c) Isaac Z. Schlueter and Contributors | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
====================================================="); | ||
END OF which NOTICES AND INFORMATION | ||
|
||
|
||
%% which NOTICES AND INFORMATION BEGIN HERE | ||
===================================================== | ||
The ISC License | ||
|
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.