diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index 8532cbe5987d7..ca9eb454924ca 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -125,9 +125,10 @@ respectively - Renamed model `OperationResult` to `FormRecognizerOperationResult` - Changed param ordering for methods `beginRecognizeCustomForms` and `beginRecognizeCustomFormsFromUrl` -### Key Bug Fixes -- Fixed `getFields()` to preserve service side ordering of fields. - +### Bug Fixes +- When using a security policy with `SecurityManager` turns on, it no longer throws the access denied error on + `java.lang.reflect.ReflectPermission`. More information on https://github.com/Azure/azure-sdk-for-java/issues/17368 + ## 1.0.0-beta.4 (2020-07-07) ### Breaking Changes - `beginRecognizeReceipt` APIs now return a `RecognizedForm` model instead of a `RecognizedReceipt`. See diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/src/main/java/com/azure/ai/formrecognizer/implementation/FormRecognizerClientImpl.java b/sdk/formrecognizer/azure-ai-formrecognizer/src/main/java/com/azure/ai/formrecognizer/implementation/FormRecognizerClientImpl.java index fd2a2cb0327e0..b2aea452de587 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/src/main/java/com/azure/ai/formrecognizer/implementation/FormRecognizerClientImpl.java +++ b/sdk/formrecognizer/azure-ai-formrecognizer/src/main/java/com/azure/ai/formrecognizer/implementation/FormRecognizerClientImpl.java @@ -176,7 +176,7 @@ public SerializerAdapter getSerializerAdapter() { */ @Host("{endpoint}/formrecognizer/{ApiVersion}") @ServiceInterface(name = "FormRecognizerClient") - private interface FormRecognizerClientService { + public interface FormRecognizerClientService { @Post("/custom/models") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(ErrorResponseException.class) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/swagger/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/swagger/README.md index 64e2eb706dc0b..5e59135bb30f8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/swagger/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/swagger/README.md @@ -33,4 +33,5 @@ models-subpackage: implementation.models context-client-method-parameter: true custom-types-subpackage: models custom-types: LengthUnit +service-interface-as-public: true ```