Fix OpenAPI formatting
There was some inconsistent formatting in the OpenAPI spec. This commit
updates any inconsistent spacing and symbols to use the OpenAPI best
practices.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-# -----------------------------------------------------------------------------
openapi: 3.0.0
info:
@@ -62,7 +61,8 @@ paths:
get:
tags:
- Sawtooth Validator
- summary: Fetches the committed statuses for a set of batches from the Sawtooth
+ summary:
+ Fetches the committed statuses for a set of batches from the Sawtooth
Validator
description: |
Fetches an array of objects with a status and id for each batch
@@ -881,9 +881,9 @@ components:
format: int64
- type: integer
format: int32
- - $ref: '#/components/schemas/StructValue'
- - $ref: '#/components/schemas/LatLong'
- - $ref: '#/components/schemas/BytesValue'
+ - $ref: "#/components/schemas/StructValue"
+ - $ref: "#/components/schemas/LatLong"
+ - $ref: "#/components/schemas/BytesValue"
example: "AQIDBA=="
reporter:
type: object
@@ -1001,14 +1001,14 @@ components:
format: int64
- type: integer
format: int32
- - $ref: '#/components/schemas/StructValue'
- - $ref: '#/components/schemas/LatLong'
- - $ref: '#/components/schemas/BytesValue'
+ - $ref: "#/components/schemas/StructValue"
+ - $ref: "#/components/schemas/LatLong"
+ - $ref: "#/components/schemas/BytesValue"
example: "AQIDBA=="
StructValue:
type: array
items:
- $ref: '#/components/schemas/StructPropertyValue'
+ $ref: "#/components/schemas/StructPropertyValue"
BytesValue:
type: string
format: byte
@@ -1043,7 +1043,7 @@ components:
items:
type: string
lat_long_value:
- $ref: '#/components/schemas/LatLong'
+ $ref: "#/components/schemas/LatLong"
service_id:
type: string
example: 01234567-0123-0123-0123-012345678901::grid-scabbard-a
