Skip to content

credentials definition in the schema  #5

Description

@amirjalali65

I'm using generated swagger client in python. Keep getting AttributeError: 'bool' object has no attribute 'items' when exporting/retrieving assets and services. The problem was resolved when I filtered for all the attributes except for credentials.
It seems credentials definition is wrong in the schema:

        credentials:
          type: object
          additionalProperties:
            type: string
            additionalProperties:
              type: boolean

additionalProperties should have object type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions