All notable changes to this project will be documented here.
tyk api applyis now fully idempotent and acts as an upsert:- If
x-tyk-api-gateway.info.idis present,applyupdates the API if it exists; otherwise it creates a new API preserving the provided API ID. - If the ID is missing,
applyautomatically creates a new API.
- If
- Behavior focuses on the API ID defined in the OAS (we do not care about DB IDs).
- The
--createflag has been removed fromtyk api apply. Creation now happens automatically when the API is missing.
- Updated README and examples to reflect idempotent apply behavior and removal of
--create.
- Remove any usage of
tyk api apply --createin your scripts/pipelines and usetyk api apply --file <path>instead.