Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

R2D2 V3: Client / Server Implementation

Installing the r2d2 server (Note: This installation process needs to be updated and combined)

cd r2d2

python3 -m pip install -e .

cd server

python3 -m pip install -e .

Installing the r2d2 client

cd r2d2-client
python3 -m pip install -e .

How to use the r2d2-client generator

from generator import Generator

Generator().generate(client_output_path='/Users/eric2/jedi/jedi-bundle/r2d2-client/src/r2d2_client/r2d2_client.py')

or 

Generator(selected_item='observation').generate(client_output_path='/Users/eric2/jedi/jedi-bundle/r2d2-client/src/r2d2_client/r2d2_client.py')

How to launch the Swagger Editor for editing app.yaml using a localhost Docker container

docker pull swaggerapi/swagger-editor

docker run -d -p 80:8080 swaggerapi/swagger-editor

...