Code Monkey home page Code Monkey logo

corellia's Introduction

corellia

swagger-editor swagger-editor DepShield Badge CI Status

workspace

Gitpod

about

The project hosts a classical b2b-interface (Web-API) specification for (insurance) contract data and document exchange.

This is a java project leveraging swagger-core and a converter to create the OpenAPI 2.0 specs. It provides the Contracts API according to the OpenAPI Spec. This application uses JAX-RS annotated resources to resolve a valid OpenAPI definition out of Java classes representing the API

the name

The name Corellia is a reference to a fictitious planet from StarWars: one of the first trading planets in the universe with its own Corellian Trade Spine.

api specs

You can find the openapi specs in the following files:

OpenAPI v3 Specs: docs/openapi.json

OpenAPI v2 Specs: docs/swagger.json

usage open api v3

To generate the docs/openapi.json OpenAPI specification, call

$ mvn exec:java@gen-openapi

Note: (One must at least once have called $ mvn install, otherwise the above call won't work)

usage open api v2

Firstly generate the OpenAPI v3 specs (will be located at docs/openapi.json) Then use the following call to convert the OpenAPI v2 specs (will be located at docs/swagger.json)

$ mvn exec:java@gen-swagger

Note: (One must have issued npm install previously.)

releasing

Run e.g. on master: mvn -B release:prepare e.g. via Gitpod

Subsequently the GitHub action worksflow "create release" will pick up the published tag and release and deploy the artifacts in the Github package registry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.