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 9d4d277 commit 60ca455
Showing 1 changed file with 6 additions and 43 deletions.
49 changes: 6 additions & 43 deletions code/API_definitions/network_access_management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1258,45 +1258,9 @@ paths:

components:
securitySchemes:
oauth2:
type: oauth2
description: This API uses OAuth 2 with the authorization code grant type flow
flows:
authorizationCode:
authorizationUrl: "https://api.example.com/oauth2/authorize"
tokenUrl: &token-url "https://api.example.com/oauth2/token"
refreshUrl: &token-refresh-url "https://api.example.com/refresh"
scopes: &scopes
cpe-management-service-sites-read: |
List a service owner's service sites
cpe-management-service-sites-location-read: |
Read a service site's physical location
cpe-management-devices-read: |
List a service owner's devices
cpe-management-devices-hardware-address-read: |
Read a service owner's device's hardware address
cpe-management-devices-write: |
Modify which networks are configured on a service owner's devices
cpe-management-isolated-networks-read: |
List a service owner's isolated networks created by the calling API client
cpe-management-isolated-networks-write: |
Create or modify a service owner's isolated networks created by the calling API client
cpe-management-isolated-networks-primary-read: |
Access information about a service owner's primary isolated network
cpe-management-isolated-networks-primary-write: |
Modify a service owner's primary isolated network
cpe-management-isolated-networks-auxiliary-read: |
List service owner's auxiliary isolated networks
cpe-management-isolated-networks-auxiliary-write: |
Create or modify a service owner's auxiliary isolated networks
cpe-management-reboot-requests-read: |
List a service owner's reboot requests created by the calling API client
cpe-management-reboot-requests-write: |
Create or modify a service owner's reboot request created by the calling API client
clientCredentials:
tokenUrl: *token-url
refreshUrl: *token-refresh-url
scopes: *scopes
openId:
type: openIdConnect
openIdConnectUrl: https://example.com/.well-known/openid-configuration

parameters:
siteId:
Expand Down Expand Up @@ -1637,7 +1601,7 @@ components:
default: "auxiliary"
example: &network-role "primary"

NetworkDeviceRoleConfiguration:
NetworkDeviceConfiguration:
type: object
description: >-
A specific network configuration with an implied network to configure on a specific network access device with
Expand All @@ -1656,7 +1620,7 @@ components:
- $ref: "#/components/schemas/NetworkRole"
- example: *network-role
required: ["device"]
example: &network-device-role-configuration
example: &network-device-configuration
device: *device-id
role: *network-role

Expand Down Expand Up @@ -1716,7 +1680,7 @@ components:

NetworkDeviceIntersection:
allOf:
- $ref: "#/components/schemas/NetworkDeviceIntersectionCreate"
- $ref: "#/components/schemas/NetworkDeviceConfiguration"
- description: >-
Properties of a specific network configuration with an implied network on a specific network access device.
properties:
Expand All @@ -1729,7 +1693,6 @@ components:
required:
- device
example: &network-device-intersection
intersectionType: *network-device-intersection-type
device: *device-id
role: *network-role
removable: *network-removable
Expand Down

0 comments on commit 60ca455

Please sign in to comment.