Cineast OpenAPI Implementation
A simple implementation of the Cineast OpenAPI specification in C# capable of running queries.
Setup
- Create the Cineast OpenAPI C# source code of the
cineast-openapi-spec.json
api specifications by runninggenerate.bat
inswagger-codegen
. - Build the Cineast OpenAPI assemblies by running
build.bat
inswagger-codegen/client
. - Open the VS project in
c# implementation/Project
and build the program.
Generating the Cineast OpenAPI specifications
This repository already has a manually tweaked and functional specification called cineast-openapi-spec.json
.
If you want to (re-)generate the specifications:
- Build the modified spark-swagger fork by running
mvnw compile
andmvnw package
inspark-swagger
. The next step will require the built jar file. - Proceed in
cineast-openapi
according to Cineast's README and build the OpenAPI specification. - You'll find the specification in
cineast-openapi/docs/swagger.json
. This generated specification will not be complete yet and requires some manual tweaks and fixes.