WP API SwaggerUI changelog

By agussuroyo, on WordPress.org since 2019. 2,000+ active installs.

Browse code

23 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 2.4.0
    • Serve the docs and schema on all permalink types via ?swagger_api=docs / ?swagger_api=schema, not only pretty permalinks
    • Make the interactive Try-it-out work under Plain permalinks by rewriting REST requests to the ?rest_route= form; the OpenAPI 3.0.3 server URL now advertises that same form so it matches the request that is sent
    Source Diff vs 2.3.0
  2. 2.3.0
    • Fix nested object and array item properties not showing in Swagger UI (recursive schema normalization)
    • Combine registered JSON arguments into a single request body for POST/PUT/PATCH routes
    • Preserve enum, required, format and default across nested schemas; keep file uploads on multipart/form-data
    • Improve OpenAPI 3.0.3 output: move definitions to components.schemas and rewrite $ref targets
    Source Diff vs 2.2.0
  3. 2.2.0
    • Add OpenAPI 3.0.3 output, selectable in Settings → Swagger (default stays Swagger 2.0, so existing installs are unchanged)
    • Add a setting to include or omit the site contact email in the generated schema
    Source Diff vs 2.1.1
  4. 2.1.1
    • Fix per-route tags override being ignored in the generated Swagger docs
    Source Diff vs 2.1.0
  5. 2.1.0
    • Add Bearer token (Authorization header) support in the Swagger UI Authorize dialog
    • Add a setting to choose which auth methods (Basic / Bearer) appear in Swagger UI
    • Fix a Bearer Authorization header being misparsed as Basic on the REDIRECT_HTTP_AUTHORIZATION path
    Source Diff vs 2.0.3
  6. 2.0.3
    • Fix Query Monitor and other admin bar tools being broken on the API docs page by the asset cleanup
    Source Diff vs 2.0.2
  7. 2.0.2
    • Fix REST API being blocked on WordPress 5.6+ when the site is behind server Basic Auth (broke Elementor editing and Application Passwords)
    • Keep WooCommerce consumer-key authentication working alongside native Application Passwords
    Source Diff vs 2.0.1
  8. 2.0.1
    • Fix REST routes with multiple or nested named parameters in the generated docs
    • Fix default tag for routes that start with a named parameter
    Source Diff vs 2.0.0
  9. 2.0.0
    • Compatibility with WordPress 7.0 and PHP 8
    • Modernize test suite for PHPUnit 9
    • Fix deprecation notice leaking into /schema on root-path installs
    • Raise minimum PHP to 7.4
    Source Diff vs 1.2.0
  10. 1.2.0
    • Update doc
    • Force object type to string
    • Node modules update
    Source Diff vs 1.1.2
  11. 1.1.2
    • Update regex for parameter detection
    Source Diff vs 1.1.1
  12. 1.1.1
    • Put back missing header element
    Source Diff vs 1.1.0
  13. 1.1.0
    • Use swagger-ui npm version
    • Auto tags on endpoint
    Source Diff vs 1.0.9
  14. 1.0.9
    • Fix readme typo
    Source Diff vs 1.0.8
  15. 1.0.8
    • Restore custom port support
    Source Diff vs 1.0.7
  16. 1.0.7
    • Support produces and consumes directly via register_rest_route 3rd parameter
    Source Diff vs 1.0.6
  17. 1.0.6
    • Change site_url to home_url
    Source Diff vs 1.0.5
  18. 1.0.5
    • Support summary and desription on each endpoint api
    Source Diff vs 1.0.4
  19. 1.0.4
    • make WooCommerce REST API Key works on Swagger Docs Auth
    Source Diff vs 1.0.3
  20. 1.0.3
    • change template_include priority
    • change dtermine_current_user priority
    Source Diff vs 1.0.2
  21. 1.0.2
    • Ensure REDIRECT_HTTP_AUTHORIZATION is not empty
    Source Diff vs 1.0.1
  22. 1.0.1
    • Auto add params from path
    Source Diff vs 1.0
  23. 1.0
    • Initial release
    Source