Skip to content

Reduce duplicated API dispatch logic around Ramose #39

Description

@arcangelo7

I noticed that oc_api.py seems to repeat part of the logic that Ramose already provides.

The overlap is mainly in the REST API dispatch layer:

  • selecting the right APIManager
  • matching a request to a Ramose operation
  • calling Operation.exec()
  • translating status, body, content type, and extra headers into an HTTP response
  • serving API documentation and OpenAPI output
  • handling some API errors that Ramose already returns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions