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

Support deprecated attribute #201

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Support deprecated attribute #201

merged 1 commit into from
Mar 28, 2024

Conversation

blocknotes
Copy link
Contributor

Add support for deprecated attribute.

OpenAPI reference: here.

Output sample:

  "/test_block":
    get:
      summary: GET /test_block
      tags: []
      responses:
        '200':
          description: returns the block content
          content:
            text/plain:
              schema:
                type: string
              example: A TEST
      deprecated: true

Swagger editor result:

image

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.10%. Comparing base (b684472) to head (b9ab297).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   97.09%   97.10%   +0.01%     
==========================================
  Files          15       15              
  Lines         516      518       +2     
  Branches      125      126       +1     
==========================================
+ Hits          501      503       +2     
  Misses         15       15              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@exoego exoego added the enhancement New feature or request label Mar 28, 2024
@exoego
Copy link
Owner

exoego commented Mar 28, 2024

LGTM
Thank you

@exoego exoego merged commit cb4ac86 into exoego:master Mar 28, 2024
13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants