• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pmcelhaney / counterfact
87%
main: 83%

Build:
Build:
LAST BUILD BRANCH: renovate/stryker-js-monorepo
DEFAULT BRANCH: main
Repo Added 28 Jun 2022 07:30PM CUT
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refactor-path-coder
branch: refactor-path-coder
CHANGE BRANCH
x
Reset
  • refactor-path-coder
  • 103-init-command-to-create-create-a-complete-package
  • 104-load-an-openapi-spec-from-the-web
  • 1083-url-encoding
  • 110-create-a-contributingmd-page
  • 112-schematypecoder-should-handle-additionalproperties
  • 115-all-properties-are-treated-as-required
  • 118-remove-basepath-and-create-$ref-concept
  • 128-simple-api-for-simple-response
  • 132-npx-counterfact-start
  • 133-response-builder-fluent-api
  • 134-multiple-content-types-in-a-response-object
  • 135-responserandom
  • 136-define-typescript-type-for-the-response-builder-almost-done
  • 150-hot-reload-doesnt-work-in-some-cases
  • 153-responserandom-should-use-the-open-api-examples
  • 156-export-model-from-path-files
  • 157-change-the-cli-so-it-only-does-one-thing
  • 164-change-requirementselect-so-we-dont-have-to-replace-with-1
  • 170-transform-typescript-files-on-the-fly
  • 178-the-openapi-document-is-not-getting-loaded-at-runtime
  • 179-responsebuilder-is-not-set-up-to-work-with-$refs
  • 204-finalize-the-cli-for-version-10
  • 210-pass-the-request-object-at-this-in-operation-functions
  • 218-landing-page
  • 219-counterfact-should-not-depend-on-itself
  • 224-non-alphanumeric-characters-in-the-component-name-break-the-code-generator
  • 226-$contextjs-files-arent-generated-for-in-between-directories
  • 227-when-adding-a-server-url-add-the-full-url
  • 228-support-json-schemas-oneof-anyof-allof-not
  • 276-openapi-2-support
  • 450-proxy-incorrectly-calls-fetch
  • 55-change-path-variables-from-this-to-this
  • 821-add-cli-option-to-skip-generating-types
  • 828-endpoint-gives-error-attempting-to-return-200-status
  • 832-document-how-to-use-npx-with-dependency-management-in-packagejson
  • add-binary-responses
  • add-code-of-conduct-1
  • add-content-type-to-error-response
  • add-markdown-1
  • add-missing-typeof
  • add-package-json
  • add-some-tests
  • always-copy-types-d-ts
  • always_fake_optionals
  • another-readme-rewrite
  • attach-responsebuilder-type
  • backlash-in-context-import
  • basic-auth
  • black-box-test
  • case-insensitivity
  • change-context-update-algorithm
  • change-how-counterfact-references-itself
  • change-token-for-release
  • changeset-for-cors
  • changeset-for-ref-fix
  • changeset-release/main
  • chokidar-settings
  • ci-fixes
  • ci-on-windows
  • clean-up-1139
  • clean-up-options
  • cleanup-eslint
  • clear-cache
  • cli-banner
  • comments-at-top-of-generated-files
  • configure-jsf
  • context-reload-issues
  • convert-strings-in-parameters-when-necessary
  • convert-to-typescript
  • counterfact-depends-on-counterfact
  • dashboard-page
  • debug
  • deepmhasize-dashboard
  • demo-video
  • dereference-parameters
  • disable-fill-properties-json-schema
  • doc-fixes
  • docs
  • docs-headers-fix
  • dont-expose-module-loader
  • dont-pin-engines
  • emit-esnext
  • end-to-end-test.js
  • eslint-config-hardcore-upgrade
  • eslint-performance
  • eslint-vscode-performance
  • exclude-useless-properties
  • expand-json-shortcut
  • expose-server
  • extra-question-markds
  • file-extension-fix
  • fix-918-properly
  • fix-bugs-found-from-github
  • fix-code-coverage
  • fix-cutofftime-bug
  • fix-dts-copy
  • fix-duplicate-context-imports
  • fix-extrarneous-import
  • fix-for-produces-at-the-root
  • fix-jsf-import
  • fix-json-type-again
  • fix-koa
  • fix-log-error
  • fix-no-content-response-type
  • fix-one-of
  • fix-open-handles-in-tests
  • fix-openapi2-bad-type
  • fix-produces-error
  • fix-proxy
  • fix-quickstart
  • fix-recursive-types
  • fix-renovate-changeset-action
  • fix-root-context-not-shared
  • fix-serve-command
  • fix-stryker
  • fix-type-array
  • fix-vscode-link-on-windows
  • flaky-json-schema-faker-test
  • flaky-test-on-windows
  • force-cjs
  • force-release
  • fun-with-rapidoc
  • generate-typescript
  • github-pages-theme
  • google-analytics
  • gui
  • header-should-be-headers
  • import-nearest-context-746
  • install-coveralls
  • interceptors
  • invalid-json-schema
  • jest-retries
  • js-in-dotcache
  • js-to-ts
  • kam/add-remote-support-for-generation
  • lint-test-files
  • list-routes
  • load-context
  • load-context-in-constructor
  • logo
  • main
  • make-output-more-presentable
  • middleware-release
  • min-node-version
  • minor-errors-in-readme
  • more-docs-fixes
  • more-unit-tests
  • move-js-files-under-package
  • move-server-src
  • move-the-badges
  • narrow-response-type
  • no-406-when-no-body
  • no-mjs
  • no-patch-package-after-install
  • no-response-2
  • openapi-optional
  • openapi2-fixes
  • optional-headers-type-safety
  • pass-root-produces-to-response-builder
  • patch-commonjs-issue
  • patch-for-random-type
  • patch-package-dependency
  • path-parameters-are-always-strings
  • paths-to-routes-migration-fix
  • per-endpoint-proxy
  • pmcelhaney-patch-1
  • possible-windows-fixes
  • prefix-missing-from-swagger
  • prep-for-typescript
  • proxy
  • proxy-on
  • proxy-url
  • readme-get-to-the-point
  • readme-refinements
  • rebuild-yarn-lock
  • redirect-bare-counterfact
  • ref-fix
  • refactor-operation-type-coder
  • references
  • reload-all
  • reload-dependent-modules
  • remove-dead-code
  • remove-demo
  • remove-flaky-test
  • remove-nodemon
  • remove-renovate-changesets
  • remove-unused-package
  • renovate-changeset
  • renovate-pin-dependencies
  • renovate/actions-cache-4.x
  • renovate/actions-checkout-3.x
  • renovate/actions-checkout-4.x
  • renovate/actions-setup-node-3.x
  • renovate/actions-setup-node-4.x
  • renovate/apidevtools-json-schema-ref-parser-11.x
  • renovate/apidevtools-json-schema-ref-parser-12.x
  • renovate/changesets-cli-2.x
  • renovate/chokidar-3.x
  • renovate/chokidar-4.x
  • renovate/commander-10.x
  • renovate/commander-10.x-lockfile
  • renovate/commander-11.x
  • renovate/commander-12.x
  • renovate/commander-13.x
  • renovate/commander-9.x-lockfile
  • renovate/counterfact-0.x
  • renovate/coverallsapp-github-action-1.x
  • renovate/coverallsapp-github-action-2.x
  • renovate/debug-4.x
  • renovate/eslint-8.x
  • renovate/eslint-9.x
  • renovate/eslint-config-hardcore-24.x
  • renovate/eslint-config-hardcore-25.x
  • renovate/eslint-config-hardcore-26.x
  • renovate/eslint-config-hardcore-29.x
  • renovate/eslint-config-hardcore-31.x
  • renovate/eslint-config-hardcore-32.x
  • renovate/eslint-config-hardcore-33.x
  • renovate/eslint-config-hardcore-34.x
  • renovate/eslint-config-hardcore-35.x
  • renovate/eslint-config-hardcore-36.x
  • renovate/eslint-config-hardcore-37.x
  • renovate/eslint-config-hardcore-38.x
  • renovate/eslint-config-hardcore-39.x
  • renovate/eslint-config-hardcore-40.x
  • renovate/eslint-config-hardcore-41.x
  • renovate/eslint-config-hardcore-42.x
  • renovate/eslint-config-hardcore-43.x
  • renovate/eslint-config-hardcore-44.x
  • renovate/eslint-config-hardcore-45.x
  • renovate/eslint-config-hardcore-46.x
  • renovate/eslint-config-hardcore-47.x
  • renovate/eslint-import-resolver-typescript-3.x
  • renovate/eslint-import-resolver-typescript-3.x-lockfile
  • renovate/eslint-import-resolver-typescript-4.x
  • renovate/eslint-monorepo
  • renovate/eslint-plugin-etc-2.x-lockfile
  • renovate/eslint-plugin-file-progress-1.x
  • renovate/eslint-plugin-file-progress-2.x
  • renovate/eslint-plugin-file-progress-3.x
  • renovate/eslint-plugin-import-2.x
  • renovate/eslint-plugin-import-2.x-lockfile
  • renovate/eslint-plugin-jest-27.x
  • renovate/eslint-plugin-jest-27.x-lockfile
  • renovate/eslint-plugin-jest-28.x
  • renovate/eslint-plugin-jest-dom-5.x
  • renovate/eslint-plugin-jest-dom-5.x-lockfile
  • renovate/eslint-plugin-prettier-5.x
  • renovate/eslint-plugin-unused-imports-3.x
  • renovate/eslint-plugin-unused-imports-4.x
  • renovate/fs-extra-11.x
  • renovate/fs-extra-11.x-lockfile
  • renovate/github-codeql-action-3.x
  • renovate/handlebars-4.x-lockfile
  • renovate/hapijs-monorepo
  • renovate/husky-8.x
  • renovate/husky-9.x
  • renovate/jest-monorepo
  • renovate/js-yaml-4.x
  • renovate/json-schema-7.x
  • renovate/json-schema-7.x-lockfile
  • renovate/json-schema-faker-0.x
  • renovate/json-schema-faker-0.x-lockfile
  • renovate/jsonwebtoken-9.x
  • renovate/jsonwebtoken-9.x-lockfile
  • renovate/koa-2.x
  • renovate/koa-2.x-lockfile
  • renovate/koa-3.x
  • renovate/koa-bodyparser-4.x
  • renovate/koa-bodyparser-4.x-lockfile
  • renovate/koa-proxy-1.x
  • renovate/koa-static-4.x
  • renovate/koa2-swagger-ui-5.x
  • renovate/koa2-swagger-ui-5.x-lockfile
  • renovate/lodash-4.x
  • renovate/major-eslint-monorepo
  • renovate/major-jest-monorepo
  • renovate/major-stryker-js-monorepo
  • renovate/mscharley-dependency-changesets-action-1.x
  • renovate/node-fetch-3.x-lockfile
  • renovate/node-mocks-http-1.x
  • renovate/node-mocks-http-1.x-lockfile
  • renovate/nodemon-2.x
  • renovate/nodemon-3.x
  • renovate/npm-8.x-lockfile
  • renovate/npm-koa-vulnerability
  • renovate/open-10.x
  • renovate/open-8.x-lockfile
  • renovate/open-9.x
  • renovate/open-9.x-lockfile
  • renovate/pin-dependencies
  • renovate/precinct-12.x
  • renovate/prettier-2.x-lockfile
  • renovate/prettier-3.x
  • renovate/prettier-3.x-lockfile
  • renovate/recast-0.x
  • renovate/rimraf-5.x
  • renovate/stryker-js-monorepo
  • renovate/supertest-6.x
  • renovate/supertest-7.x
  • renovate/swc-monorepo
  • renovate/testing-library-dom-10.x
  • renovate/testing-library-dom-9.x
  • renovate/testing-library-dom-9.x-lockfile
  • renovate/testing-library-monorepo
  • renovate/typescript-4.x-lockfile
  • renovate/typescript-5.x
  • renovate/typescript-5.x-lockfile
  • renovate/using-temporary-files-2.x
  • repl
  • response-as-symbol
  • response-builder
  • response-builder-type
  • response-type
  • rework-context
  • rework-readme
  • rewrite-readme
  • rewrite-readme-again
  • robot-prompt
  • root-path
  • routes-prefix
  • run-black-box-tests-once
  • run-coveralls-on-push
  • saturday-refactoring
  • server-context-registry-find-fix
  • server-dispatcher-handle-requests-with-basepath
  • server-module-tree-wildcard-fix
  • set-up-google-analytics
  • shebangs-shebangs
  • skip-broken-windows-test
  • small-refactoring
  • snyk-fix-9e50a5ddc14139af679471e14dcd3fe6
  • snyk-upgrade-da3584469f22d3e17e7331f82f8880cd
  • support-for-enums
  • swagger-or-rapidoc
  • sync-refs-1089
  • test-ci
  • test-ci-1
  • that-alternation-didnt-work
  • the-type-is-no-typeof-type
  • the-xml-problem
  • top-level-produces
  • ts-node-fix
  • type-declaration-from-schema
  • types-directory
  • unit-tests
  • unit-tests-for-coders
  • untangle-type-mess
  • update-json-schema-ref-parser
  • update-readme-09-29
  • update-readme-09-30
  • update-usage-doc
  • upgrade-jsonpath-plus
  • urlencode-1803
  • usage-docs
  • usage-guide-fixes.md
  • use-random-in-generated-code
  • use-ts-node
  • version-1.0
  • version-1.0-announcement
  • wide-type
  • windows-support

16 Apr 2024 12:29AM CUT coverage: 86.607% (+0.09%) from 86.517%
8697996524

Pull #852

github

web-flow
Merge branch 'main' into refactor-path-coder
Pull Request #852: Support OpenAPI reusable responses in global components object (handle $ref properly everywhere)

891 of 984 branches covered (90.55%)

Branch coverage included in aggregate %.

101 of 103 new or added lines in 8 files covered. (98.06%)

2 existing lines in 1 file now uncovered.

2879 of 3369 relevant lines covered (85.46%)

43.44 hits per line

Relevant lines Covered
Build:
Build:
3369 RELEVANT LINES 2879 COVERED LINES
43.44 HITS PER LINE
Source Files on refactor-path-coder
  • Tree
  • List 40
  • Changed 9
  • Source Changed 7
  • Coverage Changed 34
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
0.0
src/server/page-middleware.ts42 42 0 42 0.0 0 2
0.0
src/server/openapi-middleware.ts36 36 0 36 0.0 0 2
0.0
src/server/app.ts114 114 0 114 0.0 0 2
0.0
src/server/repl.ts60 60 0 60 0.0 0 2
0.0
src/server/create-koa-app.ts81 81 0 81 0.0 0 2
70.43
src/server/json-to-xml.ts92 92 60 32 8.0 21 2
79.52
src/server/module-loader.ts216 216 173 43 10.0 25 8
88.33
src/server/code-generator.ts46 46 41 5 3.0 12 2
88.89
src/server/determine-module-kind.ts38 38 34 4 16.0 14 2
90.54
src/server/transpiler.ts127 127 116 11 11.0 18 3
Showing 1 to 10 of 40 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
  • ►
    86.61
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8697996524 refactor-path-coder Merge branch 'main' into refactor-path-coder Pull #852 16 Apr 2024 12:30AM CUT web-flow github
86.61
8697991425 refactor-path-coder remove dead (copy/pasted) code remove dead (copy/pasted) code push 16 Apr 2024 12:29AM CUT pmcelhaney github
86.61
8697982014 refactor-path-coder remove dead (copy/pasted) code remove dead (copy/pasted) code Pull #852 16 Apr 2024 12:28AM CUT pmcelhaney github
86.3
8697936969 refactor-path-coder remove dead (copy/pasted) code Pull #852 16 Apr 2024 12:24AM CUT pmcelhaney github
85.82
8697784724 refactor-path-coder remove dead (copy/pasted) code Pull #852 16 Apr 2024 12:09AM CUT pmcelhaney github
83.33
8691378062 refactor-path-coder Merge branch 'main' into refactor-path-coder Pull #852 15 Apr 2024 02:58PM CUT web-flow github
82.98
8675825650 refactor-path-coder response-type-coder should import TypeCoder, not Coder Pull #852 13 Apr 2024 07:38PM CUT pmcelhaney github
82.98
8675727209 refactor-path-coder move the decision on whether to write code directly or import from another script (because the requirment is a $ref) up to Coder / TypeCoder push 13 Apr 2024 07:17PM CUT pmcelhaney github
82.98
8675614963 refactor-path-coder code generator now properly handles $ref in a response push 13 Apr 2024 06:58PM CUT pmcelhaney github
82.75
8675557504 refactor-path-coder Factored out ResponseTypeCoder so that $refs will be followed push 13 Apr 2024 06:44PM CUT pmcelhaney github
82.93
See All Builds (3531)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc