Giter Site home page Giter Site logo

d-yoshi / redmine-openapi Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 319 KB

Unofficial OpenAPI specification for the Redmine API

Home Page: https://d-yoshi.github.io/redmine-openapi/

License: MIT License

openapi openapi3 redmine redmine-api docs openapi-specification openapi-spec

redmine-openapi's Introduction

redmine-openapi's People

Contributors

d-yoshi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

redmine-openapi's Issues

Excellent OpenAPI Redmine

You have done a wonderful job on the OpenAPI specification for redmine. This will allow developers to automatically generate clients for different programming languages.

Please tell me, is there a chance that this specification will become the main one for redmine?

The current Redmine REST API specification looks outdated and does not have an overall clear open specification as an opensource solution.

Cannot generate openapi client with swagger/openapi-generator

using maven

            <!-- https://mvnrepository.com/artifact/org.openapitools/openapi-generator-maven-plugin -->
            <plugin>
               <groupId>org.openapitools</groupId>
               <artifactId>openapi-generator-maven-plugin</artifactId>
               <version>7.0.0</version>
               <executions>
                  <execution>
                     <goals>
                        <goal>generate</goal>
                     </goals>
                     <configuration>
                        <inputSpec>https://d-yoshi.github.io/redmine-openapi/openapi.yml</inputSpec>
                        <generatorName>java</generatorName>
                        <library>resttemplate</library>
                        <apiPackage>${openApiPackage}</apiPackage>
                        <modelPackage>${openApiModelPackage}</modelPackage>
                        <useSpringBoot3>true</useSpringBoot3>
                        <generateApis>true</generateApis>
                        <generateApiDocumentation>false</generateApiDocumentation>
                        <generateApiTests>true</generateApiTests>
                        <generateModels>true</generateModels>
                        <generateModelDocumentation>true</generateModelDocumentation>
                        <generateModelTests>false</generateModelTests>
                        <generateSupportingFiles>true</generateSupportingFiles>
                        <legacyDiscriminatorBehavior>false</legacyDiscriminatorBehavior>
                        <configOptions>
                           <delegatePattern>true</delegatePattern>
                           <additionalModelTypeAnnotations>@lombok.Data</additionalModelTypeAnnotations>
                        </configOptions>
                     </configuration>
                  </execution>
               </executions>
            </plugin>

I am getting on the generated classes this compile errors:

SearchFormatGetAttachmentsParameter

OneOfstringinteger cannot be resolved to a type SearchFormatGetAttachmentsParameter.java

so looks like the oneOf definition is still not supported by openapi-generator (since nearly over 3y).
So do you have an idea how to fix this generation issue?

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.