Closed andrea-ligios closed 3 years ago
Hi @andrea-ligios if you could add some description also for future memory thanks
Do you mean doc?
Hi @andrea-ligios if you could add some description also for future memory thanks
Do you mean doc?
I mean here in the PR: No description provided.
@gavincornwell it's likely a Swagger UI 3 issue, nothing we should be able to address:
If you agree and approve the PR, we can merge.
@andrea-ligios Thanks for investigating and digging deeper, we have indeed had to live with bugs in the older version too.
However, this one is quite prominent :-( Is it actually still possible to use the "Try it Out" button despite the error? The response mentions circular references, have you done a quick check of our definition?
@andrea-ligios Thanks for investigating and digging deeper, we have indeed had to live with bugs in the older version too.
However, this one is quite prominent :-( Is it actually still possible to use the "Try it Out" button despite the error? The response mentions circular references, have you done a quick check of our definition?
It is possible to use the "Try it Out" button, and I've not found any problem in the API definition.
The pivot
element is just rendered differently than before (null
instead of{}
)
Swagger UI 2:
Swagger UI 3:
In either case, it needs to get populated properly before being passed as a parameter, so I'm going to document this error in the API definition and then wait for your final review to merge the PR.
The main goal of this PR is to migrate the REST API Explorer from the legacy Swagger UI 2 (which is EOL) to the new Swagger UI 3.
Other than that, it's also a good idea to upgrade all the libraries used and to replace the legacy Tomcat7 Maven Plugin with the latest Jetty Maven Plugin.