Skip to content

Latest commit

 

History

History
92 lines (58 loc) · 2.27 KB

File metadata and controls

92 lines (58 loc) · 2.27 KB

agfood

see https://aka.ms/autorest

This is the AutoRest configuration file for agfood.

Getting Started

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.


Configuration

Basic Information

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.

Tag: package-2021-03-31-preview

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

Tag: package-2021-07-31-preview

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

Tag: package-2022-11-01-preview

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

Tag: package-2023-04-01-preview

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

Tag: package-2023-06-01-preview

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

Code Generation

Swagger to SDK

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