Skip to content

Conversation

@phessophissy
Copy link

Summary

This PR adds missing OpenAPI metadata to all specification files and enhances the README with practical usage examples.

Changes

OpenAPI Spec Enhancements (all 4 files)

Enhancement Description
info.description Added API purpose description
info.contact Added email (hello@coingecko.com) and URL
info.license Added API Terms of Service reference
info.termsOfService Added terms URL
externalDocs Added link to full API documentation
Security scheme descriptions Explained API key header requirements

Schema Descriptions Added

File Schemas Documented
coingecko-pro.json 58
coingecko-demo.json 45
onchain-pro.json 23
onchain-demo.json 16
Total 142

README Enhancements

  • Added badges and branding
  • Added table of contents
  • Added Usage Examples:
    • Swagger UI integration
    • Postman import instructions
    • Code generation with OpenAPI Generator
  • Added contributing guidelines

Why This Matters

  • Better DX — Schema descriptions help developers understand response structures
  • Tool compatibility — Proper info metadata enables better code generation
  • Discoverability — External docs and contact info help developers find support

Note

If these OAS files are auto-synced from Mintlify, changes may need to be applied upstream.

OpenAPI Spec Improvements:
- Add description, contact, termsOfService, and license to info section
- Add externalDocs linking to CoinGecko documentation
- Add descriptions to all security schemes (apiKeyAuth, apiKeyQueryParam)
- Add descriptions to all component schemas (142 total across all specs)

README Improvements:
- Add badges for OpenAPI version, documentation, and API pricing
- Add table of contents for easy navigation
- Add tables with spec descriptions and download links
- Add usage section with Swagger UI, Postman, and code generation examples
- Add contributing guidelines
- Add resources section with useful links

Files updated:
- coingecko-pro.json (58 schema descriptions)
- coingecko-demo.json (45 schema descriptions)
- onchain-pro.json (23 schema descriptions)
- onchain-demo.json (16 schema descriptions)
- README.md
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.

1 participant