Skip to content

Instantly share code, notes, and snippets.

@agreatfool
Created February 6, 2018 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agreatfool/3b916e7795099861510176d6014cbc0a to your computer and use it in GitHub Desktop.
Save agreatfool/3b916e7795099861510176d6014cbc0a to your computer and use it in GitHub Desktop.
Generated swagger.json
{
"swagger": "2.0",
"info": {
"title": "book/book.proto",
"version": "version not set"
},
"schemes": [
"http",
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"bookBook": {
"type": "object",
"properties": {
"isbn": {
"type": "string",
"format": "int64"
},
"title": {
"type": "string"
},
"author": {
"type": "string"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment