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

Removal of 'deprecated' not detected #485

Closed
michael-schnell opened this issue Mar 3, 2023 · 2 comments · Fixed by #743
Closed

Removal of 'deprecated' not detected #485

michael-schnell opened this issue Mar 3, 2023 · 2 comments · Fixed by #743
Assignees
Milestone

Comments

@michael-schnell
Copy link

Removal of 'deprecated' is not detected iny any section (headers, operation,parameter, schema).

V1

headers:
    X-RateLimit-Limit:
      schema:
          type: integer
      deprecated: true

V2 (removal of 'deprecated')

headers:
    X-RateLimit-Limit:
      schema:
          type: integer

A new 'deprecated' is detected everywhere, but removal not.

@joschi
Copy link
Contributor

joschi commented Mar 4, 2023

@michael-schnell Thanks for reporting this!

Would you expect removing of the deprecation to be a breaking change or a mere informational message/compatible change?

@michael-schnell
Copy link
Author

I think it's compatible. This change is only of interest for documentation purposes where you will state something like "X-RateLimit-Limit is no longer deprecated since version 1.2.3".

@DrSatyr DrSatyr added bug and removed bug labels Jan 30, 2025
@DrSatyr DrSatyr self-assigned this Jan 30, 2025
@DrSatyr DrSatyr added this to the 2.1.0 milestone Jan 30, 2025
DrSatyr added a commit that referenced this issue Feb 6, 2025
DrSatyr added a commit that referenced this issue Feb 11, 2025
* Fix issue #485 - Removal of 'deprecated' is not detected on schema, operation, parameter, and header level.
* Reorganize tests structure
* Extend test coverage for CchemaDiff, OperationDiff, ParameterDiff, HeaderDiff
@DrSatyr DrSatyr linked a pull request Feb 11, 2025 that will close this issue
@DrSatyr DrSatyr closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants