CreateAPI Demo – iOS Dev UK 2022
A small Demo app that uses API entities and paths generated using CreateAPI.
To regenerate the DemoAPI package, run the following command:
swift package --allow-writing-to-package-directory demo-api-generator
You can experiment with different configuration options by modifying create-api.yml. Use the Configuration Options documentation for reference.
To use create-api
outside of a Swift Package Plugin, install the tool manually and run the following command:
create-api generate schema.json --config create-api.yml --output DemoAPI --clean