Skip to content

fix(2.7 upgrade): text inconsistencies #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2022

Conversation

PommeThibaudeau
Copy link

_api_item_operation_name => _api_operation_name
snake_case to camelCase
removes 'collectionOperation' and 'itemOperation' references.
Replaces some texts to mathc the new behavior

_api_operation_name
snake to camel case
operations
@PommeThibaudeau PommeThibaudeau changed the base branch from 2.6 to main September 7, 2021 13:52
@soyuka soyuka merged commit ed5738b into api-platform:main Mar 13, 2022
@soyuka
Copy link
Member

soyuka commented Mar 13, 2022

thanks @PierreThibaudeau !

@@ -380,7 +380,7 @@ class CreateBookPublication extends AbstractController
methods: ['POST'],
defaults: [
'_api_resource_class' => Book::class,
'_api_item_operation_name' => 'post_publication',
'_api_operation_name' => '_api_/books/{id}/publication_post',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be "post_publication" and not "api/books/{id}/publication_post" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants