Skip to content

Commit

Permalink
Revert Uri schema refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-gillard committed Dec 16, 2023
1 parent 3daa9ac commit dabe43e
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions spec/yaml/AirlineCodeLookUp_v1_swagger_specification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ components:
type: string
description: a string indicating an example of the right value
description: an object containing references to the source of the error
Uri:
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
Collection_Meta:
title: Collection_Meta
type: object
Expand All @@ -149,17 +145,29 @@ components:
type: object
properties:
self:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
next:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
previous:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
last:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
first:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
up:
$ref: '#/components/schemas/Uri'
type: string
format: uri
example: https://test.api.amadeus.com/v1/area/resources?...
example:
self: https://test.api.amadeus.com/v1/area/resources?param=value
responses:
Expand Down

0 comments on commit dabe43e

Please sign in to comment.