Skip to content

Instantly share code, notes, and snippets.

@ponelat
Created August 11, 2022 08:24
Show Gist options
  • Save ponelat/daac5912ede1871629b6028bbe715d3a to your computer and use it in GitHub Desktop.
Save ponelat/daac5912ede1871629b6028bbe715d3a to your computer and use it in GitHub Desktop.
Sample overlay
overlays: 1.0.0
extends: https://petstore3.swagger.io/api/v3/openapi.json
actions:
- target: '$.paths'
remove: true
- target: '$.components'
remove: true
- target: '$.info'
update:
title: Overlayed!
description: |
This API has been overlayed 😎
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment