Skip to content

Comments

feat: exposed publication string endpoint with swagger docs updates#99

Merged
vcnainala merged 2 commits intodevelopmentfrom
feat/publication-string-endpoint
Feb 17, 2026
Merged

feat: exposed publication string endpoint with swagger docs updates#99
vcnainala merged 2 commits intodevelopmentfrom
feat/publication-string-endpoint

Conversation

@vcnainala
Copy link
Member

No description provided.

Add detailed descriptions, request/response examples, and proper HTTP
response codes across all routers. Add OpenAPI tag metadata and a rich
API description to the FastAPI app configuration.
Add POST /spectra/parse/publication-string endpoint that resurrects an
NMR spectrum from an ACS-style publication string. The endpoint accepts
the publication string as a plain text body and invokes the nmr-cli
parse-publication-string command via Docker exec.

Uses StreamingResponse with Content-Disposition attachment header to
prevent Swagger UI from hanging on the large spectrum JSON response.
Also improves OpenAPI docs for existing spectra endpoints.
@vcnainala vcnainala changed the title feat: exposed publication string endpoint feat: exposed publication string endpoint with swagger docs updates Feb 17, 2026
@vcnainala vcnainala merged commit be5b6d4 into development Feb 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants