github.com/Clever/swagger-api

A Swagger Definition for the Clever API


Install
go get github.com/Clever/swagger-api

Documentation

swagger-api

A Swagger Definition for the Clever API

Generate Files

Update the source yml (full-vX.yml) and run make generate VERSION=3 (for any version, example given is for version v3)

Custom Swagger Extensions

x-samples-languages: controls the sample languges in the Clever API explorer x-nullable: indicates that a object property is optional x-validation: indicates that Clever has validated the fields meets the specified format