Generate API client libraries, server stubs and documentation automatically given an OpenAPI Spec.
881
pinterb/swagger-codegen is a docker image that bundles the following:
This image can easily be extended. But to generate a sample client library:
docker run -it --rm \
-v $(SSH_DIR):/home/dev/.ssh \
-v $(SWAGGER_SPECS_ROOT_DIR):/data:rw \
-v $(SWAGGER_CODEGEN_OUTPUT_DIR):/output:rw \
pinterb/swagger-codegen:2.2.0 generate \
-i /data/swagger.json \
-l java \
-o /output/client/petstore/java
Content type
Image
Digest
Size
305.3 MB
Last updated
about 9 years ago
docker pull pinterb/swagger-codegen