Conversation
Replace placeholder examples in 16 customer response files with real XML data from ESPI_Customer_Sample.xml: - Customer: Add Organisation with full address (200 SECOND AVE, OLDCASTLE, ON) - CustomerAccount: Add contactInfo with address and accountId (30000000-00) - CustomerAgreement: Use real agreementId (30000000-00_004_electric) - ServiceSupplier: Add Organisation name (Acme Energy Supplier) and kind - ProgramDateIdMappings: Add DR enrollment program mapping - ServiceLocation: Add mainAddress and UsagePoints link - Meter: Add serialNumber (EPP00004) - EndDevice: Add serialNumber (inverter-01-51111111111) All examples now use real UUIDs, timestamps, and link structures from actual ESPI 4.1 customer sample data for more realistic documentation. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
**OAuth2 Documentation Enhancements:** - Add comprehensive function block (scope) descriptions - Document all 17 ESPI function blocks (FB_1 through FB_58) - Add multiple scope options for different access levels - Clarify Authorization Code vs Client Credentials flows - Add customer resource function blocks (FB_50-58) **Schema Organization:** - Add 25 customer supporting schemas to components.schemas section - Include: Organisation, StreetAddress, Document, Agreement, Asset, Location, Status, Priority, and more - Match energy section format where supporting types are separately registered for proper documentation and reusability This makes OAuth2 security properly visible in Redocly and Swagger UI documentation with detailed scope explanations. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What Changed
1. Real Customer Resource Examples (16 files)
Replaced placeholder XML examples in all customer response files with real data from
ESPI_Customer_Sample.xml:Customer:
CustomerAccount:
CustomerAgreement:
ServiceSupplier:
ServiceLocation:
Meter & EndDevice:
ProgramDateIdMappings:
2. Customer Supporting Schemas (25 schemas added)
Added all customer supporting schemas to
components.schemassection to match energy section format:Address Schemas:
Document Schemas:
Asset Schemas:
Status Schemas:
Program Schemas:
Account Schemas:
Reference Schemas:
3. Enhanced OAuth2 Documentation
Completely rewrote OAuth2 security scheme documentation to be visible in generated docs:
Added:
Function Blocks Documented:
Test Plan
npm test)npm run build)Documentation Impact
Before/After
Before (OAuth2):
After (OAuth2):
Before (Customer Examples):
After (Customer Examples):
🤖 Generated with Claude Code