Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22754

Query language parameter in search endpoint should not have a default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Rest API
    • Release Notes Description:
      Hide

      Query language parameter in search endpoint no more has a default.

      Show
      Query language parameter in search endpoint no more has a default.
    • Sprint:
      nxNS Sprint 9.3.1

      Description

      Currently Swagger docs for

      /api/v1/search/lang/{queryLanguage}/execute

      flag "queryLanguage" as required with a default value of "NXQL", however, according to Swagger documentation

      Using default with required parameters or properties, for example, with path parameters. This does not make sense — if a value is required, the client must always send it, and the default value is never used.

      So default value should be removed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.