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

feat(swagger-ui): persist authorization #6877

Merged
merged 11 commits into from
Jan 17, 2025

Conversation

ViPErCZ
Copy link
Contributor

@ViPErCZ ViPErCZ commented Dec 18, 2024

[FTR] add Swagger UI config directive: persistAuthorization

@ViPErCZ ViPErCZ changed the title Feature/persist authorization feat(swagger-ui): persist authorization Dec 18, 2024
@jpcaparas
Copy link

I second this change. It's much better to have the ability to persist authorization rather than having to type in the PKCE client ID each time.

@soyuka
Copy link
Member

soyuka commented Jan 9, 2025

can you target the 4.1 or main branch?

@ViPErCZ
Copy link
Contributor Author

ViPErCZ commented Jan 9, 2025

can you target the 4.1 or main branch?

only 4.1 version (branch) is OK for me ❤️

@ViPErCZ
Copy link
Contributor Author

ViPErCZ commented Jan 15, 2025

@soyuka Do I need to do anything else?

@soyuka soyuka changed the base branch from 4.0 to 4.1 January 16, 2025 07:35
@soyuka
Copy link
Member

soyuka commented Jan 16, 2025

I changed the target branch to 4.1 but this needs a rebase, also it looks like test failures are related, feel free to ping me on slack if you've trouble running tests.

@ViPErCZ
Copy link
Contributor Author

ViPErCZ commented Jan 16, 2025

@soyuka I fixed the merge conflicts and tests (my unit tests are also running locally), but some Laravel tests are still crashing. Can you please take a look? Thank you.

Copy link
Member

@soyuka soyuka left a comment

Choose a reason for hiding this comment

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

I can add these myself feel free to comment if you've a question. I'll probably release that tomorrow in a beta version.

src/OpenApi/Options.php Outdated Show resolved Hide resolved
src/OpenApi/Options.php Outdated Show resolved Hide resolved
src/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php Outdated Show resolved Hide resolved
src/Symfony/Bundle/SwaggerUi/SwaggerUiProcessor.php Outdated Show resolved Hide resolved
src/Symfony/Bundle/DependencyInjection/Configuration.php Outdated Show resolved Hide resolved
src/Symfony/Bundle/Resources/config/openapi.xml Outdated Show resolved Hide resolved
@ViPErCZ
Copy link
Contributor Author

ViPErCZ commented Jan 17, 2025

@soyuka thanks... perfect

@soyuka soyuka merged commit c97db6b into api-platform:4.1 Jan 17, 2025
57 of 59 checks passed
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