androidwordpressswaggerretrofit2wp-api

How to generate Retrofit client library from wp rest api using swagger


I am creating android client for my WordPress website . Is there a way to generate retrofit 2 client library from wp rest client using swagger or is there any other tool to generate the same .


Solution

  • As per discussion with wp-api team they are not providing any HTTP client library for android and also they are not planning to provide the same .

    Please follow below link for the issue created in wp-api

    https://github.com/WP-API/WP-API/issues/2473