CSDL Parser Generates Human-Readable OData Documentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developing applications that consume OData-based APIs is hindered by the complexity of Common Schema Definition Language (CSDL) documents, requiring extensive knowledge and increasing the learning curve and time-to-market due to the need to understand intricate HTTP calls and relationships.

Innovation Solution

A method is implemented to generate a human-readable HTML document from a CSDL document using a CSDL parser and text document generator, providing object models and descriptions of HTTP calls, URLs, methods, and responses, thereby simplifying the understanding and consumption of OData applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If developers use CSDL documents to understand OData APIs, then comprehensive schema information is provided, but the complexity and difficulty of understanding increases

Engineering Contradiction:
Improveschema information completenessVSAvoidCSDL document complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent creates a simplified copy of the CSDL document in human-readable format. The CSDL parser extracts schema information and the text document generator creates a simplified representation that maintains essential information while removing technical complexity, allowing developers to understand OData APIs without mastering CSDL syntax

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent introduces an intermediary layer between the complex CSDL document and the developer. The CSDL parser and text document generator act as intermediaries that translate the technical CSDL format into human-readable descriptions, bridging the gap between comprehensive schema information and developer understanding

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If developers study CSDL documents to understand HTTP calls, then complete API information is obtained, but the learning curve and time-to-market increase

Engineering Contradiction:
ImproveHTTP call information completenessVSAvoidlearning time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent performs preliminary action by automatically generating human-readable documentation before developers need to understand the API. The CSDL parser processes the schema and the text document generator creates ready-to-read descriptions of HTTP calls, URLs, methods, and responses, eliminating the need for developers to spend time studying complex CSDL syntax

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a simplified copy of API information in human-readable format. Instead of requiring developers to interpret technical CSDL documents, the system generates a simplified representation that presents HTTP call information in an accessible format, reducing learning time while maintaining completeness

Inventive Principle:
Principle #26Copying

3Measurement precision

If developers manually interpret CSDL documents, then detailed schema understanding is achieved, but productivity decreases

Engineering Contradiction:
Improveschema understanding accuracyVSAvoidapplication development speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces the mechanical process of manual CSDL interpretation with an automated system. The CSDL parser and text document generator automatically process schema documents and generate human-readable descriptions, eliminating the time-consuming manual interpretation process while maintaining accurate schema understanding

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system performs self-service by automatically generating the documentation that developers would otherwise need to manually create. The CSDL parser and text document generator work autonomously to transform CSDL documents into human-readable formats, freeing developers from the tedious task of manual schema interpretation and accelerating their productivity

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10102188B2ODatadoc generation from OData metadata document
Publication Date: 2018.10.16 SAP SE
  • US10102188B2 patent drawing
  • US10102188B2 patent drawing
  • US10102188B2 patent drawing

AI summary

Implementations of the present disclosure include methods, systems, and computer-readable storage mediums for receiving a common schema definition language (CSDL) document that describes an Internet-accessible service, processing the CSDL document through a CSDL parser to provide a CSDL object document, processing the CSDL object document through a text document generator to provide a human-readable text document, and transmitting the human-readable text document for display to a user.