forked from loafle/openapi-generator-original
correction of alias to generate php-symfony (#2547)
* [BUG][php-symfony] Fix alias generation * fix * add bundle alias option and alias logic when it is not defined * run bin/utils/ensure-up-to-date to update php-symfony.md
This commit is contained in:
committed by
William Cheng
parent
67b3766332
commit
1436ee1da6
@@ -65,7 +65,7 @@ Step 3: Register the routes:
|
||||
|
||||
```yaml
|
||||
# app/config/routing.yml
|
||||
open_apiserver:
|
||||
open_api_server:
|
||||
resource: "@OpenAPIServerBundle/Resources/config/routing.yml"
|
||||
```
|
||||
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
acme.my_bundle.api.pet:
|
||||
class: Acme\MyBundle\Api\PetApi
|
||||
tags:
|
||||
- { name: "open_apiserver.api", api: "pet" }
|
||||
- { name: "open_api_server.api", api: "pet" }
|
||||
# ...
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user