-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> Generate code and documentation for your REST api from a OpenAPI/swagger definition.
Generate documentation and code from an OpenAPI/swagger file:
swagger-codegen generate -i {swagger_file} -l {language}
Generate Java code using the library retrofit2 and the option useRxJava2:
swagger-codegen generate -i {http://petstore.swagger.io/v2/swagger.json} -l {java} --library {retrofit2} -D{useRxJava2}={true}
List available languages:
swagger-codegen langs
Display help options for the generate command:
swagger-codegen help {generate}
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Mon May 20 22:25:04 2024