Symptom
- After migrating a controller method from an extension generated via ycommercewebservices to a new OCC extension, expanding the custom api method in Swagger UI keeps loading and takes several minutes to render.
- The same endpoint loads quickly when served from the legacy ycommercewebservices-based extension.
- Switching the Swagger UI response media type between XML and JSON is also very slow (minutes to switch).
- The /occ/v2/api-docs content is generated and loads without errors.
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud 2211
Keywords
swagger ui slow, occ api-docs, ycommercewebservices migration, yocc, 2211, circular references, deep schema, large response example, openapi performance, swagger rendering delay, xml json switch slow, occ extension, api documentation performance , KBA , CEC-SCC-PLA-PL , Platform , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview