Uploaded image for project: 'las2peer'
  1. las2peer
  2. LAS-116

Dynamic Provision of Swagger API Declarations and Resource Listings

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v0.3
    • Component/s: RESTMapper
    • Labels:
      None

      Description

      It would be cool to have Swagger Resource Listing and API Declarations generated from las2peer services dynamically. In my opinion, a lot of work towards this is already done with the las2peer REST Mapper, being part of the las2peer Web Connector. The REST Mapper already defines many of the annotations to be used for creating Swagger-compliant API Declarations. Code-wise, the REST Mapper also includes introspection routines, crawling the whole set of services available at a node (Alexander Ruppert, also from ones on remote nodes?) and creating an XML file out of it. So instead of creating an XML file, creating a JSON String of an API Declaration should be neither hard nor very time consuming. It would also be possible to directly host such a file at a predefined endpoint with the las2peer Web Connector.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                renzel Dominik Renzel
                Reporter:
                renzel Dominik Renzel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/May/15