-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Release version
v7.0.0-alpha.1.0.2
Describe the bug
Extractor fails when pulling operation policy from API. This occurred on unmodified Echo API. Premium v2 instance.
Expected behavior
Extractor should log and move on if error for missing property "value" ?
Actual behavior
info: extractor[0]
Writing policy file for apis/echo-api/operations/retrieve-header-only/policies/policy...
crit: extractor[0]
Extractor failed. Please check the logs for more details.
System.InvalidOperationException: Property 'value' is invalid. JSON object does not have a property named 'value'.
at common.Result.<>c__131.<IfErrorThrow>b__13_1(Error error) in /home/runner/work/apiops/apiops/src/common/Result.cs:line 206 at common.Result1.Match[TResult](Func2 onSuccess, Func2 onError) in /home/runner/work/apiops/apiops/src/common/Result.cs:line 52
at common.Result.IfErrorThrow[T](Result`1 result) in /home/runner/work/apiops/apiops/src/common/Result.cs:line 205
at common.ResourceModule.<>c__DisplayClass5_0.<g__getSpecificationContents|3>d.MoveNext() in /home/runner/work/apiops/apiops/src/common/ApiSpecification.cs:line 236
--- End of stack trace from previous location ---
Reproduction Steps
Ran extractor on v7.0.0-alpha.1.0.2 for the first time.