diff --git a/openapi/paths/Batch_Bulk_{bulkId}.yaml b/openapi/paths/Batch_Bulk_{bulkId}.yaml index f601d0a..2243345 100644 --- a/openapi/paths/Batch_Bulk_{bulkId}.yaml +++ b/openapi/paths/Batch_Bulk_{bulkId}.yaml @@ -32,34 +32,3 @@ get: description: Bad Request - The request was malformed or contained invalid parameters. '403': description: Forbidden - The access token does not have sufficient scope. -post: - tags: - - Batch - summary: Upload a Bulk transfer file [FB_99] - description: >- - Uploads a Green Button XML file for bulk transfer. Requires a valid - data_custodian_access_token. - operationId: uploadBulkData - parameters: - - name: bulkId - in: path - description: The Bulk ID as specified in the OAuth2 SCOPE string. - required: true - schema: - type: string - security: - - oauth2: [] - requestBody: - description: Green Button XML file contents to upload. - required: true - content: - application/xml: - schema: - type: string - responses: - '201': - description: Created - The bulk data was successfully uploaded. - '400': - description: Bad Request - The request was malformed or contained invalid XML. - '403': - description: Forbidden - The access token does not have sufficient scope. diff --git a/openapi/paths/Batch_RetailCustomer_{retailCustomerId}_UsagePoint.yaml b/openapi/paths/Batch_RetailCustomer_{retailCustomerId}_UsagePoint.yaml index d444b6c..de134e1 100644 --- a/openapi/paths/Batch_RetailCustomer_{retailCustomerId}_UsagePoint.yaml +++ b/openapi/paths/Batch_RetailCustomer_{retailCustomerId}_UsagePoint.yaml @@ -32,35 +32,3 @@ get: description: Bad Request - The request was malformed or contained invalid parameters. '403': description: Forbidden - The access token does not have sufficient scope. -post: - tags: - - Batch - summary: Upload a Green Button XML file [FB_33] - description: >- - Uploads a Green Button XML file containing UsagePoint data for the - specified Retail Customer. Requires a valid data_custodian_access_token - or upload_access_token. - operationId: uploadMyData - parameters: - - name: retailCustomerId - in: path - description: The Retail Customer's ID. - required: true - schema: - type: string - security: - - oauth2: [] - requestBody: - description: Green Button XML file contents to upload. - required: true - content: - application/xml: - schema: - type: string - responses: - '201': - description: Created - The Green Button data was successfully uploaded. - '400': - description: Bad Request - The request was malformed or contained invalid XML. - '403': - description: Forbidden - The access token does not have sufficient scope. diff --git a/redocly.yaml b/redocly.yaml index fbc14f8..27f23f3 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -16,9 +16,45 @@ rules: openapi: htmlTemplate: ./docs/index.html theme: + logo: + gutter: 20px + # To add logo: Place logo.png in project root and uncomment below + # Then obtain license from: https://www.greenbuttonalliance.org/trademarks + # src: ./logo.png + # link: https://www.greenbuttonalliance.org/ colors: primary: - main: "#32329f" + main: "#10a54a" # Green Button green + success: + main: "#10a54a" + warning: + main: "#f39c12" + error: + main: "#e74c3c" + text: + primary: "#263238" + secondary: "#5f6c72" + http: + get: "#10a54a" + post: "#3498db" + put: "#f39c12" + delete: "#e74c3c" + typography: + fontSize: "16px" + fontFamily: '"Open Sans", sans-serif' + headings: + fontFamily: '"Montserrat", sans-serif' + fontWeight: "600" + code: + fontSize: "14px" + fontFamily: '"Source Code Pro", monospace' + sidebar: + backgroundColor: "#fafafa" + textColor: "#263238" + activeTextColor: "#10a54a" + rightPanel: + backgroundColor: "#263238" + textColor: "#ffffff" generateCodeSamples: languages: # Array of language config objects; indicates in which languages to generate code samples. - lang: curl