-
Notifications
You must be signed in to change notification settings - Fork 161
Publisher Try Out: Add “Copy cURL” exactly like DevPortal #1215
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
base: main
Are you sure you want to change the base?
Publisher Try Out: Add “Copy cURL” exactly like DevPortal #1215
Conversation
…copy, aligning with Dev Portal
|
Hi team, I couldn’t fully test this end-to-end on my local APIM instance right now. Could you please verify on your environment by executing any operation in Publisher Try Out and checking that the cURL block with copy appears inside the operation (like Dev Portal)? If anything needs adjusting, I’ll address it quickly and complete whatever’s missing. Thank you. |
|
Hi @Sanjaya-Samudra, what is the issue you are encountering locally? Were you able to successfully build the apim-apps repo and product-apim repos? Regarding the fix you have added, I don't see Shall we try to check if this works by following the steps in comment [1]? |
…rl block with default copy icon (no Snippets tabs)
The build is successful locally on my computer, but the thing is when I launch it it just keep reloading endlessly and no UI is rendered in my frontend at all. All servers and everything I have done. Then I have created a sym link path as you suggested and it was the same as previous no frontend UI is visible for me. When run it keeps reloading endlessly without anything rendered on the frontend. Waited so many hours looking at it but it never loads for me. I'll check on the code and get back to you. I thought it was something like an appearance issue. Because by default it renders for devPortal I thought some version issue might cause this, let me dive more deep and solve it carefully this time. I love to test it locally and push it, but I couldn't set it up for this, I have tried different different ways😢. |
|
Hi @Sanjaya-Samudra, Once you start the pack, and try to access the publisher portal, can you right click on the browser window and click on inspect to check whether there are any console logs showing errors? Can you let me know what the errors are? Also what is the java version, maven version and node version you have used to build the apim-apps repo? You can only change the Let's try first without adding any symlinks. |
|
Sure I'll show you the corresponding output. |
I have both java 8 and 11. Tried with java 8 but now switched with 11. Tried again but still facing the same issue, nothing found in console, and UI is empty too. Backend server works fine as well. I don't see any issue, but it is not loading. It says like this,
|
|
Hi @Sanjaya-Samudra, After building the product-apim repo with the |
Yeah, I'll try again. |





Summary
Changes
SwaggerUI.jskrequestSnippetsEnabled: true).Backward compatibility
Checklist