зеркало из https://github.com/Azure/autorest.git
Small docs typo fix: swager --> swagger (#4713)
This commit is contained in:
Родитель
73f476d113
Коммит
faec80d71a
|
@ -8,7 +8,7 @@ See [Issue 3695](https://github.com/Azure/autorest/issues/3695) for context.
|
|||
If a generator needs to differentiate between `output-folder` where the generated content will be written and a project folder where the user might have their own data that shouln't be deleted, then `project-folder` configuration should be used.
|
||||
|
||||
- `project-folder`: Root of their sdk project
|
||||
- `output-folder`: Folder where the generated SDK will be. Most likely under `$(project-fodler)`
|
||||
- `output-folder`: Folder where the generated SDK will be. Most likely under `$(project-folder)`
|
||||
|
||||
Example:
|
||||
|
||||
|
|
|
@ -303,7 +303,7 @@ The `WriteFile` message notifies AutoRest to write out a file with the given nam
|
|||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "WriteFile",
|
||||
"params": ["unique-session-id", "output.py", "contents of output.py]
|
||||
"params": ["unique-session-id", "output.py", "contents of output.py"]
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ Those are flags that affect autorest only
|
|||
|
||||
| Flag | Description |
|
||||
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--output-converted-oai3` | If enabled and the input-files are `swager 2.0` this will output the resulting OpenAPI3.0 converted files to the `output-folder` |
|
||||
| `--output-converted-oai3` | If enabled and the input-files are `swagger 2.0` this will output the resulting OpenAPI3.0 converted files to the `output-folder` |
|
||||
| `--apply-transforms-in-place` | When enable right after loading the input files, running the transform directives it will save the resulting OpenAPI value. This can be used to write a transform to permanently modify the swagger. |
|
||||
| `--memory` | Configure the max memory allowed to the autorest core process. Usage: `--memory=8g` or `--memory=8192m` (to set to 8gb) |
|
||||
|
||||
|
@ -64,12 +64,12 @@ Those are flags that affect autorest only
|
|||
|
||||
Those are flags that affect autorest only
|
||||
|
||||
| Flag | Description |
|
||||
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--use` | Specify an extension to load and use. Format: `--use=<packagename>[@<version>]` (e.g. `--use=@autorest/modelerfour@~4.19.0`) |
|
||||
| `--output-converted-oai3` | If enabled and the input-files are `swager 2.0` this will output the resulting OpenAPI3.0 converted files to the `output-folder` |
|
||||
| `--skip-semantics-validation` | Disable the semantic validator plugin. |
|
||||
| `--memory` | Configure the max memory allowed to the autorest core process. Usage: `--memory=8g` or `--memory=8192m` (to set to 8gb) |
|
||||
| Flag | Description |
|
||||
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--use` | Specify an extension to load and use. Format: `--use=<packagename>[@<version>]` (e.g. `--use=@autorest/modelerfour@~4.19.0`) |
|
||||
| `--output-converted-oai3` | If enabled and the input-files are `swagger 2.0` this will output the resulting OpenAPI3.0 converted files to the `output-folder` |
|
||||
| `--skip-semantics-validation` | Disable the semantic validator plugin. |
|
||||
| `--memory` | Configure the max memory allowed to the autorest core process. Usage: `--memory=8g` or `--memory=8192m` (to set to 8gb) |
|
||||
|
||||
## Temporary flags
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ FATAL: Error: Enum types of 'object' and format 'undefined' are not supported. C
|
|||
Error: Plugin modelerfour reported failure.
|
||||
```
|
||||
|
||||
If you're error does not look like this, refer to the docs in our language generators:
|
||||
If your error does not look like this, refer to the docs in our language generators:
|
||||
|
||||
- [Python][python_generation]
|
||||
- [C#][csharp_generation]
|
||||
|
|
Загрузка…
Ссылка в новой задаче