Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-1572

OSUS openapi specification passes the lint check

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 2
    • None
    • None
    • OTA 274

      The openapi specification returned from OSUS can pass lint check [1]. There is another one (less popular tho) [2]

      Definition of Done:

      • The last cmd runs successfully.
        $ curl -s -o /tmp/output.json "https://api.stage.openshift.com/api/upgrades_info/openapi"
        $ lint-openapi /tmp/output.json
      • A presubmit exists to avoid regression.

       

      [1]. https://github.com/IBM/openapi-validator

      [2]. https://github.com/python-openapi/openapi-spec-validator

              hongkliu Hongkai Liu
              hongkliu Hongkai Liu
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: