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

[FEATURE] Add support for flags (parameters without value) #361

Open
dblock opened this issue Jun 26, 2024 · 0 comments
Open

[FEATURE] Add support for flags (parameters without value) #361

dblock opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dblock
Copy link
Member

dblock commented Jun 26, 2024

Is your feature request related to a problem?

The _cat API takes flags in the form of ?help without a value. In #360 I added support for boolean parameters such as ?help=true. OpenSearch also accepts it as a flag, ?help. A null value or an empty string don't work.

  - synopsis: Cat displaying all available headers (help).
    method: GET
    path: /_cat/health
    parameters:
      help: null
    response:
      status: 200
      content_type: text/plain

What solution would you like?

Not sure.

Do you have any additional context?

This was discussed in OAI/OpenAPI-Specification#1782.

@dblock dblock added enhancement New feature or request untriaged and removed untriaged labels Jun 26, 2024
@dblock dblock removed the untriaged label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant