GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — openapi-python-client/usage.md at main · frascuchon/openapi-python-client

Expand file tree

/

usage.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
59 lines (39 loc) · 1.53 KB
/

usage.md

Copy path

File metadata and controls

59 lines (39 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

openapi-python-client

Generate a Python client from an OpenAPI JSON document

Usage:

$ openapi-python-client [OPTIONS] COMMAND [ARGS]...

Options:

  • --version: Print the version and exit [default: False]
  • --config PATH: Path to the config file to use
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • generate: Generate a new OpenAPI Client library
  • update: Update an existing OpenAPI Client library

openapi-python-client generate

Generate a new OpenAPI Client library

Usage:

$ openapi-python-client generate [OPTIONS]

Options:

  • --url TEXT: A URL to read the JSON from
  • --path PATH: A path to the JSON file
  • --custom-template-path DIRECTORY: A path to a directory containing custom template(s)
  • --meta [none|poetry|setup]: The type of metadata you want to generate. [default: poetry]
  • --help: Show this message and exit.

openapi-python-client update

Update an existing OpenAPI Client library

Usage:

$ openapi-python-client update [OPTIONS]

Options:

  • --url TEXT: A URL to read the JSON from
  • --path PATH: A path to the JSON file
  • --custom-template-path DIRECTORY: A path to a directory containing custom template(s)
  • --meta [none|poetry|setup]: The type of metadata you want to generate. [default: poetry]
  • --help: Show this message and exit.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.