Automated API Documentation Deployment Across Environments

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ensuring that API documentation is compatible with the version of APIs deployed in specific environments, such as development, testing, and production environments, is challenging due to the reliance on a single source of documentation, which can lead to unavailability of API features under development or updates in other environments when the API is down for maintenance or has runtime issues.

Innovation Solution

An automated system using a document management component that communicates with a document web server to monitor API versions, retrieve updated documentation from an artifact repository, and deploy compatible API documentation for each environment without human intervention, integrating with Test Driven Documentation techniques like Spring REST Docs to generate full API documentation sets for each build version.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a single source of documentation is used for all environments, then documentation management is simplified, but documentation availability and compatibility across different environments deteriorates

Engineering Contradiction:
Improvedocumentation management complexityVSAvoiddocumentation availability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent segments the unified documentation system into environment-specific documentation instances. Each environment (development, testing, production) maintains its own documentation copy that can be independently updated and managed, ensuring that documentation availability is not affected by issues in other environments while still maintaining centralized control through the artifact repository.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism - the artifact repository with automated deployment system - that mediates between the single source documentation and multiple environment-specific documentation instances. This intermediary enables automated synchronization and version management, resolving the contradiction between simplified management and reliable availability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Quantity of substance

If a single source of documentation is shared across all environments, then storage and management resources are reduced, but documentation freshness and version compatibility worsens

Engineering Contradiction:
Improvedocumentation storageVSAvoiddocumentation freshness
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

The patent implements a copying strategy where documentation is replicated from a single source artifact repository to multiple environment-specific locations. This allows efficient storage management through centralized artifact storage while ensuring documentation freshness through automated copy operations that synchronize each environment with its appropriate version.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent applies preliminary action by pre-generating and storing documentation artifacts in the artifact repository before deployment to specific environments. This advance preparation ensures that when environments need documentation updates, fresh versions are already available and can be automatically deployed without delay, maintaining information freshness.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If manual documentation management is used, then system complexity is reduced, but automation level and deployment efficiency deteriorates

Engineering Contradiction:
Improvesystem complexityVSAvoiddocumentation deployment automation
Core Design Contradiction:
Device complexityVSExtent of automation

Solution Approach 1:

The patent implements self-service automation where the documentation deployment system automatically monitors, retrieves, and deploys documentation to appropriate environments without manual intervention. The system serves itself by detecting version changes, fetching updated artifacts, and distributing them across environments autonomously, achieving high automation while managing complexity through standardized processes.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the automated system continuously monitors environment states and documentation versions, then uses this feedback to trigger appropriate deployment actions. This closed-loop automation efficiently manages documentation synchronization while keeping system complexity manageable through event-driven architecture.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10318287B2Deploying documents to a server in a specific environment
Publication Date: 2019.06.11 HEWLETT PACKARD ENTERPRISE DEV LP
  • US10318287B2 patent drawing
  • US10318287B2 patent drawing
  • US10318287B2 patent drawing

AI summary

A method includes parsing, by a computing device, configuration data associated with multiple application programming interfaces (APIs) that are served by multiple remote applications executing on multiple servers in different environments respectively; determining, by the computing device, a uniform resource location (URL) of a remote application executing on a particular server deployed in the specific environment; receiving, by the computing device, a version of the remote application at the URL; retrieving, by the computing device, multiple documents associated with the particular API corresponding to the version from an artifact repository; and deploying, by the computing device, the multiple documents to the particular server in the specific environment.