Enable swagger for Nopcommerce 4.1 api plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 yıl önce
How do I Enable swagger for Nopcommerce 4.1 api plugin.i have tried with http://localhost:15536/swagger/ui/index#/ URL but it gives page not found error..Does anyone have idea about it?how can i access Swagger?
5 yıl önce
Any Solution????
5 yıl önce
Hi,

Unfortunately, the swagger doesn't work for nopCommerce 4.10.

Regards,
Stoyan
5 yıl önce
Thank you for reply..!
Is there any other way to test my api..practically it is not possible to crate whole object of create cart or place order.how can i test it???
5 yıl önce
Hi,

You can use Postman (chrome app) or Fiddler to make requests.

Regards,
Stoyan
5 yıl önce
But what about POST Type request..like placeOrder or Add in shopping cart..it might be very complicated to create whole object..I am already using postman for GET type request.but i want to place order from development side and test it....
5 yıl önce
Hi,

It is not necessary to create objects from scratch.
You can modify the JSON response from the GET requests and use it for the POST requests.

Regards,
Stoyan
5 yıl önce
I have made it enable for my nopcommerce API.now i acn see my swagger UI from http://localhost:15536/swagger/index.html..When I test it for get type request its is working fine..i can get all data for products,categories etc..but I can not chnage the parameter value..my API get called but it is not taking the value which i have updated on swagger UI.i always take model with null or default values..what could be the problem? why api is not called with updated value which i have pass in request parameter?
4 yıl önce
I installed plugin to my site. How do I access API ?
for ex. my site name is http://ecom.mystore.com

What should be base URL of my api

I have been trying with ecom.mystore.com/api but seems it is not right
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.