Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Merge requests
  • !2059

Add `controller.service_arguments` tag to controllers to make them public

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/ossinkine/symfony-controllers-public into master 6 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: ossinkine

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

Fixes #1002 (closed) Continues #1003

cc @jebentier @dkarlovi @mandrean @jfastnacht @ackintosh @ybelenko @renepardon

Compare
  • master (base)

and
  • latest version
    0b50f996
    1 commit, 2 years ago

2 files
+ 4
- 0

    Preferences

    File browser
    Compare changes
modules/…/…/…‎/…/php-symfony‎
services‎.mustache‎ +1 -0
samples/server/…/…‎/…/Resources/config‎
servic‎es.yml‎ +3 -0
modules/openapi-generator/src/main/resources/php-symfony/services.mustache
+ 1
- 0
  • View file @ 0b50f996

  • Edit in single-file editor

  • Open in Web IDE


@@ -28,6 +28,7 @@ services:
- [setSerializer, ['@{{bundleAlias}}.service.serializer']]
- [setValidator, ['@{{bundleAlias}}.service.validator']]
- [setApiServer, ['@{{bundleAlias}}.api.api_server']]
tags: ['controller.service_arguments']
{{/operations}}
{{/apis}}
samples/server/petstore/php-symfony/SymfonyBundle-php/Resources/config/services.yml
+ 3
- 0
  • View file @ 0b50f996

  • Edit in single-file editor

  • Open in Web IDE


@@ -25,6 +25,7 @@ services:
- [setSerializer, ['@open_apiserver.service.serializer']]
- [setValidator, ['@open_apiserver.service.validator']]
- [setApiServer, ['@open_apiserver.api.api_server']]
tags: ['controller.service_arguments']
open_apiserver.controller.store:
class: OpenAPI\Server\Controller\StoreController
@@ -32,6 +33,7 @@ services:
- [setSerializer, ['@open_apiserver.service.serializer']]
- [setValidator, ['@open_apiserver.service.validator']]
- [setApiServer, ['@open_apiserver.api.api_server']]
tags: ['controller.service_arguments']
open_apiserver.controller.user:
class: OpenAPI\Server\Controller\UserController
@@ -39,4 +41,5 @@ services:
- [setSerializer, ['@open_apiserver.service.serializer']]
- [setValidator, ['@open_apiserver.service.validator']]
- [setApiServer, ['@open_apiserver.api.api_server']]
tags: ['controller.service_arguments']
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
Enhancement: General Server: PHP
2
Enhancement: General Server: PHP
    Assign labels
  • Manage project labels

Milestone
4.0.0
4.0.0 (expired)
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference: OpenAPITools/openapi-generator!2059
Source branch: github/fork/ossinkine/symfony-controllers-public

Menu

Explore Projects Groups Snippets