Create an intermediate representation of an api schema, that can be used to generate code.
Project description
API schemas
Create an intermediate representation of an api schema, that can be used to generate code.
Example API schema
typedef object MyData
name: str
?an_enum: {SUCCESS, FAILURE} Status # Optional enum
an_array[]: object People
name: str # comments are also possible
*: str # wildcards allow any string as key
server = http://localhost:5000/api/v1
people
uri: /people/<name>
GET
->
<-
200
data: $MyData
404
err_msg: str
500
err_msg: str
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
api_schemas-0.1.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for api_schemas-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af131991c29b81f1bcd8945575764662b43849f2c12196dfd4012568d54401b |
|
MD5 | c8201486113b5eab931cf3e308b09dc7 |
|
BLAKE2b-256 | e3d7299bd53e834aa3de12adb8101c2ebc47d4e251aff00607e96a3f59b740d6 |