Azure / APICenter-Analyzer

Analyze your API Specs with Azure API Center (Preview)
MIT License
22 stars 20 forks source link

Bug: API Definition is Analyzer is not in pretty format, #7

Closed UniperMaster closed 4 months ago

UniperMaster commented 6 months ago

if the API is import via the az apic register cli the format in the Analyzer is not in pretty format making it impossible to view errors , if upload the same definition via the portal its fine.

Screenshot 2024-04-03 133600

pierceboggan commented 6 months ago

@UniperMaster Thanks for reporting this! We definitely want to make sure the formatting is retained on import.

When you imported via CLI, I assume you referenced a local file to import the API specification?

UniperMaster commented 6 months ago

Yes that was the case.

pierceboggan commented 6 months ago

@UniperMaster Awesome, thanks for the details! This is fixed in our next Azure CLI release. I'll update this work item once the fix has been released.

UniperMaster commented 6 months ago

Look forward to the update

pierceboggan commented 4 months ago

@UniperMaster - This CLI release is now out that contains the bug fix! After running az upgrade, run az -v and ensureapic-extension is at least version 1.0.0b5. If you're still experiencing this issue with APIs registered with this version, please reopen this issue and let us know. Thanks!

UniperMaster commented 4 months ago

@pierceboggan That looks better, Thank you for the update