An attempt to go from test definition to openapi3 spec
Project description
AutoOpenApi
Is an attempt to automate the production of API documentation. This library attempts to build API documentation to OpenApi3 Specification.
It does this based on the tests defined, in your project. In order to generate your API documentation you need to do the following:
- 1. Install the library
- 2. Put a .yaml file in your tests/ dir
- 3. import the package: from AutoOpenApi.autoopenapi import ToDoc
- 4. include a call to build an endpoint in the tests you wish to have included: ToDoc(your_input_file, your_output_file).build_endpoint(event=your_event, response=your_response)
- 5. Run the tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AutoOpenApi-1.1.0.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for AutoOpenApi-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05693c5e693b40c7306f51727bc3d81febd7db774b9ea2e1cee6b282539e5030 |
|
MD5 | d2d7137203f65b2d04c90fead18eb0cf |
|
BLAKE2b-256 | ac85c7dfa18981f14729dd12deb68115307f8580cd493481c12ed7f8af18f1c2 |