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

Add operationId To Swagger Spec

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14
    • Component/s: None
    • Labels:
    • Complexity:
      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

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

                Dates

                Created:
                Updated:
                Resolved: