Skip to content

Commit

Permalink
Update documents (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi authored Feb 8, 2022
1 parent 1f4b192 commit d706b1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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} ...]
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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} ...]
Expand Down

0 comments on commit d706b1e

Please sign in to comment.