Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1286

REST API doc change to remove ".* is missing.*" error response

    XMLWordPrintableJSON

Details

    Description

      Each handler use to take care of incorrect url path or missing param in url path case explicitly and return a json error response with 404 error code and message ".* is missing in URL path. Please check the usage documentation".

      While working on YUNIKORN-1276 (PR - https://github.com/apache/yunikorn-core/pull/428#discussion_r944064005), come to know that mux go library takes care of this case by returning 404 error automatically. So, cleaned up the handler code as part of YUNIKORN-1276 itself, but doc changes not yet done. This jira will address the doc changes.

      Attachments

        Issue Links

          Activity

            People

              mani Manikandan R
              mani Manikandan R
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: