Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-22731

Ingress API is missing tags in openapi spec

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No
    • Platform Pipeline Sprint 53, Platform Pipeline Sprint 54
    • Normal

      As discussed in our meetings, we need to have a tags section added to the spec denoting which namespace they all belong to. See below for an example from cloud-connector's api.

      {
        "openapi": "3.0.0",
        "servers": [
          {
            "description": "Cloud-Connector API",
            "url": "/api/cloud-connector/"
          }
        ],
        "info": {
          "description": "Cloud-Connector Service",
          "version": "1.0.0",
          "title": "Cloud-Connector Service"
        },
        "tags": [
          {
            "name": "api",
            "description": "RESTful service"
          },
          {
            "name": "connection",
            "description": "Connection status operations"
          }
        ],
        "paths": {
          "/v2/connections/{client_id}/message": {
            "post": {
              "tags": [
                "api"
              ],
      --snip--
      }

      Without this, we have a generation that produces a large diff with it wanting to use the namespace of 'Default' API.

              alcohan-fifi Alec Cohan
              bschneid@redhat.com Brandon Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: