-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: trying to apply an overlay before deploy
- Loading branch information
Showing
4 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
overlay: 1.0.0 | ||
info: | ||
title: Remove all get operations | ||
version: 0.0.1 | ||
actions: | ||
- target: '$.paths.*.get' | ||
description: remove first operation | ||
remove: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
overlay: 1.0.0 | ||
info: | ||
title: Add tags and description to Greenly API | ||
version: 0.0.1 | ||
actions: | ||
- target: '$' | ||
description: Add description to grouping tags. | ||
update: | ||
tags: | ||
- name: "alternatives" | ||
description: | | ||
Everything about low-carbon alternatives | ||
- name: "offsetProjects" | ||
description: | | ||
Find some carbon-offset related projects, only if you can't find a lower carbon alternative. | ||
- name: "live" | ||
description: | | ||
Status of the API. | ||
- name: "purchaseCategories" | ||
description: | | ||
Purchase categories is about purchasing. | ||
- name: "transactions" | ||
description: | | ||
Compute the carbon footprint of your transactions. | ||
- name: "users" | ||
description: | | ||
All endpoints to manage your users. | ||
- target: "$..[?(@['tags'] && @['tags'].includes('ready'))]" | ||
description: rename 'ready' tags into 'live' tags | ||
update: | ||
tags: ["live"] |
Empty file.