GitHub - go-openapi/spec3 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
Explore - Why GitHub
- All features
- Documentation
- GitHub Skills
- Blog
- By company size
- Topics
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
go-openapi / spec3 Public
- Notifications You must be signed in to change notification settings
- Fork19
- Star 105
License
Apache-2.0, Unknown licenses found
Licenses found
Apache-2.0 LICENSE Unknown license.go
105 stars 19 forks Branches Tags Activity
Notifications You must be signed in to change notification settings
Additional navigation options
Folders and files
Repository files navigation
OAI object model

This repository is not usable at this moment, the implementation is incomplete
The object model for OpenAPI specification v3 documents.
It aims to fix some mistakes that were made in the spec for v2. Top-level maps are now sorted by default so you can rely on their ordering.
Schemas
Schema | struct{} + map | Unit tests (struct{} + map) |
---|---|---|
OpenAPI | ☑️ | 🔲 |
Info | ☑️ | 🔲 |
Contact | ☑️ | 🔲 |
License | ☑️ | 🔲 |
Server | ☑️ | 🔲 |
Server Variable | ☑️ + 🔲 | 🔲 + 🔲 |
Components | ☑️ | 🔲 |
Paths | ☑️ | 🔲 |
Path Item | ☑️ + 🔲 | 🔲 + 🔲 |
Operation | ☑️ | 🔲 |
External Documentation | ☑️ | 🔲 |
Parameter | ☑️ + 🔲 | 🔲 + 🔲 |
Request Body | ☑️ + 🔲 | 🔲 + 🔲 |
Media Type | ☑️ + 🔲 | 🔲 + 🔲 |
Encoding | ☑️ + 🔲 | 🔲 + 🔲 |
Responses | ☑️ + 🔲 | 🔲 + 🔲 |
Response | ☑️ | 🔲 |
Callback | ☑️ + 🔲 | 🔲 + 🔲 |
Example | ☑️ + 🔲 | 🔲 + 🔲 |
Link | ☑️ + 🔲 | 🔲 + 🔲 |
Header | ☑️ + 🔲 | 🔲 + 🔲 |
Tag | ☑️ | 🔲 |
Reference | ☑️ | 🔲 |
Schema | 🔲 + 🔲 | 🔲 + 🔲 |
Discriminator | ☑️ | 🔲 |
XML | ☑️ | 🔲 |
Security Scheme | ☑️ + 🔲 | 🔲 + 🔲 |
OAuth Flows | ☑️ | 🔲 |
OAuth Flow | ☑️ | 🔲 |
Security Requirement | ☑️ | 🔲 |
TODO
- Update OrderedMap to use ART under the hood instead of the golang's map
- Use GoJay for decoding/encoding the JSON
- Retire EasyJson dependency from the project
About
No description, website, or topics provided.
Resources
License
Apache-2.0, Unknown licenses found
Licenses found
Apache-2.0 LICENSE Unknown license.go
Code of conduct
Stars
Watchers
Forks
Releases
No releases published
Packages
No packages published