Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-570

Add operationId To Swagger Spec

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • TBD
    • Resolution: Fixed
    • None
    • 2.14
    • None
    • Undetermined

    Description

      We should set the operationId property on the operationObject in the Swagger spec so that we can have nicer function names in the JavaScript library.

      Right now the function names are build from the path, so they look like:

      o.api.patient.get_patient_uuid()
      

      But using the operationId property, we could have:

      o.api.patient.getPatient()
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              pascal Pascal Brandt
              pascal Pascal Brandt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: