Repository navigation
Add local Swagger UI and OpenAPI Try it out workbench - #4
Merged
Merged
Conversation
added 2 commits
September 19, 2026 20:43
Document the five existing API operations and support same-origin Try it out with synthetic-data guidance. Add docs asset allowlists, scoped CSP and integration coverage without changing record behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Retain both provider and Swagger packages, preserve the removed UX document, and document concurrent storage updates as HTTP 409. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
kcskribbl
marked this pull request as ready for review
September 20, 2026 02:07
Check allocator metrics and a bounded synthetic consensus write before each subsequent join, without retrying application writes or reducing their replication policy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/docsand/docs/; Try it out targets the same local server and port through the relative/server URL.docs/LOCAL_API.mdand link it from the README.Independent scope
This PR targets main directly (base commit
61a68ab), not the storage PR. It contains no storage provider, cloud adapter, diagram or biometric integration changes. Existing API/business behavior and error handling remain unchanged.Try locally
Open
http://127.0.0.1:3000/docs(or/docson your configured local port). Execute GET/api/status, then POST/api/clinicians. Copy the entire generated demo credential JSON into the enroll example, choose a new synthetic factor of at least 16 characters, and reuse both factors for append and timeline. No cloud account or external Swagger service is required.Privacy and browser boundaries
Verification
npm test -- test/swagger.spec.ts test/web-server.spec.ts: 11 passed.npm test: 37 passed across 7 files.npm run typecheck: passed.npm run build: passed.npm audit --omit=dev --audit-level=low: 0 runtime vulnerabilities.git diff --check: passed.Existing limitations
This documents the existing POC API, not full FHIR conformance. Existing generic 500 responses for malformed PEMs, too-short factors and unmapped service errors are documented rather than changed. Reloading is not a guarantee of secure memory erasure. Unrelated existing dev-dependency findings are outside this PR.