Add no_get param to Concourse schema

This commit is contained in:
aboyko
2023-03-24 11:05:17 -04:00
parent 3330e4e33e
commit 9658729f0c
2 changed files with 2 additions and 0 deletions

View File

@@ -368,6 +368,7 @@ public class PipelineYmlSchema implements YamlSchema {
addProp(putStep, "get_params", f.contextAware("GetParams", (dc) ->
resourceTypes.getInParamsType(getResourceType("put", models, dc))
));
addProp(putStep, "no_get", t_boolean);
putStep.require((DynamicSchemaContext dc, Node parent, Node _map, YType type, IProblemCollector problems) -> {
if (_map instanceof MappingNode) {
MappingNode map = (MappingNode) _map;

View File

@@ -0,0 +1 @@
*Optional*. Skips the get step that usually follows the completion of the put step.