Skip to content

Commit 788a2ed

Browse files
committed
Upgrade openapi-workflow-parser
1 parent 4607cf6 commit 788a2ed

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<dependency>
5050
<groupId>com.api-flows</groupId>
5151
<artifactId>openapi-workflow-parser</artifactId>
52-
<version>0.0.3-SNAPSHOT</version>
52+
<version>0.0.4-SNAPSHOT</version>
5353
</dependency>
5454

5555
<dependency>

react-app/src/home/viewer/StepDetails.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import CloseIcon from '@mui/icons-material/Close';
2020

2121
const StepDetails = ({ step, navigateToTab, navigateToWorkflow, operationDataMap }) => {
2222

23+
console.log('Step content:', step);
2324
return (
2425
<>
2526
<Divider/>
@@ -44,7 +45,9 @@ const StepDetails = ({ step, navigateToTab, navigateToWorkflow, operationDataMap
4445
</Grid>
4546
<Grid item xs={10}>
4647
<Box justifyContent="left" display="flex">
48+
{operationDataMap[step.operationId] != null && (
4749
<HttpMethodChip httpMethod={operationDataMap[step.operationId].httpMethod}/>
50+
)}
4851
&nbsp;&nbsp;
4952
<Typography variant="body1" align="left">
5053
{step.operationId}
@@ -53,16 +56,16 @@ const StepDetails = ({ step, navigateToTab, navigateToWorkflow, operationDataMap
5356
</Grid>
5457
</>
5558
)}
56-
{step.operationRef !== null && (
59+
{step.operationPath !== null && (
5760
<>
5861
<Grid item xs={2}>
5962
<Typography variant="body1" align="left">
60-
operationRef:
63+
operationPath:
6164
</Typography>
6265
</Grid>
6366
<Grid item xs={10}>
6467
<Typography variant="body1" align="left">
65-
{step.operationRef}
68+
{step.operationPath}
6669
</Typography>
6770
</Grid>
6871
</>

0 commit comments

Comments
 (0)