-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API console refinements #58
Comments
Issue on hold until a new release of swagger-ui is available. Currently the following is not available in swagger-ui 3.2. May be available in October. |
Next steps:
|
@banders to test new release of swagger-ui |
@BK01 @ll911 I have updated my local version of the API Console to use the latest release of swagger-ui (3.3.1). This version still doesn't support parameter drop-down lists or authorizations (i.e. Get API Key) for OAS 3 spec files. I can push the latest version to github so you can install in CKAN dlv, but I don't see much point. Probably best to continue to monitor the swagger-ui releases for updates before we upgrade our API console... |
I think we can hold it off till the version we need.
|
@banders to review latest release to determine if latest version of swagger-ui (3.3.2) meets our requirements. |
@BK01 @ll911 There is an even newer version of swagger-ui than 3.3.2. 3.4.0 is the latest. I have tested 3.4.0 and found some improvements, but also a new bug. Here's a summary:
I posted this bug report with the swagger-ui community to report the Try-it-out bug. We can't use the latest version until the bug is fixed. |
@banders To evaluate version 3.4.1 |
@Darv72 Can we try redeploying the API console in DLV. |
@BK01 The console should now be deployed in DLV. Let me know if there is anything further. |
@BK01 DataBC complete UAT for all OAS3 specs in cad.data this week. |
Copy request URL and open request URL buttons to be implemented in new version of console. |
@BK01 @Darv72 I have ported the "Copy Request URL" and "Open Request URL" functionality to the new version of swagger-ui. The new code has been merged into ckanext-openapiviewer. There's a slight change to the behaviour:
Note that "Open Request URL" will always opens the link in a new tab, but will give an API key error for gated APIs in which the API key is not part of the request URL. (e.g when the key is in the header). I think this is reasonable behaviour, but let me know if you think we should handle the situation differently. |
Thank you. DataBC will deploy the new code to cad.data for UAT. |
Successful UAT in cad.data |
Refinements based on initial UAT of API Console in cad.data using OpenAPI 3.x specs
The text was updated successfully, but these errors were encountered: