From 54b001e54a0a7fda39a5584db4bfb255d36d51af Mon Sep 17 00:00:00 2001 From: Mahmoud Alkhraishi Date: Thu, 19 Sep 2024 12:05:59 -0400 Subject: [PATCH] fix test --- ...roducerEnvironmentalPassportCredential.yml | 6 ++--- docs/openapi/openapi.yml | 26 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml b/docs/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml index b66f6a564..77db8c96a 100644 --- a/docs/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml +++ b/docs/openapi/components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml @@ -127,7 +127,7 @@ properties: List of observations type: array items: - $ref: ./Observation.yml + $ref: ../common/Observation.yml required: - certificationPeriod - certificateIssuer @@ -170,7 +170,7 @@ example: |- "type": [ "Place" ], - "globalLocationNumber": "1111111111", + "globalLocationNumber": "1111111111111", "geo": { "type": [ "GeoCoordinates" @@ -224,4 +224,4 @@ example: |- } ] } - } \ No newline at end of file + } diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml index 4a848cc82..5dc492f85 100644 --- a/docs/openapi/openapi.yml +++ b/docs/openapi/openapi.yml @@ -2569,19 +2569,6 @@ paths: $ref: './components/schemas/credentials/EnvironmentalImpactCredential.yml' - /schemas/credentials/EnvironmentalPassportCredential.yml: - get: - tags: - - credentials - responses: - '200': - description: 'successfully issued EnvironmentalPassportCredential schema.' - content: - application/yml: - schema: - $ref: './components/schemas/credentials/EnvironmentalPassportCredential.yml' - - /schemas/credentials/EventCredential.yml: get: tags: @@ -2998,6 +2985,19 @@ paths: $ref: './components/schemas/credentials/MultiModalBillOfLadingCredential.yml' + /schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml: + get: + tags: + - credentials + responses: + '200': + description: 'successfully issued NaturalGasProducerEnvironmentalPassportCredential schema.' + content: + application/yml: + schema: + $ref: './components/schemas/credentials/NaturalGasProducerEnvironmentalPassportCredential.yml' + + /schemas/credentials/OilAndGasDeliveryTicketCredential.yml: get: tags: