MksDdn Collection for Postman helps developers quickly generate a Postman Collection (v2.1.0) or OpenAPI 3.0 documentation for WordPress REST API endpoints. The plugin automatically discovers and includes standard WordPress entities, custom post types, options pages, and individual pages. Generated collections include pre-configured requests with sample data and can be downloaded as JSON files for import into Postman. OpenAPI spec can be used with Swagger UI, Redoc, or frontend code generators.
The plugin provides comprehensive API testing capabilities with automatic generation of test data for form submissions, support for file uploads via multipart/form-data, and seamless integration with Advanced Custom Fields (ACF). Special handling is included for the mksddn-forms-handler plugin when active.
Features:
- Basic REST endpoints: pages, posts, categories, tags, taxonomies, comments, users, settings
- WooCommerce REST API (wc/v3): products, product categories, orders with full CRUD when WooCommerce is active
- Search functionality: Posts, Pages, and All content types with customizable queries
- Custom Post Types with full CRUD operations (List, Get by Slug/ID, Create, Update, Delete)
- ACF/SCF fields: auto-included for all post types when ACF or Smart Custom Fields plugin is active
- Special handling for Forms (mksddn-forms-handler integration)
- Options endpoints:
/wp-json/custom/v1/options/...
- Individual pages by slug with ACF field support
- Automatic test data generation for form submissions
- Support for multipart/form-data for file uploads
- Yoast SEO integration (automatic yoast_head_json inclusion)
- Multilingual support with Accept-Language headers (Polylang priority)
- OpenAPI 3.0 export for API documentation (Swagger UI, Redoc)
- Extensible via WordPress filters
- WP-CLI integration for command-line usage
2.1.0
- New: Support for registered REST routes in Postman collection; admin can select custom namespaces to include
- New: Postman_Registered_Routes builds items from WordPress registered routes with demo request bodies for POST/PUT/PATCH
- New: Filter
mksddn_postman_registered_route_demo_body to customize demo body for registered routes
- New: Default and auth headers applied to registered routes request items
- Changed: OpenAPI converter — improved request body handling, schema inference for JSON bodies, Accept headers
- Refactor: Postman_Generator deduplication and path normalization for registered routes
2.0.2
- OpenAPI: include all request headers in spec (e.g. Accept-Language for i18n), regardless of Postman disabled state
2.0.1
- OpenAPI: WooCommerce paths support, improved security scheme handling
- OpenAPI schemas: WP_REST_Error for error responses, streamlined example casting
2.0.0
- New: OpenAPI 3.0 export (Swagger UI, Redoc)
- New: WooCommerce REST API support with admin checkbox and Basic Auth
- New: Unified block styles for admin export page
- Changed: Removed category selection (Posts by Categories)
- New: CLI option
--include-woocommerce for export commands
- Refactor: Centralized CPT filtering in Postman_Routes
- Fixed: JSON encoding error handling in download and CLI
1.1.0
- New: Custom Post Types support with full CRUD operations (List, Get by Slug/ID, Create, Update, Delete)
- New: Admin UI section for selecting Custom Post Types to include in collection
- New: ACF fields support for lists of pages, posts, and Custom Post Types
- New: Dynamic ACF checkboxes that appear/hide based on selected Custom Post Types
1.0.5
- Updated: Tested up to WordPress 6.9
- Verified compatibility with WordPress 6.9 changes (UTF-8 modernization, REST API stability)
1.0.4
- New: Category selection in admin to generate requests for posts by selected categories
- New: "Posts by Categories" folder in the collection
1.0.3
- Fixed WordPress.org Plugin Review compliance issues
- Replaced inline JavaScript with proper wp_enqueue_scripts usage
- Added documentation for external services (Postman Collection Schema)
- Fixed direct core file loading by using WordPress REST API functions
- Added proper escaping for output variables in JSON generation
- Improved code security and WordPress Coding Standards compliance
1.0.2
- Added Yoast SEO integration: automatic inclusion of yoast_head_json in _fields parameter for pages and posts
- Enhanced REST API requests to include SEO metadata when Yoast SEO plugin is active
- Added Accept-Language header support for multilingual sites with Polylang priority
- Implemented automatic language detection from Polylang settings or WordPress locale
- Added Search functionality with three search types: Posts, Pages, and All content
- Enhanced all GET requests with proper Accept-Language headers for internationalization
- Improved documentation with comprehensive multilingual and SEO support details
1.0.1
- Changed plugin name from "MksDdn Postman Collection" to "MksDdn Collection for Postman"
- Updated plugin slug from "mksddn-postman-collection" to "mksddn-collection-for-postman"
- Updated WP-CLI command from "mksddn-postman" to "mksddn-collection-for-postman"
- Updated text domain and language files
1.0.0
Initial public release.