Found 2 repositories(showing 2)
hmis-tools
Version 2 of OpenHMIS
orientaltran
API Development Environment¶ Edit this section Install swagger cli npm install -g swagger Edit this section Install swagger-codegen wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar -O swagger-codegen-cli.jar sudo mkdir /opt/swagger sudo mv swagger-codegen-cli.jar /opt/swagger cd /opt/swagger sudo nano swagger-codegen Content of /opt/swagger/swagger-codegen shell script #!/bin/sh java -jar /opt/swagger/swagger-codegen-cli.jar $@ Create symlink to swagger codegen in /usr/local/bin sudo ln -s /opt/swagger/swagger-codegen /usr/local/bin Edit this section Clone the repository git clone ssh://git@code.dfm-europe.com/cryosoft/cryosoft-hmi/api_design.git Edit this section Start Swagger development environment cd api_design swagger project edit An browser point to http://127.0.0.1:36417/ will be automatically open Edit this section Generate php server stub by swagger codegen swagger-codegen generate -i ../api_design/api/swagger/swagger.yaml -l lumen -o /path/to/output or yarn build Edit this section See also JSON Web Token: https://jwt.io/
All 2 repositories loaded