feat: adding openapi upload
#2805
Annotations
2 errors and 1 warning
Build and run tests:
__tests__/commands/openapi/upload.test.ts#L252
AssertionError: expected { …(3) } to strictly equal {}
- Expected
+ Received
- Object {}
+ Object {
+ "error": [Error: Nock: No match for request {
+ "method": "GET",
+ "url": "https://api.readme.com/v2/versions/1.0.0/apis",
+ "headers": {
+ "accept": "application/json",
+ "authorization": "***",
+ "user-agent": "rdme-github/7.0.0 linux-x64 node-v22.11.0",
+ "x-github-repository": "readmeio/rdme",
+ "x-github-run-attempt": "1",
+ "x-github-run-id": "12262487580",
+ "x-github-run-number": "2805",
+ "x-github-sha": "0255825d9d5aee062abd7f6e0b19eca42b4b871d",
+ "x-rdme-ci": "GitHub Actions",
+ "x-readme-source": "cli-gh"
+ }
+ }],
+ "stderr": "- Validating the API definition located at __tests__/__fixtures__/petstore-simple-weird-version.json...
+ ",
+ "stdout": "",
+ }
❯ __tests__/commands/openapi/upload.test.ts:252:24
|
Build and run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading