File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 51
51
echo "Generated Document: ${{ steps.oai.outputs.generated }}"
52
52
53
53
$json = Get-Content -Path ${{ steps.oai.outputs.generated }} | ConvertFrom-Json
54
-
55
54
$result = $json.openapi -eq "3.0.1"
56
- echo $result
55
+ echo "Check result: $result"
Original file line number Diff line number Diff line change 47
47
uses : azure-functions-openapi-extension/actions/build-openapi@v1
48
48
with :
49
49
functionAppPath : ' bin/Debug/net6.0'
50
- requestUri : ' http://localhost:7071/api/swagger .json'
50
+ requestUri : ' http://localhost:7071/api/openapi/v3 .json'
51
51
documentPath : ' generated'
52
- documentName : ' swagger .json'
52
+ documentName : ' openapi .json'
53
53
delay : ' 10'
54
54
isRemote : ' false'
55
55
58
58
run : |
59
59
echo "Generated Document: ${{ steps.oai.outputs.generated }}"
60
60
61
- Get-Content -Path ${{ steps.oai.outputs.generated }}
61
+ $json = Get-Content -Path ${{ steps.oai.outputs.generated }} | ConvertFrom-Json
62
+ $result = $json.openapi -eq "3.0.1"
63
+ echo "Check result: $result"
62
64
` ` `
63
-
You can’t perform that action at this time.
0 commit comments