Skip to content

Commit 0292afc

Browse files
committed
Squashed commit of the following:
commit 9b6b3c6 Merge: 8555378 96f2804 Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 23:46:17 2023 +0100 Merge branch 'main' into update-spec-062023 commit 8555378 Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 23:43:58 2023 +0100 Squashed commit of the following: commit 0e40bef Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 00:37:00 2023 +0200 refactor-generate-merged-json (#177) commit 96f2804 Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 23:41:05 2023 +0100 Squashed commit of the following: commit 0e40bef Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 00:37:00 2023 +0200 refactor-generate-merged-json (#177) commit 7fff675 Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 23:37:52 2023 +0100 Squashed commit of the following: commit 0e40bef Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 00:37:00 2023 +0200 refactor-generate-merged-json (#177) commit fa06763 Author: Antonio Mendoza Pérez <antmendoza@gmail.com> Date: Tue Jun 20 16:55:09 2023 +0200 update spec
1 parent 0e40bef commit 0292afc

File tree

103 files changed

+1519
-1329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1519
-1329
lines changed

src/lib/builders/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Auto generated notice
2-
32
This directory and its content has been generated automatically. Do not modify its content, it WILL be lost.

src/lib/builders/actiondatafilter-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function actiondatafilterBuildingFn(data: Specification.Actiondatafilter): () =>
2727
return () => {
2828
const model = new Specification.Actiondatafilter(data);
2929

30-
validate('Actiondatafilter', model);
30+
validate('Actiondatafilter', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/basicpropsdef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function basicpropsdefBuildingFn(data: Specification.Basicpropsdef): () => Speci
2727
return () => {
2828
const model = new Specification.Basicpropsdef(data);
2929

30-
validate('Basicpropsdef', model);
30+
validate('Basicpropsdef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/bearerpropsdef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function bearerpropsdefBuildingFn(data: Specification.Bearerpropsdef): () => Spe
2727
return () => {
2828
const model = new Specification.Bearerpropsdef(data);
2929

30-
validate('Bearerpropsdef', model);
30+
validate('Bearerpropsdef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/correlation-def-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function correlationDefBuildingFn(data: Specification.CorrelationDef): () => Spe
2727
return () => {
2828
const model = new Specification.CorrelationDef(data);
2929

30-
validate('CorrelationDef', model);
30+
validate('CorrelationDef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/crondef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function crondefBuildingFn(data: Specification.Crondef): () => Specification.Cro
2727
return () => {
2828
const model = new Specification.Crondef(data);
2929

30-
validate('Crondef', model);
30+
validate('Crondef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/enddeventcondition-builder.ts renamed to src/lib/builders/endeventcondition-builder.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ import { validate } from '../utils';
2020

2121
/**
2222
* The internal function used by the builder proxy to validate and return its underlying object
23-
* @param {Specification.Enddeventcondition} data The underlying object
24-
* @returns {Specification.Enddeventcondition} The validated underlying object
23+
* @param {Specification.Endeventcondition} data The underlying object
24+
* @returns {Specification.Endeventcondition} The validated underlying object
2525
*/
26-
function enddeventconditionBuildingFn(data: Specification.Enddeventcondition): () => Specification.Enddeventcondition {
26+
function endeventconditionBuildingFn(data: Specification.Endeventcondition): () => Specification.Endeventcondition {
2727
return () => {
28-
const model = new Specification.Enddeventcondition(data);
28+
const model = new Specification.Endeventcondition(data);
2929

30-
validate('Enddeventcondition', model.normalize());
30+
validate('Endeventcondition', model.normalize());
3131
return model;
3232
};
3333
}
3434

3535
/**
36-
* A factory to create a builder proxy for the type `Specification.Enddeventcondition`
37-
* @returns {Specification.Enddeventcondition} A builder for `Specification.Enddeventcondition`
36+
* A factory to create a builder proxy for the type `Specification.Endeventcondition`
37+
* @returns {Specification.Endeventcondition} A builder for `Specification.Endeventcondition`
3838
*/
39-
export function enddeventconditionBuilder(): Builder<Specification.Enddeventcondition> {
40-
return builder<Specification.Enddeventcondition>(enddeventconditionBuildingFn);
39+
export function endeventconditionBuilder(): Builder<Specification.Endeventcondition> {
40+
return builder<Specification.Endeventcondition>(endeventconditionBuildingFn);
4141
}

src/lib/builders/errordef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function errordefBuildingFn(data: Specification.Errordef): () => Specification.E
2727
return () => {
2828
const model = new Specification.Errordef(data);
2929

30-
validate('Errordef', model);
30+
validate('Errordef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/eventdatafilter-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function eventdatafilterBuildingFn(data: Specification.Eventdatafilter): () => S
2727
return () => {
2828
const model = new Specification.Eventdatafilter(data);
2929

30-
validate('Eventdatafilter', model);
30+
validate('Eventdatafilter', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/state-exec-timeout-builder.ts renamed to src/lib/builders/extension-builder.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ import { validate } from '../utils';
2020

2121
/**
2222
* The internal function used by the builder proxy to validate and return its underlying object
23-
* @param {Specification.StateExecTimeout} data The underlying object
24-
* @returns {Specification.StateExecTimeout} The validated underlying object
23+
* @param {Specification.Extension} data The underlying object
24+
* @returns {Specification.Extension} The validated underlying object
2525
*/
26-
function stateExecTimeoutBuildingFn(data: Specification.StateExecTimeout): () => Specification.StateExecTimeout {
26+
function extensionBuildingFn(data: Specification.Extension): () => Specification.Extension {
2727
return () => {
28-
const model = new Specification.StateExecTimeout(data);
28+
const model = new Specification.Extension(data);
2929

30-
validate('StateExecTimeout', model);
30+
validate('Extension', model.normalize());
3131
return model;
3232
};
3333
}
3434

3535
/**
36-
* A factory to create a builder proxy for the type `Specification.StateExecTimeout`
37-
* @returns {Specification.StateExecTimeout} A builder for `Specification.StateExecTimeout`
36+
* A factory to create a builder proxy for the type `Specification.Extension`
37+
* @returns {Specification.Extension} A builder for `Specification.Extension`
3838
*/
39-
export function stateExecTimeoutBuilder(): Builder<Specification.StateExecTimeout> {
40-
return builder<Specification.StateExecTimeout>(stateExecTimeoutBuildingFn);
39+
export function extensionBuilder(): Builder<Specification.Extension> {
40+
return builder<Specification.Extension>(extensionBuildingFn);
4141
}

0 commit comments

Comments
 (0)