Files
svc-api-x/v1/taffy/tests/resources/ConflictingURI.cfc
T
2024-10-23 11:17:42 +03:00

12 lines
341 B
Plaintext

<cfcomponent extends="taffy.core.resource" taffy:uri="/conflict/{URI}, /conflict/{URI}" hint="I have multiple uris">
<cffunction name="get">
<cfargument name="uri" type="string" default="0" />
<cfset local.res = {} />
<cfset local.res.uri = arguments.uri />
<cfreturn representationOf(local.res) />
</cffunction>
</cfcomponent>