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

OpenAPI index POST example request body show's ID as a valid field #2459

Closed
fredcarle opened this issue Mar 27, 2024 · 0 comments · Fixed by #3268
Closed

OpenAPI index POST example request body show's ID as a valid field #2459

fredcarle opened this issue Mar 27, 2024 · 0 comments · Fixed by #3268
Assignees
Labels
invalid This doesn't seem right
Milestone

Comments

@fredcarle
Copy link
Collaborator

Currently, the OpenAPI index POST tab has the example request body indicating that one can set the ID field when creating the index.

{
  "Fields": [
    {
      "Descending": true,
      "Name": "string"
    }
  ],
  "ID": 4294967295,
  "Name": "string",
  "Unique": true
}

However, this field is set automatically by the system and will return a non-zero index ID provided. error if we try to set it.

Let ensure that the example request body shows only valid fields.

@fredcarle fredcarle added the invalid This doesn't seem right label Mar 27, 2024
@ChrisBQu ChrisBQu self-assigned this Nov 22, 2024
@ChrisBQu ChrisBQu added this to the DefraDB v0.15 milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants