Skip to content

Commit

Permalink
fix: fixes linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
caubut-charter committed Jul 5, 2024
1 parent fde6821 commit 258a3f8
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions code/API_definitions/network_access_management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ paths:
security:
- openId:
- network-access-management:service-sites:read
- network-access-management:devices:read
operationId: getDevicesByServiceSite
description: |
Returns all devices at a service site that matches the given ID. Scopes impact the output of this endpoint.
Expand Down Expand Up @@ -1765,19 +1766,19 @@ components:
hardwareAddressType:
type: string
enum: ["EUI-48"]
example: &device.hardware-address-type "EUI-48"
example: &device-hardware-address-type "EUI-48"
value:
type: string
pattern: "^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"
example: &device.hardware-address-value "12:34:56:78:9A:BC"
example: &device-hardware-address-value "12:34:56:78:9A:BC"
required:
- hardwareAddressType
- value
discriminator:
propertyName: hardwareAddressType
example: &device.hardware-address
hardwareAddressType: *device.hardware-address-type
value: *device.hardware-address-value
example: &device-hardware-address
hardwareAddressType: *device-hardware-address-type
value: *device-hardware-address-value
serviceSite:
$ref: "#/components/schemas/ServiceSiteId"
networks:
Expand All @@ -1800,7 +1801,7 @@ components:
id: *device-id
name: *device-name
description: *device-description
hardwareAddress: *device.hardware-address
hardwareAddress: *device-hardware-address
serviceSite: *service-site-id
networks: *device-network-intersection-list
maxAuxiliaryNetworks: *device-max-networks
Expand All @@ -1814,7 +1815,7 @@ components:
- id: *device-id2
name: &device-name2 "Gateway-2"
description: &device-description2 "A second Wi-Fi gateway devices"
hardwareAddress: &device.hardware-address2
hardwareAddress: &device-hardware-address2
hardwareAddressType: "EUI-48"
value: "AB:CD:EF:12:34:56"
serviceSite: *service-site-id2
Expand Down Expand Up @@ -2359,7 +2360,7 @@ components:
id: *device-id
name: *device-name
description: *device-description
hardwareAddress: *device.hardware-address
hardwareAddress: *device-hardware-address

DeviceWithServiceSite:
summary: Device with Service Site
Expand Down Expand Up @@ -2410,7 +2411,7 @@ components:
id: *device-id
name: *device-name
description: *device-description
hardwareAddress: *device.hardware-address
hardwareAddress: *device-hardware-address
serviceSite: *service-site-id

DeviceWithHardwareAddressAndNetworks:
Expand All @@ -2429,7 +2430,7 @@ components:
id: *device-id
name: *device-name
description: *device-description
hardwareAddress: *device.hardware-address
hardwareAddress: *device-hardware-address
networks: *device-network-intersection-list
maxAuxiliaryNetworks: *device-max-networks

Expand Down Expand Up @@ -2498,7 +2499,7 @@ components:
- id: *device-id2
name: *device-name2
description: *device-description2
hardwareAddress: *device.hardware-address2
hardwareAddress: *device-hardware-address2

DeviceListWithServiceSite:
summary: Device List with Service Site
Expand Down Expand Up @@ -2552,7 +2553,7 @@ components:
- id: *device-id2
name: *device-name2
description: *device-description2
hardwareAddress: *device.hardware-address2
hardwareAddress: *device-hardware-address2
serviceSite: *service-site-id2

DeviceListWithHardwareAddressAndNetworks:
Expand All @@ -2572,7 +2573,7 @@ components:
- id: *device-id2
name: *device-name2
description: *device-description2
hardwareAddress: *device.hardware-address2
hardwareAddress: *device-hardware-address2
networks: *device-network-intersection-list
maxAuxiliaryNetworks: *device-max-networks2

Expand Down

0 comments on commit 258a3f8

Please sign in to comment.