directive:
- from: openapi-document
where: '$.paths["/health/startup"].get'
debug: true
transform: |
$.responses["200"].description = "Startup Health check";
- from: openapi-document
where: '$.paths["/health/ready"].get'
debug: true
transform: |
$.responses["200"].description = "Ready Health check";
- from: openapi-document
where: '$.paths["/health/live"].get'
debug: true
transform: |
$.responses["200"].description = "Live Health check";
Created
May 24, 2023 19:12
-
-
Save rquackenbush/1880b3466dc8abc358fda8149f6a899f to your computer and use it in GitHub Desktop.
Autorest directive that sets the description
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment