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

Changes in Rest API are not reflected in Swagger UI #115

Open
amenk opened this issue May 31, 2024 · 0 comments
Open

Changes in Rest API are not reflected in Swagger UI #115

amenk opened this issue May 31, 2024 · 0 comments

Comments

@amenk
Copy link

amenk commented May 31, 2024

When I Change the RequestInterface (getter / setter / Parameter) the following is logged in the watcher:

13:03:27 Cleaning id(s): serviceInterfaceMethodsMap-6bb796843910604bfbeb4ae0391591b8 service_method_params_facbcb4a3bacf9c8f3662bbaeb417b03 service_method_params_1209188e198ff82d086d6227a92047d0 service_method_params_65b6c086d8a726811b239d9d32f3e700 service_method_params_ed7769004196edb2cdbaf5edbbdf1191 service_method_params_78c2e69534e0a88e1632bb277e3d3d71 service_method_params_7039de60281cb7e928a4bf26e68747d0 service_method_params_c18f6727cba73260a50b5801378735fd service_method_params_7d8d1888806090aa6b10f1583cdc5bd5 service_method_params_d72457085012c6130a460515f8df187b service_method_params_085bb1099ddb7fc5a0f1d1a7410a8ed5 service_method_params_e7f5c5d7b5b31c2b9e9b94976019327c service_method_params_defc804878968cf6a7dc532c34f9f8c5 service_method_params_9c7487ab37f8d5b5ce75f8d59df62e2a service_method_params_91e1a4cce436215923406b65a1b4607c service_method_params_8e5161fdc35c13dd45b16a08c64166e4 service_method_params_bd753ce51b99d428b38445485baa5d72 service_method_params_22aa00a90e1fed0e75ad9b6990bf0e9e service_method_params_23a30b243113ad8ed69460fe274b607e service_method_params_17aa1eb440f27cb62fbb3950a6d0bd9e service_method_params_93c08dadfdb734b4fe568726d63a7042 service_method_params_fb7a6f2a75b6b29f02df5a5ed252597b service_method_params_e1eb1bc15a107bb055da3a5c2a5f5488 service_method_params_9e23135ffb4ee31b4850c29567a6e036 service_method_params_a8b99090654deb195e11bfd166ea95c4

I now reload the swagger UI:

/storecode/swagger#/FooBarV1/PostV1Coupon_orderCreate

in the browser, reauthorize to swagger (because it's a protected API), the old information is displayed.

Is there some additional swagger cache which needs to be cleared?

If I execute n98-magerun2 cache:flush I can see the changes.

Magento Version: 2.4.5-p5
Cache-clean release 1.0.52

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

No branches or pull requests

1 participant