@xyd-js/openapi2opencli 0.0.0-canary-4287eee-20260630010340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/LICENSE +21 -0
- package/README.md +45 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/input.json +54 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/input.json +31 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/expected.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/expected.json +20 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/input.json +23 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/input.json +23 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/input.json +24 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/input.json +27 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/input.json +19 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/batches__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/batches__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/batches__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/batches__list/input.json +19 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/input.json +26 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/input.json +26 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/input.json +18 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/input.json +18 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/input.json +25 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/input.json +39 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/input.json +39 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/input.json +25 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/input.json +44 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/input.json +44 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/input.json +18 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/input.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/input.json +13 -0
- package/__fixtures__/-2.complex.openai/completions__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/completions__create/input.json +33 -0
- package/__fixtures__/-2.complex.openai/containers__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/containers__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/containers__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/conversations__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/conversations__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/input.json +26 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/conversations__update/input.json +16 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/input.json +19 -0
- package/__fixtures__/-2.complex.openai/files__content/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__content/input.json +29 -0
- package/__fixtures__/-2.complex.openai/files__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/files__create/input.json +18 -0
- package/__fixtures__/-2.complex.openai/files__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/files__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/files__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/input.json +3 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/images__create-variation/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/images__create-variation/input.json +3 -0
- package/__fixtures__/-2.complex.openai/images__edit/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/images__edit/input.json +3 -0
- package/__fixtures__/-2.complex.openai/images__generate/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/images__generate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/models__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/models__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/models__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/models__list/input.json +8 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/input.json +8 -0
- package/__fixtures__/-2.complex.openai/moderations__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/moderations__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__compact/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__compact/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/responses__create/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/responses__input-items__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__input-items__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/responses__input-tokens__count/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/responses__input-tokens__count/input.json +26 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/skills__content__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__content__retrieve/input.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/skills__create/input.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/skills__delete/input.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/skills__list/input.json +23 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/input.json +23 -0
- package/__fixtures__/-2.complex.openai/skills__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__update/input.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/input.json +18 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/input.json +18 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/input.json +28 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/input.json +28 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/uploads__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/vector-stores__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/input.json +25 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/input.json +25 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__content/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__content/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__create/input.json +24 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__list/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__update/input.json +24 -0
- package/__fixtures__/-2.complex.openai/vector-stores__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/vector-stores__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/vector-stores__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/vector-stores__search/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__search/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__update/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__update/input.json +21 -0
- package/__fixtures__/-2.complex.openai/videos__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__create-character/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__create-character/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/videos__download-content/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__download-content/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__edit/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__edit/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__extend/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/videos__extend/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__get-character/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__get-character/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/videos__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__remix/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__remix/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/input.json +24 -0
- package/__fixtures__/1.basic/input.yaml +48 -0
- package/__fixtures__/1.basic/output.json +74 -0
- package/__fixtures__/2.crud/input.yaml +113 -0
- package/__fixtures__/2.crud/output.json +281 -0
- package/__fixtures__/3.nested/input.yaml +84 -0
- package/__fixtures__/3.nested/output.json +196 -0
- package/__fixtures__/4.body-flatten/input.yaml +61 -0
- package/__fixtures__/4.body-flatten/output.json +153 -0
- package/__tests__/conformance.test.ts +99 -0
- package/__tests__/docs-oracle.test.ts +237 -0
- package/__tests__/openapi2opencli.test.ts +31 -0
- package/__tests__/utils.ts +41 -0
- package/biome.json +25 -0
- package/index.ts +1 -0
- package/oracle/README.md +41 -0
- package/oracle/coverage.floor.json +4 -0
- package/oracle/docs-allowlist.json +201 -0
- package/oracle/docs-coverage.floor.json +4 -0
- package/oracle/docs-methods.json +3744 -0
- package/oracle/docsOracle.ts +152 -0
- package/oracle/openai-openapi.yaml +81040 -0
- package/oracle/parseOpenaiCli.ts +205 -0
- package/oracle/pins.json +6 -0
- package/oracle/surface.json +5844 -0
- package/package.json +27 -0
- package/src/action.ts +118 -0
- package/src/body.ts +132 -0
- package/src/command.ts +66 -0
- package/src/index.ts +12 -0
- package/src/naming.ts +40 -0
- package/src/openapi2opencli.ts +106 -0
- package/src/parameters.ts +108 -0
- package/src/schema.ts +110 -0
- package/src/security.ts +43 -0
- package/src/surface.ts +165 -0
- package/src/tree.ts +78 -0
- package/src/types.ts +86 -0
- package/src/unique.ts +11 -0
- package/tsconfig.json +18 -0
- package/tsup.config.ts +19 -0
- package/vitest.config.ts +8 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
|
|
4
|
+
import { beforeAll, describe, expect, it } from 'vitest';
|
|
5
|
+
|
|
6
|
+
import { deferencedOpenAPI } from '@xyd-js/openapi';
|
|
7
|
+
|
|
8
|
+
import { openapi2opencli } from '../index';
|
|
9
|
+
import {
|
|
10
|
+
buildOpIndex,
|
|
11
|
+
commandFlags,
|
|
12
|
+
type DocsMethodResolved,
|
|
13
|
+
extractCliCommand,
|
|
14
|
+
joinDocsMethod,
|
|
15
|
+
parseOverviewMethods,
|
|
16
|
+
type SpecOp,
|
|
17
|
+
} from '../oracle/docsOracle';
|
|
18
|
+
|
|
19
|
+
const ORACLE_DIR = path.join(__dirname, '../oracle');
|
|
20
|
+
const FIXTURES = path.join(__dirname, '../__fixtures__/-2.complex.openai');
|
|
21
|
+
const METHODS = path.join(ORACLE_DIR, 'docs-methods.json');
|
|
22
|
+
const ALLOW = path.join(ORACLE_DIR, 'docs-allowlist.json');
|
|
23
|
+
const FLOOR = path.join(ORACLE_DIR, 'docs-coverage.floor.json');
|
|
24
|
+
const REPORT = path.join(ORACLE_DIR, 'docs-coverage.report.json');
|
|
25
|
+
const OPENAPI = path.join(__dirname, '../../xyd-openapi/__fixtures__/-2.complex.openai/input.yaml');
|
|
26
|
+
const OVERVIEW = 'https://developers.openai.com/api/reference/overview';
|
|
27
|
+
|
|
28
|
+
const REFRESH = process.env.DOCS_REFRESH === '1';
|
|
29
|
+
const RESEED = process.env.DOCS_RESEED === '1';
|
|
30
|
+
|
|
31
|
+
async function pool<T, R>(items: T[], concurrency: number, fn: (item: T, i: number) => Promise<R>): Promise<R[]> {
|
|
32
|
+
const results: R[] = new Array(items.length);
|
|
33
|
+
let next = 0;
|
|
34
|
+
await Promise.all(
|
|
35
|
+
Array.from({ length: concurrency }, async () => {
|
|
36
|
+
while (next < items.length) {
|
|
37
|
+
const i = next++;
|
|
38
|
+
results[i] = await fn(items[i], i);
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
);
|
|
42
|
+
return results;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// ---- Docs refresh (network; opt-in) --------------------------------------
|
|
46
|
+
describe.skipIf(!REFRESH)('docs oracle refresh (network)', () => {
|
|
47
|
+
it('fetch overview + 270+ CLI pages → fixtures + docs-methods.json', async () => {
|
|
48
|
+
const overviewHtml = await fetch(OVERVIEW).then((r) => r.text());
|
|
49
|
+
const methods = parseOverviewMethods(overviewHtml);
|
|
50
|
+
expect(methods.length).toBeGreaterThan(250);
|
|
51
|
+
|
|
52
|
+
const resolved = await pool(methods, 8, async (m): Promise<DocsMethodResolved | null> => {
|
|
53
|
+
try {
|
|
54
|
+
const html = await fetch(m.cliUrl).then((r) => r.text());
|
|
55
|
+
const cli = extractCliCommand(html);
|
|
56
|
+
if (!cli) return null;
|
|
57
|
+
return { ...m, docCommand: cli.command, docFlags: commandFlags(cli.flags) };
|
|
58
|
+
} catch {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
const ok = resolved.filter((m): m is DocsMethodResolved => m !== null);
|
|
64
|
+
fs.mkdirSync(ORACLE_DIR, { recursive: true });
|
|
65
|
+
fs.writeFileSync(METHODS, `${JSON.stringify(ok, null, 2)}\n`);
|
|
66
|
+
|
|
67
|
+
// Per-method, individually reviewable fixtures.
|
|
68
|
+
fs.rmSync(FIXTURES, { recursive: true, force: true });
|
|
69
|
+
for (const m of ok) {
|
|
70
|
+
const dir = path.join(FIXTURES, m.commandPath.join('__'));
|
|
71
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
72
|
+
fs.writeFileSync(
|
|
73
|
+
path.join(dir, 'expected.json'),
|
|
74
|
+
`${JSON.stringify(
|
|
75
|
+
{ commandPath: m.commandPath, httpMethod: m.httpMethod, docFlags: m.docFlags, docCommand: m.docCommand, docUrl: m.cliUrl },
|
|
76
|
+
null,
|
|
77
|
+
2,
|
|
78
|
+
)}\n`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
expect(ok.length).toBeGreaterThan(250);
|
|
82
|
+
}, 600000);
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// ---- Conformance (offline; reads docs-methods.json + the vendored spec) ----
|
|
86
|
+
// Input source: a current openai-openapi vendored alongside the oracle.
|
|
87
|
+
const SPEC = path.join(ORACLE_DIR, 'openai-openapi.yaml');
|
|
88
|
+
const BUILD_INPUTS = process.env.DOCS_BUILD_INPUTS === '1';
|
|
89
|
+
|
|
90
|
+
const methods: DocsMethodResolved[] = fs.existsSync(METHODS) ? JSON.parse(fs.readFileSync(METHODS, 'utf8')) : [];
|
|
91
|
+
|
|
92
|
+
interface OurCmd {
|
|
93
|
+
commandPath: string[];
|
|
94
|
+
flagNames: Set<string>;
|
|
95
|
+
}
|
|
96
|
+
// Our generated commands, indexed by the source operation `${method} ${path}`.
|
|
97
|
+
const oursByOp = new Map<string, OurCmd>();
|
|
98
|
+
const rawOps = new Map<string, any>();
|
|
99
|
+
let specIndex = new Map<string, SpecOp>();
|
|
100
|
+
|
|
101
|
+
async function build() {
|
|
102
|
+
const doc = await deferencedOpenAPI(SPEC);
|
|
103
|
+
if (!doc) throw new Error(`vendored openai-openapi not found at ${SPEC}`);
|
|
104
|
+
|
|
105
|
+
const opcli = openapi2opencli(doc, { cliName: 'openai' });
|
|
106
|
+
const walk = (cmds: any[], prefix: string[]) => {
|
|
107
|
+
for (const c of cmds) {
|
|
108
|
+
const p = [...prefix, c.name];
|
|
109
|
+
if (c.commands?.length) {
|
|
110
|
+
walk(c.commands, p);
|
|
111
|
+
} else if (c['x-openapi']) {
|
|
112
|
+
const x = c['x-openapi'];
|
|
113
|
+
const names = [...(c.arguments || []).map((a: any) => a.name), ...(c.options || []).map((o: any) => o.name)];
|
|
114
|
+
oursByOp.set(`${x.method} ${x.path}`, { commandPath: p, flagNames: new Set<string>(names) });
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
walk(opcli.commands || [], []);
|
|
119
|
+
|
|
120
|
+
specIndex = buildOpIndex(doc);
|
|
121
|
+
for (const [p, item] of Object.entries(doc.paths || {})) {
|
|
122
|
+
for (const method of ['get', 'post', 'put', 'patch', 'delete']) {
|
|
123
|
+
const op = (item as any)?.[method];
|
|
124
|
+
if (op) rawOps.set(`${method} ${p}`, op);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const opOf = (m: DocsMethodResolved): SpecOp | null => joinDocsMethod(m.commandPath, m.httpMethod, specIndex);
|
|
130
|
+
const ourOf = (m: DocsMethodResolved): OurCmd | undefined => {
|
|
131
|
+
const op = opOf(m);
|
|
132
|
+
return op ? oursByOp.get(`${op.method} ${op.path}`) : undefined;
|
|
133
|
+
};
|
|
134
|
+
const key = (m: DocsMethodResolved) => m.commandPath.join(' ');
|
|
135
|
+
const evalM = (m: DocsMethodResolved) => {
|
|
136
|
+
const c = ourOf(m);
|
|
137
|
+
const matched = !!c && c.commandPath.join(' ') === key(m);
|
|
138
|
+
const flagsOk = matched && m.docFlags.every((f) => c!.flagNames.has(f));
|
|
139
|
+
return { hasInput: !!opOf(m), matched, flagsOk };
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
function inputView(op: SpecOp): Record<string, unknown> {
|
|
143
|
+
const raw = rawOps.get(`${op.method} ${op.path}`) || {};
|
|
144
|
+
const parameters = (raw.parameters || []).map((p: any) => ({ name: p.name, in: p.in, required: !!p.required }));
|
|
145
|
+
const body = raw.requestBody?.content || {};
|
|
146
|
+
const contentType = Object.keys(body)[0];
|
|
147
|
+
const schema = contentType ? body[contentType].schema : undefined;
|
|
148
|
+
const requestBody = contentType
|
|
149
|
+
? { contentType, required: !!raw.requestBody?.required, properties: Object.keys(schema?.properties || {}) }
|
|
150
|
+
: undefined;
|
|
151
|
+
return { httpMethod: op.method, path: op.path, operationId: op.operationId, title: op.title, summary: raw.summary, parameters, requestBody };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
describe.skipIf(!methods.length)('docs conformance: openapi → opencli vs OpenAI CLI docs', () => {
|
|
155
|
+
beforeAll(build, 300000);
|
|
156
|
+
|
|
157
|
+
const allow = new Set<string>(
|
|
158
|
+
fs.existsSync(ALLOW) ? JSON.parse(fs.readFileSync(ALLOW, 'utf8')).knownDivergent || [] : [],
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
// Opt-in: write a per-method input.json (the OpenAPI operation it maps to).
|
|
162
|
+
it.runIf(BUILD_INPUTS)('write per-method input.json', () => {
|
|
163
|
+
for (const m of methods) {
|
|
164
|
+
const dir = path.join(FIXTURES, m.commandPath.join('__'));
|
|
165
|
+
if (!fs.existsSync(dir)) continue;
|
|
166
|
+
const op = opOf(m);
|
|
167
|
+
const input = op
|
|
168
|
+
? inputView(op)
|
|
169
|
+
: { note: 'No matching operation in the vendored openai-openapi (newer/renamed resource).' };
|
|
170
|
+
fs.writeFileSync(path.join(dir, 'input.json'), `${JSON.stringify(input, null, 2)}\n`);
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
// Opt-in: regenerate the backlog from whatever currently fails.
|
|
175
|
+
it.runIf(RESEED)('reseed allowlist (backlog)', () => {
|
|
176
|
+
const failing = methods.filter((m) => {
|
|
177
|
+
const { matched, flagsOk } = evalM(m);
|
|
178
|
+
return !(matched && flagsOk);
|
|
179
|
+
});
|
|
180
|
+
fs.writeFileSync(
|
|
181
|
+
ALLOW,
|
|
182
|
+
`${JSON.stringify(
|
|
183
|
+
{ note: 'Methods whose generated command/flags do not yet match the OpenAI CLI docs (burn-down backlog). Remove entries as openapi2opencli improves.', knownDivergent: failing.map(key).sort() },
|
|
184
|
+
null,
|
|
185
|
+
2,
|
|
186
|
+
)}\n`,
|
|
187
|
+
);
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
// One test per documented method (the "hundreds of tests"). Skipped while (re)building.
|
|
191
|
+
for (const m of methods) {
|
|
192
|
+
it.skipIf(RESEED || BUILD_INPUTS)(key(m), () => {
|
|
193
|
+
if (allow.has(key(m))) return; // known divergence — tracked in docs-allowlist.json
|
|
194
|
+
const { matched, flagsOk } = evalM(m);
|
|
195
|
+
expect(matched, `command "${key(m)}" not produced from its operation`).toBe(true);
|
|
196
|
+
expect(flagsOk, `flags missing for "${key(m)}": want ⊇ [${m.docFlags.join(', ')}]`).toBe(true);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Aggregate coverage + ratchet.
|
|
201
|
+
it('overall coverage stays above the floor', () => {
|
|
202
|
+
let withInput = 0;
|
|
203
|
+
let matched = 0;
|
|
204
|
+
let flagOk = 0;
|
|
205
|
+
for (const m of methods) {
|
|
206
|
+
const r = evalM(m);
|
|
207
|
+
if (r.hasInput) withInput++;
|
|
208
|
+
if (r.matched) matched++;
|
|
209
|
+
if (r.matched && r.flagsOk) flagOk++;
|
|
210
|
+
}
|
|
211
|
+
const cmdCov = matched / methods.length;
|
|
212
|
+
fs.writeFileSync(
|
|
213
|
+
REPORT,
|
|
214
|
+
`${JSON.stringify(
|
|
215
|
+
{
|
|
216
|
+
methods: methods.length,
|
|
217
|
+
withInput,
|
|
218
|
+
commandMatched: matched,
|
|
219
|
+
fullyMatched: flagOk,
|
|
220
|
+
commandCoverage: Number(cmdCov.toFixed(4)),
|
|
221
|
+
fullCoverage: Number((flagOk / methods.length).toFixed(4)),
|
|
222
|
+
allowlisted: allow.size,
|
|
223
|
+
missingInput: methods.filter((m) => !evalM(m).hasInput).map(key).slice(0, 30),
|
|
224
|
+
},
|
|
225
|
+
null,
|
|
226
|
+
2,
|
|
227
|
+
)}\n`,
|
|
228
|
+
);
|
|
229
|
+
// eslint-disable-next-line no-console
|
|
230
|
+
console.log(
|
|
231
|
+
`[docs] command ${(cmdCov * 100).toFixed(1)}% full ${((flagOk / methods.length) * 100).toFixed(1)}% ` +
|
|
232
|
+
`matched ${matched}/${methods.length} withInput ${withInput} allowlisted ${allow.size}`,
|
|
233
|
+
);
|
|
234
|
+
const floor = fs.existsSync(FLOOR) ? JSON.parse(fs.readFileSync(FLOOR, 'utf8')).command : 0;
|
|
235
|
+
expect(cmdCov).toBeGreaterThanOrEqual(floor);
|
|
236
|
+
});
|
|
237
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { describe, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { testFixture } from './utils';
|
|
4
|
+
import type { OpenApi2OpenCliOptions } from '../index';
|
|
5
|
+
|
|
6
|
+
const tests: { name: string; description: string; options?: OpenApi2OpenCliOptions }[] = [
|
|
7
|
+
{
|
|
8
|
+
name: '1.basic',
|
|
9
|
+
description: 'List + retrieve on a single resource (servers + security binding)',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: '2.crud',
|
|
13
|
+
description: 'Full list/create/retrieve/update/delete with a flattened JSON body',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: '3.nested',
|
|
17
|
+
description: 'Nested sub-resource, multiple path params, and a custom action (archive)',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: '4.body-flatten',
|
|
21
|
+
description: 'Hybrid body strategy: scalars/enums/arrays flatten, nested objects → JSON flag',
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
describe('openapi2opencli', () => {
|
|
26
|
+
for (const t of tests) {
|
|
27
|
+
it(`[${t.name}]: ${t.description}`, async () => {
|
|
28
|
+
await testFixture(t.name, t.options);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import fs from 'node:fs';
|
|
3
|
+
|
|
4
|
+
import { expect } from 'vitest';
|
|
5
|
+
|
|
6
|
+
import { deferencedOpenAPI } from '@xyd-js/openapi';
|
|
7
|
+
|
|
8
|
+
import { openapi2opencli } from '../index';
|
|
9
|
+
import type { OpenApi2OpenCliOptions } from '../index';
|
|
10
|
+
|
|
11
|
+
// Set REGEN=1 to (re)generate the golden output.json files instead of asserting.
|
|
12
|
+
const REGENERATE = process.env.REGEN === '1';
|
|
13
|
+
|
|
14
|
+
function fullFixturePath(name: string): string {
|
|
15
|
+
return path.join(__dirname, '../__fixtures__', name);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function readOutput(name: string) {
|
|
19
|
+
return JSON.parse(fs.readFileSync(fullFixturePath(name), 'utf8'));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function saveOutput(fixtureName: string, result: unknown) {
|
|
23
|
+
fs.writeFileSync(fullFixturePath(`${fixtureName}/output.json`), `${JSON.stringify(result, null, 2)}\n`);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Run a fixture: deref input.yaml → openapi2opencli → compare against golden output.json. */
|
|
27
|
+
export async function testFixture(fixtureName: string, options?: OpenApi2OpenCliOptions) {
|
|
28
|
+
const doc = await deferencedOpenAPI(fullFixturePath(`${fixtureName}/input.yaml`));
|
|
29
|
+
if (!doc) throw new Error(`Failed to load fixture spec: ${fixtureName}/input.yaml`);
|
|
30
|
+
|
|
31
|
+
const result = openapi2opencli(doc, options);
|
|
32
|
+
// Normalize to plain JSON (drops undefined, guarantees serializable parity with the file).
|
|
33
|
+
const normalized = JSON.parse(JSON.stringify(result));
|
|
34
|
+
|
|
35
|
+
if (REGENERATE) {
|
|
36
|
+
saveOutput(fixtureName, normalized);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const expected = readOutput(`${fixtureName}/output.json`);
|
|
40
|
+
expect(normalized).toEqual(expected);
|
|
41
|
+
}
|
package/biome.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
|
|
3
|
+
"files": {
|
|
4
|
+
"ignore": ["dist/**", "node_modules/**", "__fixtures__/**"]
|
|
5
|
+
},
|
|
6
|
+
"organizeImports": { "enabled": true },
|
|
7
|
+
"formatter": {
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"indentWidth": 2,
|
|
10
|
+
"indentStyle": "space",
|
|
11
|
+
"lineWidth": 120
|
|
12
|
+
},
|
|
13
|
+
"javascript": {
|
|
14
|
+
"formatter": {
|
|
15
|
+
"quoteStyle": "single",
|
|
16
|
+
"semicolons": "asNeeded"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"linter": {
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"rules": {
|
|
22
|
+
"recommended": true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/oracle/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Oracle conformance harness
|
|
2
|
+
|
|
3
|
+
Measures how closely our `OpenAPI → OpenCLI` command surface matches the **real
|
|
4
|
+
[openai-cli](https://github.com/openai/openai-cli)** (the Stainless-generated Go CLI built from
|
|
5
|
+
the same OpenAI spec). The comparison is language-agnostic (commands + flags), so it lives here
|
|
6
|
+
in `openapi2opencli` rather than in the Go generator.
|
|
7
|
+
|
|
8
|
+
## Files
|
|
9
|
+
|
|
10
|
+
| File | What |
|
|
11
|
+
|---|---|
|
|
12
|
+
| `parseOpenaiCli.ts` | Tolerant parser of openai-cli `pkg/cmd/*.go` → a canonical `CliSurface` (splits `:`-namespaced resource names, detects `PathParam` flags). |
|
|
13
|
+
| `surface.json` | **Generated**, committed oracle surface (228 commands). CI reads this — no network/Go needed. |
|
|
14
|
+
| `pins.json` | The openai-cli commit the surface was parsed from. |
|
|
15
|
+
| `coverage.floor.json` | The L0 coverage ratchet — the conformance test fails if we drop below it. |
|
|
16
|
+
| `coverage.report.json` | Per-run report (gitignored): per-command diffs + the divergence backlog. |
|
|
17
|
+
|
|
18
|
+
## Commands
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Refresh the oracle from the latest openai-cli (network):
|
|
22
|
+
ORACLE_REFRESH=1 pnpm --filter @xyd-js/openapi2opencli test
|
|
23
|
+
|
|
24
|
+
# Run conformance (offline; reads surface.json), prints L0/L1 + writes coverage.report.json:
|
|
25
|
+
pnpm --filter @xyd-js/openapi2opencli test
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## How "match" is defined (layered)
|
|
29
|
+
|
|
30
|
+
- **L0** — the set of command paths (`chat completions create`, `models retrieve`, …).
|
|
31
|
+
- **L1** — per-command flag names + required + path-vs-non-path, minus the allowlist.
|
|
32
|
+
|
|
33
|
+
`src/surface.ts` defines `CliSurface`, `opencliToSurface()`, and `diffSurfaces()`.
|
|
34
|
+
|
|
35
|
+
## Known divergences (the backlog → raise the floor as these are fixed)
|
|
36
|
+
|
|
37
|
+
- **Stainless namespacing**: openai-cli prefixes `beta …` (assistants/threads) and `admin organization …`
|
|
38
|
+
(admin) — these live in Stainless config, not the OpenAPI spec. Future: an `x-cli` grouping override.
|
|
39
|
+
- **Stainless-injected flags**: pagination (`max-items`, allowlisted) and output/streaming flags
|
|
40
|
+
(`output`, `stream-format`).
|
|
41
|
+
- **Meta commands**: `__complete`, `@completion`, `@manpages` (shell/help tooling).
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "Methods whose generated command/flags do not yet match the OpenAI CLI docs (burn-down backlog). Remove entries as openapi2opencli improves.",
|
|
3
|
+
"knownDivergent": [
|
|
4
|
+
"admin organization admin-api-keys create",
|
|
5
|
+
"admin organization admin-api-keys delete",
|
|
6
|
+
"admin organization admin-api-keys list",
|
|
7
|
+
"admin organization admin-api-keys retrieve",
|
|
8
|
+
"admin organization audit-logs list",
|
|
9
|
+
"admin organization certificates activate",
|
|
10
|
+
"admin organization certificates create",
|
|
11
|
+
"admin organization certificates deactivate",
|
|
12
|
+
"admin organization certificates delete",
|
|
13
|
+
"admin organization certificates list",
|
|
14
|
+
"admin organization certificates retrieve",
|
|
15
|
+
"admin organization certificates update",
|
|
16
|
+
"admin organization data-retention retrieve",
|
|
17
|
+
"admin organization data-retention update",
|
|
18
|
+
"admin organization groups create",
|
|
19
|
+
"admin organization groups delete",
|
|
20
|
+
"admin organization groups list",
|
|
21
|
+
"admin organization groups retrieve",
|
|
22
|
+
"admin organization groups roles create",
|
|
23
|
+
"admin organization groups roles delete",
|
|
24
|
+
"admin organization groups roles list",
|
|
25
|
+
"admin organization groups roles retrieve",
|
|
26
|
+
"admin organization groups update",
|
|
27
|
+
"admin organization groups users create",
|
|
28
|
+
"admin organization groups users delete",
|
|
29
|
+
"admin organization groups users list",
|
|
30
|
+
"admin organization groups users retrieve",
|
|
31
|
+
"admin organization invites create",
|
|
32
|
+
"admin organization invites delete",
|
|
33
|
+
"admin organization invites list",
|
|
34
|
+
"admin organization invites retrieve",
|
|
35
|
+
"admin organization projects api-keys delete",
|
|
36
|
+
"admin organization projects api-keys list",
|
|
37
|
+
"admin organization projects api-keys retrieve",
|
|
38
|
+
"admin organization projects archive",
|
|
39
|
+
"admin organization projects certificates activate",
|
|
40
|
+
"admin organization projects certificates deactivate",
|
|
41
|
+
"admin organization projects certificates list",
|
|
42
|
+
"admin organization projects create",
|
|
43
|
+
"admin organization projects data-retention retrieve",
|
|
44
|
+
"admin organization projects data-retention update",
|
|
45
|
+
"admin organization projects groups create",
|
|
46
|
+
"admin organization projects groups delete",
|
|
47
|
+
"admin organization projects groups list",
|
|
48
|
+
"admin organization projects groups retrieve",
|
|
49
|
+
"admin organization projects groups roles create",
|
|
50
|
+
"admin organization projects groups roles delete",
|
|
51
|
+
"admin organization projects groups roles list",
|
|
52
|
+
"admin organization projects groups roles retrieve",
|
|
53
|
+
"admin organization projects hosted-tool-permissions retrieve",
|
|
54
|
+
"admin organization projects hosted-tool-permissions update",
|
|
55
|
+
"admin organization projects list",
|
|
56
|
+
"admin organization projects model-permissions delete",
|
|
57
|
+
"admin organization projects model-permissions retrieve",
|
|
58
|
+
"admin organization projects model-permissions update",
|
|
59
|
+
"admin organization projects rate-limits list-rate-limits",
|
|
60
|
+
"admin organization projects rate-limits update-rate-limit",
|
|
61
|
+
"admin organization projects retrieve",
|
|
62
|
+
"admin organization projects roles create",
|
|
63
|
+
"admin organization projects roles delete",
|
|
64
|
+
"admin organization projects roles list",
|
|
65
|
+
"admin organization projects roles retrieve",
|
|
66
|
+
"admin organization projects roles update",
|
|
67
|
+
"admin organization projects service-accounts create",
|
|
68
|
+
"admin organization projects service-accounts delete",
|
|
69
|
+
"admin organization projects service-accounts list",
|
|
70
|
+
"admin organization projects service-accounts retrieve",
|
|
71
|
+
"admin organization projects service-accounts update",
|
|
72
|
+
"admin organization projects spend-alerts create",
|
|
73
|
+
"admin organization projects spend-alerts delete",
|
|
74
|
+
"admin organization projects spend-alerts list",
|
|
75
|
+
"admin organization projects spend-alerts retrieve",
|
|
76
|
+
"admin organization projects spend-alerts update",
|
|
77
|
+
"admin organization projects update",
|
|
78
|
+
"admin organization projects users create",
|
|
79
|
+
"admin organization projects users delete",
|
|
80
|
+
"admin organization projects users list",
|
|
81
|
+
"admin organization projects users retrieve",
|
|
82
|
+
"admin organization projects users roles create",
|
|
83
|
+
"admin organization projects users roles delete",
|
|
84
|
+
"admin organization projects users roles list",
|
|
85
|
+
"admin organization projects users roles retrieve",
|
|
86
|
+
"admin organization projects users update",
|
|
87
|
+
"admin organization roles create",
|
|
88
|
+
"admin organization roles delete",
|
|
89
|
+
"admin organization roles list",
|
|
90
|
+
"admin organization roles retrieve",
|
|
91
|
+
"admin organization roles update",
|
|
92
|
+
"admin organization spend-alerts create",
|
|
93
|
+
"admin organization spend-alerts delete",
|
|
94
|
+
"admin organization spend-alerts list",
|
|
95
|
+
"admin organization spend-alerts retrieve",
|
|
96
|
+
"admin organization spend-alerts update",
|
|
97
|
+
"admin organization usage audio-speeches",
|
|
98
|
+
"admin organization usage audio-transcriptions",
|
|
99
|
+
"admin organization usage code-interpreter-sessions",
|
|
100
|
+
"admin organization usage completions",
|
|
101
|
+
"admin organization usage costs",
|
|
102
|
+
"admin organization usage embeddings",
|
|
103
|
+
"admin organization usage file-search-calls",
|
|
104
|
+
"admin organization usage images",
|
|
105
|
+
"admin organization usage moderations",
|
|
106
|
+
"admin organization usage vector-stores",
|
|
107
|
+
"admin organization usage web-search-calls",
|
|
108
|
+
"admin organization users delete",
|
|
109
|
+
"admin organization users list",
|
|
110
|
+
"admin organization users retrieve",
|
|
111
|
+
"admin organization users roles create",
|
|
112
|
+
"admin organization users roles delete",
|
|
113
|
+
"admin organization users roles list",
|
|
114
|
+
"admin organization users roles retrieve",
|
|
115
|
+
"admin organization users update",
|
|
116
|
+
"batches cancel",
|
|
117
|
+
"batches retrieve",
|
|
118
|
+
"beta assistants create",
|
|
119
|
+
"beta assistants delete",
|
|
120
|
+
"beta assistants list",
|
|
121
|
+
"beta assistants retrieve",
|
|
122
|
+
"beta assistants update",
|
|
123
|
+
"beta chatkit sessions cancel",
|
|
124
|
+
"beta chatkit sessions create",
|
|
125
|
+
"beta chatkit threads delete",
|
|
126
|
+
"beta chatkit threads list",
|
|
127
|
+
"beta chatkit threads list-items",
|
|
128
|
+
"beta chatkit threads retrieve",
|
|
129
|
+
"beta threads create",
|
|
130
|
+
"beta threads create-and-run",
|
|
131
|
+
"beta threads delete",
|
|
132
|
+
"beta threads messages create",
|
|
133
|
+
"beta threads messages delete",
|
|
134
|
+
"beta threads messages list",
|
|
135
|
+
"beta threads messages retrieve",
|
|
136
|
+
"beta threads messages update",
|
|
137
|
+
"beta threads retrieve",
|
|
138
|
+
"beta threads runs cancel",
|
|
139
|
+
"beta threads runs create",
|
|
140
|
+
"beta threads runs list",
|
|
141
|
+
"beta threads runs retrieve",
|
|
142
|
+
"beta threads runs steps list",
|
|
143
|
+
"beta threads runs steps retrieve",
|
|
144
|
+
"beta threads runs submit-tool-outputs",
|
|
145
|
+
"beta threads runs update",
|
|
146
|
+
"beta threads update",
|
|
147
|
+
"chat completions create",
|
|
148
|
+
"chat completions retrieve",
|
|
149
|
+
"chat completions update",
|
|
150
|
+
"containers files content retrieve",
|
|
151
|
+
"containers files retrieve",
|
|
152
|
+
"containers retrieve",
|
|
153
|
+
"conversations items create",
|
|
154
|
+
"conversations items retrieve",
|
|
155
|
+
"conversations update",
|
|
156
|
+
"files content",
|
|
157
|
+
"files retrieve",
|
|
158
|
+
"fine-tuning alpha graders run",
|
|
159
|
+
"fine-tuning alpha graders validate",
|
|
160
|
+
"fine-tuning checkpoints permissions create",
|
|
161
|
+
"fine-tuning checkpoints permissions retrieve",
|
|
162
|
+
"fine-tuning jobs cancel",
|
|
163
|
+
"fine-tuning jobs list-events",
|
|
164
|
+
"fine-tuning jobs pause",
|
|
165
|
+
"fine-tuning jobs resume",
|
|
166
|
+
"fine-tuning jobs retrieve",
|
|
167
|
+
"images create-variation",
|
|
168
|
+
"images edit",
|
|
169
|
+
"images generate",
|
|
170
|
+
"models retrieve",
|
|
171
|
+
"realtime calls accept",
|
|
172
|
+
"realtime calls hangup",
|
|
173
|
+
"realtime calls refer",
|
|
174
|
+
"realtime calls reject",
|
|
175
|
+
"responses cancel",
|
|
176
|
+
"responses compact",
|
|
177
|
+
"responses input-tokens count",
|
|
178
|
+
"skills content retrieve",
|
|
179
|
+
"skills retrieve",
|
|
180
|
+
"skills update",
|
|
181
|
+
"skills versions content retrieve",
|
|
182
|
+
"skills versions retrieve",
|
|
183
|
+
"uploads cancel",
|
|
184
|
+
"uploads complete",
|
|
185
|
+
"vector-stores file-batches cancel",
|
|
186
|
+
"vector-stores file-batches list-files",
|
|
187
|
+
"vector-stores files content",
|
|
188
|
+
"vector-stores files retrieve",
|
|
189
|
+
"vector-stores files update",
|
|
190
|
+
"vector-stores retrieve",
|
|
191
|
+
"vector-stores search",
|
|
192
|
+
"vector-stores update",
|
|
193
|
+
"videos create-character",
|
|
194
|
+
"videos download-content",
|
|
195
|
+
"videos edit",
|
|
196
|
+
"videos extend",
|
|
197
|
+
"videos get-character",
|
|
198
|
+
"videos remix",
|
|
199
|
+
"videos retrieve"
|
|
200
|
+
]
|
|
201
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
{
|
|
2
|
+
"command": 0.23,
|
|
3
|
+
"note": "Per-method command coverage vs OpenAI CLI docs (input-driven, current vendored spec). Biggest remaining lever: admin/beta Stainless namespacing. Refresh docs: DOCS_REFRESH=1; rebuild inputs: DOCS_BUILD_INPUTS=1; reseed backlog: DOCS_RESEED=1."
|
|
4
|
+
}
|