Swagger/OpenAPI support

Open
#3 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
openapi, rust
Domain
api, documentation

Research direction

Start by reading commit 037d875ebd0f2b2dcdadc7618675ef0071b644d6 and checking how aw-server generates its API specification. Determine how the specification and Swagger UI files would be bundled with aw-server-rust, and verify that the resulting UI loads the generated spec.

Written by the indexing model from the issue text.

Description

enhancement

I saw you mentioned in 037d875ebd0f2b2dcdadc7618675ef0071b644d6 that Swagger support won't be reimplemented, but Swagger support is actually trivial to reimplement. It's as easy as copying the API spec generated by aw-server and bundling it along with the Swagger UI files (I think).

Just a remark, not saying it's a priority or anything.

Dominant language
Rust
Stars
322
Forks
105
Avg merge
3d 10h
Merged PRs (30d)
22

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ActivityWatch/aw-server-rust

All issues in ActivityWatch/aw-server-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.