![]() To generate code with this image, you'll need to mount a local location as a volume. It can be used as an alternative to installing via homebrew, or for developers who are unable to install Java or upgrade the installed version. The Swagger Codegen image acts as a standalone executable. In the example above, result.zip will contain the generated client. GEN_IP= $(docker inspect -format ' ' ' ' | jq '.link ' | tr -d '" ' ) # Download the generated zip and redirect to a file # Start container and save the container idĬID= $(docker run -d swaggerapi/swagger-generator ) # allow for startup If you're looking for the latest stable version, you can grab it directly from (Java 8 runtime at a minimum): The Swagger Codegen project has the following compatibilities with the OpenAPI Specification: Swagger Codegen Versionģ.0.44-SNAPSHOT (current 3.0.0, upcoming minor release) SNAPSHOTĢ.4.33-SNAPSHOT (current master, upcoming minor release) SNAPSHOT ![]() The OpenAPI Specification has undergone 3 revisions since initial creation in 2010.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |