[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api endpoint generator #494

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Api endpoint generator #494

wants to merge 24 commits into from

Conversation

shivahari
Copy link
Collaborator

Added API Auto Generation capability to the framework. This new change will help generate *_endpoint.py modules from an OpenAPI v3.0 spec. This partially automates creating API Automation test.

Run python api_auto_generator/endpoint_module_generator.py --help to get Help on how to run the generator script.

Changes include:

  • Adding a directory - api_auto_generator to house:
  1. API Auto generator scripts
  2. A Jinja2 template
  • Added a generic method - make_request to make HTTP requests
  • Updated requirements.txt file to add required modules

…resent or the endpoints have /api common base point
…le generated by the endpoint generator script
…er object to accommodate the generated Endpoint file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant