fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
381 stars 182 forks source link

Would support swagger ? #82

Closed ghost closed 7 years ago

ghost commented 7 years ago

I was try to find Pascal Swagger support. But I found nothing. Then I try to do something for it, but has not progressed.

Would you support swagger? This framework also try to support it, https://github.com/danieleteti/delphimvcframework but they have no help.

Thanks.

RobertoSchneiders commented 7 years ago

Can you provide more information about Pascal Swagger? project link? It is a api doc generator?

ghost commented 7 years ago

Yes, it is an api doc generator. Please look in this site: http://swagger.io/open-source-integrations/

Can you support that generate client classes by the api doc like generate datasnap client classes? It is very useful. Thanks.

RobertoSchneiders commented 7 years ago

Makes sense, we could support it.

Do you plan to implement this?

ghost commented 7 years ago

I want to do something , but I have no clue even I have read some info.

RobertoSchneiders commented 7 years ago

Ok, let's wait and see if any of the commiters want to work on this. We will need someone with some experience with Swagger.

fabriciocolombo commented 7 years ago

I think this is outside the scope of this project. Swagger is focused on the API itself and your development cycle. It generate documentation and have a UI where you can interact with your API to evaluate.

This library is just for consume the API (This library is just to consume the API (that could be backed by Swagger).

It make sense add support for Swagger in https://github.com/danieleteti/delphimvcframework, because you are creating an API, and you need this kind of features. There are already an opened issue: https://github.com/danieleteti/delphimvcframework/issues/38.