@@ -4,11 +4,11 @@ import { getNodeTypesFromJSONSchema } from './json-schema-adapter';
44
55export const ARAZZO_ROOT_TYPE = 'Root' ;
66
7- const operationMethod = {
7+ export const operationMethod = {
88 type : 'string' ,
99 enum : [ 'get' , 'post' , 'put' , 'delete' , 'patch' ] ,
1010} as const ;
11- const expectSchema = {
11+ export const expectSchema = {
1212 type : 'object' ,
1313 properties : {
1414 statusCode : { type : 'number' } ,
@@ -58,7 +58,7 @@ const arazzoSourceDescriptionSchema = {
5858 additionalProperties : false ,
5959 required : [ 'name' , 'type' , 'url' ] ,
6060} as const ;
61- const sourceDescriptionSchema = {
61+ export const sourceDescriptionSchema = {
6262 type : 'object' ,
6363 oneOf : [
6464 openAPISourceDescriptionSchema ,
@@ -81,7 +81,7 @@ const extendedOperation = {
8181 additionalProperties : false ,
8282 required : [ 'path' , 'method' ] ,
8383} as const ;
84- const parameter = {
84+ export const parameter = {
8585 type : 'object' ,
8686 oneOf : [
8787 {
@@ -124,7 +124,7 @@ const parameters = {
124124 type : 'array' ,
125125 items : parameter ,
126126} as const ;
127- const infoObject = {
127+ export const infoObject = {
128128 type : 'object' ,
129129 properties : {
130130 title : { type : 'string' } ,
@@ -135,7 +135,7 @@ const infoObject = {
135135 additionalProperties : false ,
136136 required : [ 'title' , 'version' ] ,
137137} as const ;
138- const replacement = {
138+ export const replacement = {
139139 type : 'object' ,
140140 properties : {
141141 target : { type : 'string' } ,
@@ -150,7 +150,7 @@ const replacement = {
150150 } ,
151151 } ,
152152} as const ;
153- const requestBody = {
153+ export const requestBody = {
154154 type : 'object' ,
155155 properties : {
156156 contentType : { type : 'string' } ,
@@ -172,7 +172,7 @@ const requestBody = {
172172 additionalProperties : false ,
173173 required : [ 'payload' ] ,
174174} as const ;
175- const criteriaObject = {
175+ export const criteriaObject = {
176176 type : 'object' ,
177177 properties : {
178178 condition : { type : 'string' } ,
@@ -204,7 +204,7 @@ const criteriaObjects = {
204204 type : 'array' ,
205205 items : criteriaObject ,
206206} as const ;
207- const inherit = {
207+ export const inherit = {
208208 type : 'string' ,
209209 enum : [ 'auto' , 'none' ] ,
210210} as const ;
@@ -242,7 +242,7 @@ const onFailureList = {
242242 type : 'array' ,
243243 items : onFailureObject ,
244244} as const ;
245- const step = {
245+ export const step = {
246246 type : 'object' ,
247247 properties : {
248248 stepId : { type : 'string' } ,
@@ -317,7 +317,7 @@ const JSONSchema = {
317317 required : [ 'type' ] ,
318318 additionalProperties : true ,
319319} as const ;
320- const workflow = {
320+ export const workflow = {
321321 type : 'object' ,
322322 properties : {
323323 workflowId : { type : 'string' } ,
0 commit comments