elements icon indicating copy to clipboard operation
elements copied to clipboard

fix(elements): double asterisks in path results in error

Open porotkin opened this issue 2 years ago • 3 comments

Double Asterisks (**) in openapi path results in error

In general, make sure you have: (check the boxes to acknowledge you've followed this template)

  • [x] Read CONTRIBUTING.md

Other Available PR Templates:

  • Release: https://github.com/stoplightio/elements/compare?template=release.md
    • [x] Read the release section of CONTRIBUTING.md

Example:

  1. open https://stoplight-elements.netlify.app/?path=/story/public-api--open-api-3-schema
  2. add ** to any path (e.g. '/todos/{id} -> '/todos/{id}/**')

ER: Such path does not break the view. Displayed correctly AR: Unexpected error while parsing regexp. image

Fixed behavior can be tested on netlify CI server

porotkin avatar Jun 01 '23 14:06 porotkin

Deploy Preview for stoplight-elements ready!

Name Link
Latest commit 6fd82b3c23f9d7293d83f5bb9793c54e5556385a
Latest deploy log https://app.netlify.com/sites/stoplight-elements/deploys/6478aae15135a60008e05d23
Deploy Preview https://deploy-preview-2369--stoplight-elements.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 01 '23 14:06 netlify[bot]

Deploy Preview for stoplight-elements-demo ready!

Name Link
Latest commit 6fd82b3c23f9d7293d83f5bb9793c54e5556385a
Latest deploy log https://app.netlify.com/sites/stoplight-elements-demo/deploys/6478aae120624c000821b17c
Deploy Preview https://deploy-preview-2369--stoplight-elements-demo.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 01 '23 14:06 netlify[bot]

@P0lip, please, take a look :)

porotkin avatar Jun 01 '23 14:06 porotkin

We are closing old PRs. Feel free to re-create if you are still looking to fix this issue.

brendarearden avatar Jul 10 '24 16:07 brendarearden