Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrehan committed Sep 4, 2024
1 parent be4387a commit cc9bc2f
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions http-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -992,24 +992,25 @@ paths:
get:
tags:
- "Surface unit"
summary: Get version of update file stored on drone and the version installed on the surface unit
responses:
"200":
description: A JSON with the version of the update file stored on the drone and the version installed on the surface unit
content:
application/json:
schema:
type: object
properties:
version_on_drone:
$ref: "#/components/schemas/SurfaceUnitVersion"
installed_version:
$ref: "#/components/schemas/SurfaceUnitVersion"
summary: Get current version(s)
description: Get version of update file stored on drone and the version installed on the surface unit
responses:
"200":
description: A JSON with the version of the update file stored on the drone and the version installed on the surface unit
content:
application/json:
schema:
type: object
properties:
version_on_drone:
$ref: "#/components/schemas/SurfaceUnitVersion"
installed_version:
$ref: "#/components/schemas/SurfaceUnitVersion"

x-codeSamples:
- lang: "curl"
source: |
curl -X GET "http://192.168.1.101/surface_unit/version"
x-codeSamples:
- lang: "curl"
source: |
curl -X GET "http://192.168.1.101/surface_unit/version"
/surface_unit/update:
post:
Expand Down

0 comments on commit cc9bc2f

Please sign in to comment.