Skip to content

A CLI tool for automated DTO generation using OpenAPI schema

License

Notifications You must be signed in to change notification settings

aiembassy/openapi-dto

Repository files navigation

openapi-dto

This small library allows generating Python DTOs from the OpenAPI schema definition. By default, it uses dataclasses, but it's open for extensions and using libraries like pydantic instead.

After installation, it might be called in the following way:

openapi_dto \
  --naming-convention=camel \
  https://foobar.com/api/schema/

About

A CLI tool for automated DTO generation using OpenAPI schema

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages