You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

When: Web meetings weekly on Friday at 10:00am (Eastern US)

Zoom Bridge: https://zoom.us/j/731954210

Calendar-Meeting-Invite.ics

Goal: Development and Documentation Go Hand-in-hand

  • From Writing API Documentation -> Developing API Documentation

  • Make it easy to create by designers and developers

  • Make it easy to access and relevant to developers

    • Developer engagement

  • Make it easy to use: Sample Calls and Code are essential

    • Try It For Yourself (TIFY) Examples

    • Panes on page with prose, sample code, and navigation / search

    • Keep simple and easy to understand

    • Copy and paste friendly

    • Target languages (and code generation)

Team (please add your name below to sign up)

For Background Please See:

 

The API Documentation Factory

Approach and Steps

Modeling Subcommittee along with the Documentation Project will discuss and recommend to the TSC a common API Documentation approach for ONAP.

  • Style Guide for defining APIs in Swagger / OpenAPI 3.0

  • Use Swagger toolset to develop and publish Swagger / OpenAPI 3.0 API Specs (in JSON or YAML) (e.g., SwaggerHub)

  • Select a tool for generation of API Reference documentation directly from Swagger / OpenAPI files (using Redoc for example which creates a consistent standalone HTML file)

    • For an example of the HTML file generated by Redoc, See: SnackSwag.html

    • For best viewing: Download both the logo.png  file and the SnackSwag.html file to the same directory, then open locally.
  • Create common and uniform Conceptual API Documentation describing each API and provides quick start and usable TIFY(try it for yourself) samples

  • Select and work with a few ONAP projects to pilot the approach for Frankfurt (e.g., External API, SO, etc.)

Note: Need to explore placing OpenAPI files (.json or .yaml) into a common directory in each project's Repo.

Proposed Documentation Tooling Flow

Reference Documentation Generation Tool Candidates

API Validation Tool Candidates 

Existing ONAP Documentation



Error rendering macro 'html'

Attachment 'SnackSwag.html' not found on page 'Developing ONAP API Documentation' in space DW.




  • No labels