Skip to content

Issue with OpenAPI Yaml #241

Description

@stevebcampbell

There is an issue with the YAML at this location: https://github.com/okta/okta-management-openapi-spec/blob/20955d003c0d3a1571422dcc53aa9ff3c5dec88a/dist/current/management-minimal.yaml

I am trying to load it in Azure APIM as Open API spec, but it kept giving me parsing errors.

So I uploaded to Swagger editor and it presented the issue.
Parser error
duplicated mapping key
Jump to line 55483

Image

I jumped to the lines and there is Duplicate keys.

Line 55467 and 55483

    pathIdentitySourceExternalId:
      name: externalId
      in: path
      required: true
      description: The external ID of the identity source group
      example: GROUPEXT123456784C2IF
      schema:
        type: string
    pathIdentitySourceGroupOrExternalId:
      name: groupOrExternalId
      in: path
      required: true
      description: The Okta group ID or external ID of the identity source group
      example: 00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF
      schema:
        type: string
    pathIdentitySourceExternalId:
      name: externalId
      in: path
      required: true
      description: The external ID of the identity source group
      example: GROUPEXT123456784C2IF
      schema:
        type: string
Image

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