can't add path have PathParameter
See original GitHub issuei 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:
- Created 4 years ago
- Reactions:2
- Comments:18 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.