Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4581

Expose swagger getPropertyDescription function

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • CrossTeam Collaboration - 4.21

      Expose getPropertyDescription function from frontend/public/module/k8s/swagger.ts

      Dynamic plugins may need to use this function to generate popover help content for standard K8s properties.

      Existing use case in networking-console-plugin - DetailsItem component using a local copy of getPropertyDescription function that appears to be taken from Console codebase.

      This should also allow us to remove swagger definition handling code in networking-console-plugin.

      Example use case - description of "metadata.labels" of a IoK8sApiCoreV1Service:

              rh-ee-aviktora Adam Viktora
              rh-ee-aviktora Adam Viktora
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: