How to add parameter documentation
-
I registered a custom REST API endpoint to WordPress and it shows up correctly at the Swagger Docs page.
My API uses query parameters and I would like to add them to the parameters section of the WordPress Swagger Docs page.
I know to do that with plain Swagger, but I’m confused about how to define that parameters in WordPress so the get used by Swagger.
Any hint how to do that?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add parameter documentation’ is closed to new replies.