Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Generate Scala Play server stub using OpenAPI Generator in 3 steps
1 point by wing328hk on March 27, 2019 | hide | past | favorite
We've just added a Scala Play server stub generator (beta) to the OpenAPI Generator project (https://github.com/OpenAPITools/openapi-generator) and would appreciate if you can try it out and let us know if you've any feedback or question for us. To try it out, just follow 3 steps below:

1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/...)

2. Rename the JAR as "openapi-generator-cli.jar"

3. Run the following command to generate a Scala Play server stub for Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-gener...):

Mac/Linux: - java -jar openapi-generator-cli.jar generate -g scala-play-server -i https://raw.githubusercontent.com/OpenAPITools/openapi-gener... -o /var/tmp/scala-play-petstore/

Windows: - java -jar openapi-generator-cli.jar generate -g scala-play-server -i https://raw.githubusercontent.com/OpenAPITools/openapi-gener... -o C:\tmp\scala-play-petstore

Look forward to hearing feedback from you.

Thanks, William




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: