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

No visual indication for a deprecated parameter #687

Closed
b2p-fred opened this issue Mar 9, 2022 · 1 comment
Closed

No visual indication for a deprecated parameter #687

b2p-fred opened this issue Mar 9, 2022 · 1 comment

Comments

@b2p-fred
Copy link

b2p-fred commented Mar 9, 2022

In my specification:

  /api/documents:
    get:
      parameters:
        -
          name: type
          in: query
          description: 'Set this value to filter on the document history type'
          required: false
          deprecated: true
          allowEmptyValue: true
          schema:
            type: string
            enum:
              - sent
              - validated
              - declined
              - abandoned
              - archived
            default: sent
          style: form
          explode: false
          allowReserved: false
          example: sent
        -
          name: documentType
          in: query
          description: 'Set this value to filter on the document history type'
          required: false
          deprecated: false
          allowEmptyValue: true
          schema:
            type: string
            enum:
              - sent
              - validated
              - declined
              - abandoned
              - archived
            default: sent
          style: form
          explode: false
          allowReserved: false
          example: sent

On the UI:
image

I expected to have a visual indication or a message that indicates that the type field is now deprecated. I know there is such a visual indication (line through) in the request body parameters 😉

@mrin9
Copy link
Collaborator

mrin9 commented Mar 9, 2022

thanks for pointing ... will work on it

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

2 participants