Open BK01 opened 7 years ago
Waiting for support from Swaggerui 3 for OpenAPI 3
OpenAPI 3.0 has now been released -> https://swagger.io/announcing-openapi-3-0/ To discuss Aug 15th
Waiting for swagger-ui to be upgraded to support OpenAPI specs 3.x (expected soon)
swagger-ui now supports OAS 3.0. However, we need to wait for the 'Try It Out' functionality to be implemented for OAS 3.0
Try it Out functionality now available. Initiating work.
@ll911 @BK01 I have updated the version of swagger-ui used by the API Console. The new swagger-ui now supports OpenAPI 3. Leo has deployed it to BCDC in delivery.
I have also converted most of the specification files to OpenAPI 3 (all except the two geocoder files). Currently the changes are in this branch within my fork of the api-specs repo.
We can test these files with the API Console in delivery by creating new BCDC "resources" pointing my repo at the branch noted above. We shouldn't replace the spec files in the bcgov api-specs master repo until the latest API Console has been migrated to BCDC Prod (because the API Console currently in Prod doesn't support OpenAPI 3).
I have done some preliminary testing on all the converted spec files in the new API Console, but it would help to have more eyes on this. It would be excellent if you have a chance to look as well.
I'll work on the geocoder specification files next.
Thank you Brock. DataBC will begin testing the API console with new specs in delivery.
On hold until new version of swagger-ui available with full openAPI 3.x support for our specs.
DataBC to begin UAT in cad.data
DataBC completed UAT in cad.data. Issue with Route Planner has been resolved. Open511 and BCLaws will continue to reference the old API console (http://apps.gov.bc.ca/pub/api-explorer/?url=) until issue with HTTPS support and CORS are resolved. Therefore, OAS3 spec and new console / editor migration can continue as planned.
@banders All API consoles successful except for one.
The BCDC console TEST and DLV environment URLs need to be adjusted. The current request URL is listed as:
@BK01 I have fixed the 'delivery' and 'test' server URLs. New spec here:
https://github.com/banders/api-specs/blob/upgrade-to-openapi3/bcdc/bcdc.json
@banders Confirmed. Successful UAT in cad.data for BCDC api spec
Upgrade OpenAPI specifications to version 3.x