Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Specification Tutorials #256

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

philsturgeon
Copy link
Contributor

@philsturgeon philsturgeon commented Jul 2, 2024

A new OpenAPI Specification tutorial section, covering all the important topics showing how to work with OpenAPI, instead of just going to the specification.

  1. Introduction to OpenAPI
    • What is OpenAPI?
    • History and Evolution of OpenAPI
    • Benefits of Using OpenAPI
  2. Understanding OpenAPI Structure
    • Basic Structure
    • Defining API Servers
    • Paths and Operations
    • Parameters (Path, Query, Header, and Cookie)
    • Parameter Serialization
    • HTTP Requests
      • HTTP Methods
    • HTTP Responses
      • Status Codes
      • Error Responses
    • Components Section
  3. Defining Data Models
    • Schemas and Data Types
    • JSON Schema in OpenAPI
    • Examples and Default Values
    • Schema Composition
    • Representing XML
  4. Advanced OpenAPI Specification
    • Supporting Multiple Content Types
    • Handling Error Formats
    • Security Definitions (Authentication and Authorization)
    • Callbacks and Webhooks
    • Splitting OpenAPI into Multiple Documents
  5. Documenting APIs
    • Adding Descriptions and Summaries
    • Grouping Operations with Tags
    • Linking to External Documentation
  6. Extending OpenAPI
    • Custom Extensions and Vendor Extensions
    • Enriching OpenAPI with Overlays

Copy link

netlify bot commented Jul 2, 2024

Deploy Preview for bump-content-hub ready!

Name Link
🔨 Latest commit aa0f9aa
🔍 Latest deploy log https://app.netlify.com/sites/bump-content-hub/deploys/66a270f5a112410008d3a5cb
😎 Deploy Preview https://deploy-preview-256--bump-content-hub.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@philsturgeon philsturgeon changed the title openapi tutorials OpenAPI Specification Tutorials Jul 4, 2024
Gemfile Outdated Show resolved Hide resolved
Copy link
Contributor Author

@philsturgeon philsturgeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented all changes and feedback in latest push. Will continue to crack on!

@philsturgeon
Copy link
Contributor Author

@ChristopheDujarric @paulRbr Do you want me to bother with that first section:

Introduction to OpenAPI

  • What is OpenAPI?
  • History and Evolution of OpenAPI
  • Benefits of Using OpenAPI

You already have this https://docs.bump.sh/guides/openapi/what-is-openapi/

That guide covers what is openapi, history and evolution, and benefits, all in the one guide.

I could A) move it to this section, B) use it as a starter for the three guides, c) do nothing with it and not write these new guides.

@ChristopheDujarric
Copy link
Contributor

Great question! Reading quickly through it again, it feels like some things can be reused (like the diagrams), but the style/tone and possibly some of the content need an update, too.

Also, this guide points to what was originally a blog post: https://bump.sh/blog/what-is-openapi.

In my opinion:

  • the blog post stays where it is
  • the guide goes away, to be replaced by the new ones you can write
  • feel free to reuse any of the content from the original blog post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants