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

Add Support for OpenAPI v3.1.0

Open sugurutakahashi-1234 opened this issue 1 year ago • 4 comments

Description

Please add support for OpenAPI v3.1.0.

Thank you!

image

sugurutakahashi-1234 avatar May 31 '24 09:05 sugurutakahashi-1234

which version of swagger ui are you using?

Legion2 avatar Sep 27 '24 11:09 Legion2

I had the same issue. You must use swagger-ui 5 (https://editor-next.swagger.io/) for openapi version 3.1

I didn't find a way to use custom version for swagger-ui. @Legion2 is it possible?

rtyshyk avatar Dec 15 '24 20:12 rtyshyk

There is a version parameter for the action, so you can set the swagger ui version to 5, see https://github.com/Legion2/swagger-ui-action/blob/main/action.yml#L8

Have you tried this?

Legion2 avatar Dec 15 '24 21:12 Legion2

yes, it works well with version 5.0.0.

Thank you!

Maybe it makes sense to change the default value?

rtyshyk avatar Dec 16 '24 08:12 rtyshyk