Giter Site home page Giter Site logo

cdo-public-api-docs's Introduction

Welcome to the CDO Public API Documentation

These docs are published to DevNet using PubHub. See [https://pubhub.cisco.com/detail/5082] or contact [email protected] for details

Adding / Modifying

To get the latest OpenAPI YAML from Staging into Pubhub, run:

scripts/cli download --apimatic-api-token <token>

This script will transform the API documentation in the Staging Public API, transform it into a format that PubHub likes using APImatic, make a commit in this repository, and push the commit to PubHub.

You can generate an APImatic API token for yourself by creating a free account at [https://apimatic.io] and creating an authentication key following the instructions in the APImatic documentation.

View your changes

Go to [https://pubhub.cisco.com/detail/5082].

Why APImatic?

Pubhub does not like the OpenAPI YAML and JSON files generated by SpringDoc for reasons I am unable to debug (because there are no debug logs in Pubhub). So what we are doing here is feeding the OpenAPI JSON file generated by the CDO public API into APImatic, and transforming it to a YAML file that Pubhub likes.

Hat-tip to Oleksii Borysenko for suggesting APImatic.

cdo-public-api-docs's People

Contributors

siddhuwarrier avatar talhazi avatar weilueluo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.