Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add REST API to ArduPilotManager #119

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    16479d4 View commit details
    Browse the repository at this point in the history
  2. core: ardupilot-manager: Make EndpointType inherit from Enum and str

    This is exactly what IntEnum does, but for strings.
    In this way, json files and rest frameworks (like FastAPI) represent them as strings.
    rafaellehmkuhl committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    86ce8b8 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Configuration menu
    Copy the full SHA
    06a3bbc View commit details
    Browse the repository at this point in the history
  2. core: ardupilot-manager: Refactor Endpoint class

    - Make it a pydantic dataclass, for REST API validation auto-parsing
    - Adds validation to all arguments
    - Add dependency for endpoint validation
    - Add mypy plugin through configuration file
    rafaellehmkuhl committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    60025f0 View commit details
    Browse the repository at this point in the history
  3. core: ardupilot-manager: Add initial version of REST API

    Initial version contains routes for getting, adding and deleting mavlink endpoints.
    rafaellehmkuhl committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    2b833ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ddc9446 View commit details
    Browse the repository at this point in the history