swagger icon indicating copy to clipboard operation
swagger copied to clipboard

Swagger contains a OpenAPI / Swagger universal documentation generator and HTTP server handler.

Results 4 swagger issues
Sort by recently updated
recently updated
newest added

Add creation of Swagger::Object by some object instance (Related and insipred by #18) Allow creation of Swagger::Object by something like that : ```crystal struct User property id, nickname, username, email,...

🔍 Ready for Review

This PR based on the work done on #23. It allows to use a ref in a property object, as defined by the OpenAPI v3 spec. ```Crystal builder.add(Swagger::Object.new("User", "object")) builder.add(...

I dig how macro works in Crystal and done a simple Reflect class, but Crystal can not accept Any Class or Struct as args of method. (also thanks @jhass in...

help wanted

The OpenAPI JSON schema can be used to complement compliance validation: https://github.com/OAI/OpenAPI-Specification/tree/master/schemas/v3.0

enhancement