OAI / learn.openapis.org

OpenAPI - Getting started, and the specification explained
https://learn.openapis.org/
Creative Commons Attribution 4.0 International
112 stars 56 forks source link

Move examples from OpenAPI-Specification repository #102

Closed Bellangelo closed 3 months ago

Bellangelo commented 3 months ago

Partially addresses: https://github.com/OAI/OpenAPI-Specification/issues/3854

  1. Copied/Pasted all the examples.
  2. Added tests for the examples.
  3. Fixed tictactoe example https://github.com/OAI/learn.openapis.org/commit/be9af734f12ccaefe6692d470fe1947bb3c21418 as it wasn't passing the tests.
  4. Moved yaml-to-json script.
  5. Generated a json file for the pre-existing tictactoe example.
  6. Added workflows for converting the YAML files and running their tests.
miqui commented 3 months ago

Should be able to approve this soon unless @handrews , @SensibleWood , or any other user posts a concern.