Sign inSign up

mwczapski/swagger_codegen

By mwczapski

Updated about 6 years ago

Image based on steps in https://github.com/mwczapski/Swagger_Codegen_3_Docker_Container

Image
0

88

mwczapski/swagger_codegen repository overview

The intent of this image is to provide a reader with the means to create a self-contained Docker container for generating and running back-end stubs based on an openapi.yaml specification for API-First development.

The container will have the means to:

  • Use the Swagger Codegen to generate and run NodeJS stubs (and Java8 stubs, and Bash stubs) to facilitate API testing
  • Convert YAML specification documents to JSON and the vice versa

The image is based on the latest Docker node image with extras as discussed herein.

The image uses:

  • swagger-codegen-cli/3.0.20 to support YAML to JSON conversion and generation of client and server stubs based on the OpenAPI Specification / Swagger file for supported languages. swagger-codegen-cli requires Java 8, which is installed during container setup.
  • sqlite3
  • nodemon server
  • http-server server

See https://github.com/mwczapski/Swagger_Codegen_3_Docker_Container

Tag summary

Content type

Image

Digest

Size

505.8 MB

Last updated

about 6 years ago

docker pull mwczapski/swagger_codegen:1.0.0