[
https://issues.apache.org/jira/browse/GROOVY-11791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King updated GROOVY-11791:
-------------------------------
Description:
I propose something like:
{code:groovy}
json = /slurp https://api.github.com/repos/apache/groovy
{code}
is automatically converted to:
{code:groovy}
json = /slurp "https://api.github.com/repos/apache/groovy"
{code}
Supports this kind of interaction:
!Screenshot 2025-10-23 at 1.06.04 pm.png!
was:
I propose something like:
{code:groovy}
json = /slurp https://api.github.com/repos/apache/groovy
{code}
is automatically converted to:
{code:groovy}
json = /slurp "https://api.github.com/repos/apache/groovy"
{code}
> Support unquoted URLs in groovysh
> ---------------------------------
>
> Key: GROOVY-11791
> URL: https://issues.apache.org/jira/browse/GROOVY-11791
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Priority: Major
> Attachments: Screenshot 2025-10-23 at 1.06.04 pm.png
>
>
> I propose something like:
> {code:groovy}
> json = /slurp https://api.github.com/repos/apache/groovy
> {code}
> is automatically converted to:
> {code:groovy}
> json = /slurp "https://api.github.com/repos/apache/groovy"
> {code}
> Supports this kind of interaction:
> !Screenshot 2025-10-23 at 1.06.04 pm.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)