Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dashboards - POST - able to create dashboard without name property in the request #619

Open
karel-rehor opened this issue Nov 29, 2022 · 0 comments

Comments

@karel-rehor
Copy link

Looking at the schema src/common/schemas/CreateDashboardRequest.yml ...

  properties:
    orgID:
      type: string
      description: The ID of the organization that owns the dashboard.
    name:
      type: string
      description: The user-facing name of the dashboard.
    description:
      type: string
      description: The user-facing description of the dashboard.
  required:
    - orgID
    - name

... I see that the name property is required.

However when testing the /dashboards endpoint for POST against the latest influxdb implementation. I am able to create a dashboard with the name property missing from the request.

Is this definition up to date? Or is this an issue in influxdb?

Testing against K8S-IDPE remocal. Latest commit.

commit 36edfae0f1409f79490e31e43846c9e258329e2c (HEAD -> master, origin/master, origin/HEAD)
Author: Cannon Palms <[email protected]>
Date:   Mon Nov 28 21:23:47 2022 -0500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant