Forked from lovemycodesnippets/gist:6f79757a5fa5f067f7a1d107df198978
Created
February 11, 2025 21:58
-
-
Save DavidBiesack/92dd0a7d71aaeaa838cec1e902520082 to your computer and use it in GitHub Desktop.
Example: OpenAPI Overlay adds a license to an OpenAPI description:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
overlay: 1.0.0 | |
info: | |
title: Add MIT license | |
version: 1.0.0 | |
actions: | |
- target: '$.info' | |
update: | |
license: | |
name: MIT | |
url: https://opensource.org/licenses/MIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Initial version has TAB characters which mess with the YAML indentation. I believe this should be: