question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't add path have PathParameter

See original GitHub issue

i used OpenAPI3.

i wanted to add this API path, /{paramA},{paramB}/{filename}.{extension} but dialog say “Enter a valid Path”(red bold), and can’t click add button.

i would tried to other pattern, /{paramA} -> OK /{paramA}/{paramB} -> OK /filename.{extension} -> OK /{paramA},{paramB} -> NG /{filename}.{extension} -> NG

swagger editor does not error those path.

Is it a restrict of apicurio studio? Will apicurio support those paths?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
EricWittmanncommented, Aug 30, 2019

Yes - that part is definitely a bug that needs to be fixed. But right now there is the workaround of changing the path in the Source tab.

0reactions
EricWittmanncommented, Oct 23, 2019

Hi @turutosiya - sorry for the delay in my response. I’ve been on leave for a little while.

I think we should be more permissive in the regexp, so I think both of your examples should be allowed. There does not seem to be any specific requirement defined in the OpenAPI specification around this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a Path to the Linux PATH Variable | Baeldung on Linux
The PATH variable is an environment variable containing an ordered list of paths that Linux will search for executables when running a command....
Read more >
Adding value to path parameter in Java REST? - Stack Overflow
In short, I have attempted to add the parameter "scan_id" value but since it is a POST i can't add the value directly...
Read more >
How to correctly add a path to PATH? - Unix StackExchange
The simple stuff. PATH=$PATH:~/opt/bin. or. PATH=~/opt/bin:$PATH. depending on whether you want to add ~/opt/bin at the end (to be searched ...
Read more >
Path Parameters - FastAPI
because the path parameter item_id had a value of "foo" , which is not an int . ... Then create class attributes with...
Read more >
How to Set the PATH Variable in macOS - TechPP
Why Do You Need to Set the PATH Environment Variable? On macOS, when you run a command in the terminal, it searches for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found