# Operation Path Naming With API Platform Core, you can configure the default resolver used to generate operation paths. Pre-registered resolvers are available and can easily be overridden. ## Configuration There are two pre-registered operation path naming services: Service name | Entity name | Path result ------------------------------------------------------|--------------|---------------- `api_platform.path_segment_name_generator.underscore` | `MyResource` | `/my_resources` `api_platform.path_segment_name_generator.dash` | `MyResource` | `/my-resources` The default resolver is `api_platform.path_segment_name_generator.underscore`. To change it to the dash resolver, add the following lines to `api/config/packages/api_platform.yaml`: ```yaml # api/config/packages/api_platform.yaml api_platform: path_segment_name_generator: api_platform.path_segment_name_generator.dash ``` ## Create a Custom Operation Path Resolver Let's assume we need URLs without separators (e.g. `api.tld/myresources`) ### Defining the Operation Path Resolver Make sure the custom resolver implements [`ApiPlatform\Core\PathResolver\OperationPathResolverInterface`](https://github.com/api-platform/core/blob/master/src/PathResolver/OperationPathResolverInterface.php): ```php