DEV Community

Discussion on: Building an Angular application with a seperated server-side backend

Collapse
 
benjioe profile image
Benjioe

You can make it with Swagger :
First, you have to find a library to document your API with Swagger.
Then you can download a "swagger.json" who describe your API. Import this file in the Swagger Editor (File > Import File) and then on Generate Client select Javascript.
You can also automate this with Swagger Code Gen

Collapse
 
benjioe profile image
Benjioe • Edited

P.S : Instead of Swagger, you can make the same with GraphQL, OData ...