Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 7.79 KB

README.md

File metadata and controls

55 lines (33 loc) · 7.79 KB

Yet another Code Generator

pipeline coverage

Generate pretty API clients from OpenApi specs with ease.

Install

Docker image

docker image pull registry.gitlab.com/atten0/dto-code-generator:master

Other image versions:

https://gitlab.com/atten0/dto-code-generator/container_registry

Binary format (linux/x86)

Download and extract archive into current dir:

wget -qO- https://github.com/atten/dto-code-generator/releases/download/v1.3.0/dto-codegen-1.3.0.zip | busybox unzip -

Other versions lists:

Usage

TODO

Avaliable generators

Type Language/Framework Serialization Dependencies Name Example Coverage
DAO Kotlin kotlinx.serialization KtSerializableDataclass entitiesOutput.kt coverage
DAO Kotlin Jackson KtSerializableDataclass entitiesOutputJacksonEnabled.kt coverage
HTTP Python3 Marshmallow requirements.txt PyApiClient endpointsOutput.py coverage
HTTP Python3 (async) Marshmallow requirements.txt PyApiClientAsync endpointsOutput.py coverage
DAO Python3 Dataclass - PyDataclass entitiesOutput.py coverage
DAO Python3 Marshmallow requirements.txt PyMarshmallowDataclass entitiesOutput.py coverage
ORM Python3 + Django - requirements.txt PyDjangoModel entitiesOutput.py coverage
AMQP Python3 Marshmallow PyAmqpBlockingClient endpointsOutput.py coverage
AMQP Python3 + Gevent Marshmallow PyAmqpGeventClient endpointsOutput.py coverage