EasyData icon indicating copy to clipboard operation
EasyData copied to clipboard

Add support for Swagger for more convenient using of API layer only (without UI)

Open pinale opened this issue 3 years ago • 3 comments

Is it possible to use only the automatically generated endpoints without using the UI layer. Id like to call these crud enpoints from my angular client. If yes, can you kindly provide an example please. Thanks for your great library

pinale avatar Dec 05 '21 09:12 pinale

Yes, it's possible to use API separately but we don't have any documentation or any example yet.

Currently, you can figure it out by observing (with the Developer Tools panel in your browser) the requests sent from the client-side to the backend in any of our sample projects.

I will let you know when we publish the docs or create a sample that uses API without the JavaScript UI part.

korzh avatar Dec 05 '21 15:12 korzh

It could be usefull to have a swagger file along with the autogenerated endpoints, in order to permit everyone to create client code with some automation tools. It could be a great improvement in my opinion

pinale avatar Dec 06 '21 16:12 pinale

Yep. We will consider about adding such feature

antifree avatar Dec 07 '21 17:12 antifree