Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

e-Learning-by-SSE/nm-api-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nm-api-generator

Automatic generation of API bindings

Deprecated in favor of https://github.com/e-Learning-by-SSE/nm-jenkins-groovy-helper-lib

We recommend generating clients directly in the jenkins pipeline of the associated project by using the helper scripts from the jenkins library.

This could look like this:

stage('Maven') {
    steps {
        withMaven(mavenSettingsConfig: 'mvn-elearn-repo-settings') {
            sh "mvn clean verify spring-boot:build-image -Dspring-boot.build-image.imageName=${env.DOCKER_TARGET}"
        }
        script {
            version = getMvnProjectVersion()
            generateSwaggerClient('target/openapi.json', version, 'net.ssehub', 'nm-facade-service', ['javascript'])
        }
    }
}

More examples in the lib-repository.

About

Automatic generation of API bindings

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages