All Projects → superiorlu → jsonapi-swagger

superiorlu / jsonapi-swagger

Licence: MIT License
Create a JSONAPI Swagger.

Programming Languages

HTML
75241 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to jsonapi-swagger

Bus
Bus 是一个基础框架、服务套件,它基于Java8编写,参考、借鉴了大量已有框架、组件的设计,可以作为后端服务的开发基础中间件。代码简洁,架构清晰,非常适合学习使用。
Stars: ✭ 253 (+416.33%)
Mutual labels:  i18n, swagger
Ifme
Free, open source mental health communication web app to share experiences with loved ones
Stars: ✭ 1,147 (+2240.82%)
Mutual labels:  i18n, rspec
Core
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Stars: ✭ 2,004 (+3989.8%)
Mutual labels:  swagger, jsonapi
Vox
Swift JSON:API client framework
Stars: ✭ 47 (-4.08%)
Mutual labels:  jsonapi, jsonapi-resources
io-api
The API documentation for Adafruit IO
Stars: ✭ 15 (-69.39%)
Mutual labels:  swagger
factory bot-preload
Preload factories (factory_bot) just like fixtures. It will be easy and, probably, faster!
Stars: ✭ 68 (+38.78%)
Mutual labels:  rspec
language-tags
A Swiss Army knife for language tags.
Stars: ✭ 46 (-6.12%)
Mutual labels:  i18n
spree-postal-service
Weight based calculator for Spree Commerce.
Stars: ✭ 21 (-57.14%)
Mutual labels:  rspec
swagger-test
Property based testing tool for Swagger APIs
Stars: ✭ 32 (-34.69%)
Mutual labels:  swagger
swagger-conformance
Python based tool for testing whether your API conforms to its Swagger schema
Stars: ✭ 51 (+4.08%)
Mutual labels:  swagger
tssg-syntax-parser
Parser to generate AST from TSSG Syntax
Stars: ✭ 17 (-65.31%)
Mutual labels:  swagger
auto-translate-converter
a cli work for part of i18n project chain
Stars: ✭ 19 (-61.22%)
Mutual labels:  i18n
i18n
IPFS Translation Project
Stars: ✭ 14 (-71.43%)
Mutual labels:  i18n
language-subtag-registry
BCP 47/IANA language subtag data in JSON format.
Stars: ✭ 53 (+8.16%)
Mutual labels:  i18n
sts
Swagger to sf schema & st column in ng-alain
Stars: ✭ 20 (-59.18%)
Mutual labels:  swagger
openapi-schemas
JSON Schemas for every version of the OpenAPI Specification
Stars: ✭ 22 (-55.1%)
Mutual labels:  swagger
mu-cl-resources
High-level abstractions for generating generic jsonapi compliant resources configured in Common Lisp.
Stars: ✭ 14 (-71.43%)
Mutual labels:  jsonapi
nestjs-auth-starter-kit
NestJS Auth Starter Kit (typescript / typeorm / swagger / passport / bcrypt)
Stars: ✭ 37 (-24.49%)
Mutual labels:  swagger
silky
The Silky framework is designed to help developers quickly build a microservice development framework through simple code and configuration under the .net platform.
Stars: ✭ 146 (+197.96%)
Mutual labels:  swagger
MithrilShards
.NET 6 extensible P2P Network / Distributed services library.
Stars: ✭ 15 (-69.39%)
Mutual labels:  swagger

JSONAPI Swagger

Generate JSONAPI Swagger Doc.

Gem Version GitHub license

jsonapi-swagger-4-2-9.gif

Installation

Add this line to your application's Gemfile:

gem 'jsonapi-swagger'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jsonapi-swagger

Usage

  1. config jsonapi swagger
# config/initializers/swagger.rb
Jsonapi::Swagger.config do |config|
  config.use_rswag = false
  config.version = '2.0'
  config.info = { title: 'API V1', version: 'V1'}
  config.file_path = 'v1/swagger.json'
end
  1. generate swagger.json
# gen swagger/v1/swagger.json
bundle exec rails generate jsonapi:swagger User # UserResource < JSONAPI::Resource
  1. additional

use rswag, have to run

# gen swagger/v1/swagger.json
 bundle exec rails rswag:specs:swaggerize

RoadMap

  • immutable resources
  • filter/sort resources
  • mutable resources
  • generate swagger.json without rswag

Resource

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/superiorlu/jsonapi-swagger.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].