Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 35 additions & 8 deletions resources/metadata/modifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@
"value": {
"$ref": "#/components/schemas/Alert_3P"
}
}, {
"comment": "The upstream items definition here is an anyOf with two different components with identical schemas, so we're just picking one",
"action": "replace",
"path": "components.schemas.TransactionCreateShipmentOutputVO.properties.alerts.items",
"value": {
"$ref": "#/components/schemas/Alert_3P"
}
}, {
"comment": "Add missing alertType property to Alert_3P",
"action": "merge",
Expand All @@ -100,13 +107,33 @@
}
}
}, {
" comment": "Remove required fields from PartyAddress",
"comment": "Remove required fields from PartyAddress",
"action": "delete",
"path": "components.schemas.PartyAddress.required"
}, {
"comment": "Remove required fields from PartyContact",
"action": "delete",
"path": "components.schemas.PartyContact.required"
}, {
"comment": "Remove totalWeight from RequestedShipment required fields",
"action": "delete-array-values",
"path": "components.schemas.RequestedShipment.required",
"value": ["totalWeight"]
}, {
"comment": "Remove accountNumber from ResponsibleParty required fields",
"action": "delete-array-values",
"path": "components.schemas.ResponsiblePartyParty.required",
"value": ["accountNumber"]
}, {
"comment": "Remove commercialInvoice from CustomsClearanceDetail required fields",
"action": "delete-array-values",
"path": "components.schemas.CustomsClearanceDetail.required",
"value": ["commercialInvoice"]
}, {
"comment": "Remove tinType from TaxpayerIdentification required fields",
"action": "delete-array-values",
"path": "components.schemas.TaxpayerIdentification.required",
"value": ["tinType"]
}
]
},
Expand All @@ -131,6 +158,11 @@
"description": "The data content of this instance.<br> Example: \"value\"",
"example": "value"
}
}, {
"comment": "The type of PackageBarcodes.binaryBarcodes is array, not string (same as ship/v1 schema)",
"action": "replace",
"path": "components.schemas.PackageBarcodes.properties.binaryBarcodes.type",
"value": "array"
}, {
"comment": "DangerousGoodsContainer.packingType is not actually required.",
"action": "delete",
Expand Down Expand Up @@ -227,14 +259,9 @@
},
{
"comment": "Delete moved `FullSchema-ImageUploadServiceInputVO.properties.rules` from required properties.",
"action": "replace",
"action": "delete-array-values",
"path": "components.schemas.Document.required",
"value": [
"contentType",
"meta",
"name",
"referenceId"
]
"value": ["rules"]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
{
"name": "Authorization",
"in": "header",
"description": "Bearer token from oauth/token",
"description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
Expand Down Expand Up @@ -501,7 +501,7 @@
{
"name": "authorization",
"in": "header",
"description": "Bearer token from oauth/token",
"description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
Expand Down Expand Up @@ -693,7 +693,7 @@
{
"name": "Authorization",
"in": "header",
"description": "Bearer token generated with child id and secret",
"description": "Bearer token generated with parent id and secret",
"required": true,
"style": "simple",
"explode": false,
Expand Down Expand Up @@ -912,18 +912,11 @@
"mfaOptions": {
"$ref": "#/components/schemas/MFAOptions"
},
"child_Key": {
"type": "string",
"description": "Child Key is a JSON Web Token provided for each of your customers. You must use the Child Key along with the Client Key, Client Secret and Customer Secret to get oAuth token, which should be used as credentials with each API transaction.",
"example": "e366a577-3708-47e5-9af8-98004a01c134"
},
"child_secret": {
"type": "string",
"description": "Child secret, also referred to as <i>Customer Secret</i>, is provided for each of your customers. You must use the Customer Secret along with the Client Key, Client Secret and Child Key to get the oAuth token, which should be used as credentials with each API transaction.",
"example": "*******"
"credentials": {
"$ref": "#/components/schemas/Credentials"
}
},
"description": "This is the response object providing Customer Key and secret key as a output."
"description": "This is the response object providing as output MFA options or Customer Key and Secret Key if MFA bypass has been applied."
},
"ErrorResponseVO": {
"type": "object",
Expand Down Expand Up @@ -1109,7 +1102,7 @@
"example": "TN"
}
},
"description": "Indicates the customer's address you are attempting to get the Customer Key and Customer Secret for. Note that address information needs to match the shipping or billing address as loaded in FedEx systems. Contact FedEx support team for any address-related issues or questions."
"description": "Indicates the customer's address you are attempting to get the Customer Key and Customer Secret for. Note that address information needs to match the billing address as loaded in FedEx systems. Contact FedEx support team for any address-related issues or questions."
},
"AccountNumber": {
"required": [
Expand Down Expand Up @@ -1327,6 +1320,23 @@
"mfaOptions": {
"$ref": "#/components/schemas/MFAOptions"
},
"credentials": {
"$ref": "#/components/schemas/Credentials"
}
},
"description": "This is the response object providing as output MFA options or Customer Key and Secret Key if MFA bypass has been applied."
},
"MFAOptions": {
"type": "array",
"description": "It provide options to generate the secure pin or validate invoice ",
"items": {
"$ref": "#/components/schemas/MFAOptions_inner"
}
},
"Credentials": {
"type": "object",
"description": "It provide Child key and child secret to generate the token",
"properties": {
"child_Key": {
"type": "string",
"description": "Child Key is a JSON Web Token provided for each of your customers. You must use the Child Key along with the Client Key, Client Secret and Customer Secret to get oAuth token, which should be used as credentials with each API transaction.",
Expand All @@ -1337,14 +1347,6 @@
"description": "Child secret, also referred to as <i>Customer Secret</i>, is provided for each of your customers. You must use the Customer Secret along with the Client Key, Client Secret and Child Key to get the oAuth token, which should be used as credentials with each API transaction.",
"example": "*******"
}
},
"description": "This is the response object providing Customer Key and secret key as a output."
},
"MFAOptions": {
"type": "array",
"description": "It provide options to generate the secure pin or validate invoice ",
"items": {
"$ref": "#/components/schemas/MFAOptions_inner"
}
},
"Options": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"title": "Address Validation APi",
"title": "Address Validation API",
"version": "1.0.0"
},
"servers": [
Expand All @@ -13,7 +13,7 @@
"/address/v1/addresses/resolve": {
"post": {
"summary": "Validate Address",
"description": "Use this endpointtt to get address resolution details. These details areee the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.<br><i>Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.<i>",
"description": "Use this endpoint to get address resolution details. These details are the outcome of validation and resolution of the input address. An address is stated as resolved when the input address matches the known reference data.<br><i>Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.<i>",
"operationId": "Validate Address",
"requestBody": {
"content": {
Expand Down
Loading