diff --git a/README.md b/README.md index c06cba094..8ea04bb16 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ The `datamodel-codegen` command: ```bash usage: datamodel-codegen [-h] [--input INPUT] [--url URL] [--http-headers HTTP_HEADER [HTTP_HEADER ...]] + [--http-ignore-tls] [--input-file-type {auto,openapi,jsonschema,json,yaml,dict,csv}] [--openapi-scopes {schemas,paths} [{schemas,paths} ...]] [--output OUTPUT] [--base-class BASE_CLASS] @@ -106,6 +107,8 @@ optional arguments: --http-headers HTTP_HEADER [HTTP_HEADER ...] Set headers in HTTP requests to the remote host. (example: "Authorization: Basic dXNlcjpwYXNz") + --http-ignore-tls Disable verification of the remote host's TLS + certificate --input-file-type {auto,openapi,jsonschema,json,yaml,dict,csv} Input file type (default: auto) --openapi-scopes {schemas,paths} [{schemas,paths} ...] diff --git a/docs/index.md b/docs/index.md index 0275a795e..1ae636516 100644 --- a/docs/index.md +++ b/docs/index.md @@ -37,6 +37,7 @@ The `datamodel-codegen` command: ```bash usage: datamodel-codegen [-h] [--input INPUT] [--url URL] [--http-headers HTTP_HEADER [HTTP_HEADER ...]] + [--http-ignore-tls] [--input-file-type {auto,openapi,jsonschema,json,yaml,dict,csv}] [--openapi-scopes {schemas,paths} [{schemas,paths} ...]] [--output OUTPUT] [--base-class BASE_CLASS] @@ -72,6 +73,8 @@ optional arguments: --http-headers HTTP_HEADER [HTTP_HEADER ...] Set headers in HTTP requests to the remote host. (example: "Authorization: Basic dXNlcjpwYXNz") + --http-ignore-tls Disable verification of the remote host's TLS + certificate --input-file-type {auto,openapi,jsonschema,json,yaml,dict,csv} Input file type (default: auto) --openapi-scopes {schemas,paths} [{schemas,paths} ...]