Skip to content
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

fix(symfony): documentation request _format #6390

Merged
merged 1 commit into from
May 27, 2024

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented May 25, 2024

fixes #6372

@soyuka soyuka force-pushed the fix/openapi-format branch 3 times, most recently from c0f16a6 to ff451da Compare May 27, 2024 06:58
@@ -432,3 +432,9 @@ Feature: Documentation support
]
"""
And the JSON node "components.schemas.DummyBoolean.properties.isDummyBoolean.owl:maxCardinality" should not exist

Scenario: Retrieve the OpenAPI documentation in JSON
Given I add "Accept" header equal to "text/html,*/*;q=0.8"
Copy link
Member Author

Choose a reason for hiding this comment

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

@bendavies note that browsers are sending */* without that we always control the Accept header before the .{_format} and we'd get a 406.

Copy link
Contributor

Choose a reason for hiding this comment

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

@soyuka i'm not sure what you mean sorry.

@soyuka soyuka merged commit 55f27dc into api-platform:3.3 May 27, 2024
74 of 76 checks passed
@soyuka soyuka deleted the fix/openapi-format branch May 27, 2024 09:47
@bendavies
Copy link
Contributor

@soyuka can we have a release for this? thanks!

@soyuka
Copy link
Member Author

soyuka commented May 28, 2024

sorry tried tonight but wasn't able to (needed to catch up on api-platform/api-platfom) will try again tomorrow!

@soyuka
Copy link
Member Author

soyuka commented May 29, 2024

done !

@bendavies
Copy link
Contributor

thankyou!

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.

None yet

2 participants