<?xml version="1.0" encoding="UTF-8" ?>

<routes xmlns="http://symfony.com/schema/routing"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://symfony.com/schema/routing
        http://symfony.com/schema/routing/routing-1.0.xsd">

    <route id="json_ld_api_entrypoint" path="/">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:entrypoint</default>
    </route>

    <route id="json_ld_api_vocab" path="/vocab">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:vocab</default>
    </route>

    <route id="json_ld_api_entrypoint_context" path="/contexts/Entrypoint">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:entrypointContext</default>
    </route>

    <route id="json_ld_api_context" path="/contexts/{shortName}">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:context</default>
    </route>
</routes>

<?xml version="1.0" encoding="UTF-8" ?>

<routes xmlns="http://symfony.com/schema/routing"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://symfony.com/schema/routing
        http://symfony.com/schema/routing/routing-1.0.xsd">

    <route id="json_ld_api_entrypoint" path="/">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:entrypoint</default>
    </route>

    <route id="json_ld_api_vocab" path="/vocab">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:vocab</default>
    </route>

    <route id="json_ld_api_entrypoint_context" path="/contexts/Entrypoint">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:entrypointContext</default>
    </route>

    <route id="json_ld_api_context" path="/contexts/{shortName}">
        <default key="_controller">DunglasJsonLdApiBundle:Documentation:context</default>
        <requirement key="shortName">.+</requirement>
    </route>
</routes>

Allow shortName to contain a slash
Allow shortName to contain a slash
