From 7d745355574af8ba8e2469c5181e4c5455c94868 Mon Sep 17 00:00:00 2001 From: Christian Helle Date: Thu, 15 Jun 2023 15:36:02 +0200 Subject: [PATCH] Update help text in README --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 32b50667..c9c7a17f 100644 --- a/README.md +++ b/README.md @@ -35,21 +35,25 @@ EXAMPLES: refitter ./openapi.json --use-api-response refitter ./openapi.json --cancellation-tokens refitter ./openapi.json --no-operation-headers + refitter ./openapi.json --use-iso-date-format ARGUMENTS: [URL or input file] URL or file path to OpenAPI Specification file OPTIONS: - DEFAULT - -h, --help Prints help information - -n, --namespace GeneratedCode Default namespace to use for generated types - -o, --output Output.cs Path to Output file - --no-auto-generated-header Don't add header to output file - --interface-only Don't generate contract types - --use-api-response Return Task> instead of Task - --internal Set the accessibility of the generated types to 'internal' - --cancellation-tokens Use cancellation tokens - --no-operation-headers Don't generate operation headers + DEFAULT + -h, --help Prints help information + -n, --namespace GeneratedCode Default namespace to use for generated types + -o, --output Output.cs Path to Output file + --no-auto-generated-header Don't add header to output file + --interface-only Don't generate contract types + --use-api-response Return Task> instead of Task + --internal Set the accessibility of the generated types to 'internal' + --cancellation-tokens Use cancellation tokens + --no-operation-headers Don't generate operation headers + --no-logging Don't log errors or collect telemetry + --use-iso-date-format Explicitly format date query string parameters in ISO 8601 + standard date format using delimiters (2023-06-15) ``` To generate code from an OpenAPI specifications file, run the following: