Skip to content

Commit da78505

Browse files
committed
feat: update config and generate PokeAPI client with YAML support
This commit introduces several improvements: - Added YAML parsing support in spec loading for remote specifications - Updated index.ts to handle YAML-formatted OpenAPI specs - Generated new PokeAPI client and related files using the updated generator - Modified test-config.json to use PokeAPI's OpenAPI specification - Removed previously generated clients for other APIs - Enhanced spec loading to detect YAML format dynamically
1 parent 39a2f0a commit da78505

15 files changed

+5671
-14552
lines changed

example/configs/test-config.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
2-
"specSource": [
3-
"https://api.diks.acc.lightbase.nl/_compas/structure.json?format=openapi",
4-
"https://api.jaarbeurs.acc.lightbase.nl/_compas/structure.json?format=openapi",
5-
"https://app.yourtravis.com/docs/api/location_api"
6-
],
2+
"specSource": "https://raw.githubusercontent.com/PokeAPI/pokeapi/refs/heads/master/openapi.yml",
73
"exportDir": "./example/generated"
84
}

0 commit comments

Comments
 (0)