fsprojects / FSharp.Data

F# Data: Library for Data Access
https://fsprojects.github.io/FSharp.Data
Other
815 stars 287 forks source link

Support WADL TypeProvider #156

Closed xkrt closed 10 years ago

xkrt commented 11 years ago

Please consider the possibility of developing WADL type provider, machine-readable xml description of REST web services. http://en.wikipedia.org/wiki/Web_Application_Description_Language

ovatsus commented 11 years ago

This is a dup of #94

tpetricek commented 11 years ago

This looks interesting!

I have not read the documentation completely, but does it assume that the data are always XML files documented with XSD? Also, if you could share a link to some services that use this, that would be useful for testing...

ovatsus commented 11 years ago

You can try this url: http://api.apigee.com/v1/consoles/facebook/apidescription?format=wadl Check the info I've put on #94 regarding apigee

xkrt commented 11 years ago

As far I understand data can be in XML or JSON format. I wanted to try to use shiny FSharp.Data for TeamCity REST API: http://confluence.jetbrains.com/display/TW/REST+API+Plugin WADL: http://teamcity.jetbrains.com/httpAuth/app/rest/application.wadl

Now I experiment with Apiary TypeProvider, but this requires first describe TeamCity REST API in Apiary service by hands:).

ovatsus commented 11 years ago

For reference: https://launchpad.net/wadlsharp/ In addition to JetBrains, the Altassian tools also all have WADL api descriptions (in addition to describing the messages with a xsd)