This is the AutoRest configuration file for agfood.
To build the SDKs for My API, simply install AutoRest via npm
(npm install -g autorest
) and then run:
autorest readme.md
To see additional help and options, run:
autorest --help
For other options on installation see Installing AutoRest on the AutoRest github page.
These are the global settings for the agfood.
openapi-type: data-plane
tag: package-2023-06-01-preview
directive:
- suppress: LongRunningResponseStatusCode
reason: The validation tools do not properly recognize 202 as a supported response code.
These settings apply only when --tag=package-2021-03-31-preview
is specified on the command line.
input-file:
- Microsoft.AgFoodPlatform/preview/2021-03-31-preview/agfood.json
These settings apply only when --tag=package-2021-07-31-preview
is specified on the command line.
input-file:
- Microsoft.AgFoodPlatform/preview/2021-07-31-preview/agfood.json
These settings apply only when --tag=package-2022-11-01-preview
is specified on the command line.
input-file:
- Microsoft.AgFoodPlatform/preview/2022-11-01-preview/agfood.json
These settings apply only when --tag=package-2023-04-01-preview
is specified on the command line.
input-file:
- Microsoft.AgFoodPlatform/preview/2023-04-01-preview/agfood.json
These settings apply only when --tag=package-2023-06-01-preview
is specified on the command line.
input-file:
- Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-java