From c5326a0c773bf6589f9607f59ef25bd873ede83b Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Fri, 11 Mar 2022 18:18:37 -0800 Subject: [PATCH] Modified reference/SpaceTraders.yaml --- reference/SpaceTraders.yaml | 114 ++++++++++++++++++------------------ 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/reference/SpaceTraders.yaml b/reference/SpaceTraders.yaml index ca694d4..a1444e4 100644 --- a/reference/SpaceTraders.yaml +++ b/reference/SpaceTraders.yaml @@ -28,7 +28,7 @@ servers: paths: /agents: post: - summary: Register a new agent + summary: Register New Agent tags: - agents responses: @@ -149,7 +149,7 @@ paths: description: '' /my/agent: get: - summary: Get your agent details + summary: My Agent Details tags: - agents responses: @@ -1714,7 +1714,7 @@ paths: required: true description: The contract ID get: - summary: View Contract + summary: Contract Details tags: - contracts responses: @@ -1776,60 +1776,6 @@ paths: security: - AgentToken: [] description: Accept a contract. - '/systems/{systemSymbol}': - parameters: - - schema: - type: string - default: X1-OE - name: systemSymbol - in: path - required: true - description: The system symbol - get: - summary: View System - tags: - - systems - responses: - '200': - description: OK - content: - application/json: - schema: - description: '' - type: object - x-examples: - example-1: - data: - symbol: X1-ZZ - sector: X1 - type: BLUE_STAR - x: -2 - 'y': 9 - waypoints: [] - factions: [] - charted: false - chartedBy: null - properties: - data: - $ref: ../models/System.yaml - required: - - data - examples: - Success: - value: - data: - symbol: X1-ZZ - sector: X1 - type: BLUE_STAR - x: -2 - 'y': 9 - waypoints: [] - factions: [] - charted: false - chartedBy: null - operationId: get-systems-systemSymbol - security: - - AgentToken: [] /systems: get: summary: List Systems @@ -1926,6 +1872,60 @@ paths: description: Return a list of all systems. security: - AgentToken: [] + '/systems/{systemSymbol}': + parameters: + - schema: + type: string + default: X1-OE + name: systemSymbol + in: path + required: true + description: The system symbol + get: + summary: View System + tags: + - systems + responses: + '200': + description: OK + content: + application/json: + schema: + description: '' + type: object + x-examples: + example-1: + data: + symbol: X1-ZZ + sector: X1 + type: BLUE_STAR + x: -2 + 'y': 9 + waypoints: [] + factions: [] + charted: false + chartedBy: null + properties: + data: + $ref: ../models/System.yaml + required: + - data + examples: + Success: + value: + data: + symbol: X1-ZZ + sector: X1 + type: BLUE_STAR + x: -2 + 'y': 9 + waypoints: [] + factions: [] + charted: false + chartedBy: null + operationId: get-systems-systemSymbol + security: + - AgentToken: [] tags: - name: ships - name: markets