Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Remove prefix in link fragments #24

@realaravinth

Description

@realaravinth

This should be changed to /comment
https://github.com/forgefedv2/interface/blob/ac8a0bbb30e506f4c24032b023d5ee930cad49c5/interface/client.py#L30

On a broader note, I think we should categorize groups together. The reason why we are using constants as opposed to string literals is to make sure a route update is reflected everywhere it's referenced. I think if we create something like this(see below), it will get rid of the inconsistency introduced through _construct_url methods.

{
  "issue":
    {
      "create": "/api/v1/issue/create",
      "comment": "/api/v1/issue/comment"
      }
   }

Open API spec should be updated if changes are made #23

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions