go-openapi / spec3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OAI object model Build Status codecov Slack Status

license GoDoc

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

License:Apache License 2.0


Languages

Language:Go 100.0%