swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Swagger Docs for dcm4chee-arc only shows subsets of APIs

Open vrindanayak opened this issue 2 years ago • 8 comments

https://petstore.swagger.io/index.html?url=https://dcm4che.github.io/dcm4chee-arc-light/swagger/openapi.json#/

Rendering of all APIs was working properly until Friday 22.02

Tested with normal / private / incognito windows of Google Chrome / Firefox browsers.

Is https://github.com/swagger-api/swagger-ui/releases/tag/v5.11.8 (Release date 23.02) impacting this in anyway?

vrindanayak avatar Feb 26 '24 13:02 vrindanayak

I noticed it, too with our spec. and managed to track it down: https://github.com/swagger-api/swagger-js/issues/3385

am-burban avatar Feb 26 '24 13:02 am-burban

We're currently working around this by :

  • download https://github.com/swagger-api/swagger-ui/releases/tag/v5.11.7
  • start dist/index.html
  • use URL https://dcm4che.github.io/dcm4chee-arc-light/swagger/openapi.json#/ in the input field to see the complete API list

vrindanayak avatar Feb 26 '24 13:02 vrindanayak

Yeah, v5.11.7 is fine, because it uses the older swagger-client version (v3.25.1 vs. 3.25.3 in swagger-ui 5.11.8).

am-burban avatar Feb 26 '24 13:02 am-burban

We are also facing the same issue. We solved it temporarily by reverting to v5.11.7

amitkma avatar Feb 26 '24 15:02 amitkma

We have a similar problem at https://github.com/DefectDojo/django-DefectDojo/issues/9629

Check: https://demo.defectdojo.org/api/v2/oa3/swagger-ui/

  • The example value for POST /api/v2/credentials/ works fine
  • but the example value for POST /api/v2/engagements/ just says "string"

kiblik avatar Feb 28 '24 21:02 kiblik

Hi everybody,

Quick status update: We're currently in the process of trying to solve this issue.

char0n avatar Feb 29 '24 08:02 char0n

Addressed in https://github.com/swagger-api/swagger-ui/pull/9658. ETA of release - next Monday

char0n avatar Mar 01 '24 12:03 char0n

Released as https://github.com/swagger-api/swagger-ui/releases/tag/v5.11.9

Please reopen is you still see more issues with your definitions.

char0n avatar Mar 04 '24 08:03 char0n