WPAPI-SwaggerGenerator icon indicating copy to clipboard operation
WPAPI-SwaggerGenerator copied to clipboard

Generate a swagger file for your Wordpress based on the API plugins installed

Results 11 WPAPI-SwaggerGenerator issues
Sort by recently updated
recently updated
newest added

Previously all array and object types defaulted to strings. This should instead look at the array/object item's type and (if the item is an object) all the properties within that...

It'd be great if this could be submitted to the plugin directory. Earlier on the make WordPress chat someone asked for this exact functionality. I'd be happy to submit (with...

Is there a way of implementing SwaggerGenerator with custom registered routes. I tried defining a schema but couldn't get it working .. Could you provide me with an example?

Hi, your plugin is amazing. Just a question.. There is a way to relate an object to an already defined definition? Example: $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' =>...

Fixes #12 Technically HEAD should return 204 but since wordpress returns 200, went with it instead.

Wordpress seems to support HEAD calls so that should be available to all GET endpoints also.

After Wordpress 4.7 upgrade empty enums appeared into template POST parameters in several enpoints (Page, Post): e.g.: { "name":"template", "type":"string", "in":"formData", "description":"Teematiedosto joka n\u00e4ytt\u00e4\u00e4 kohteen.", "enum":[ "" ] }

Currently I don't think it handles multi-site well and needs to be fixed. see #3 for a reference to this