MATLAB Generator for OpenAPI

Overview

  • Getting Started

Client Code Generation

  • Building MATLAB Client Code
  • Customizing Generated Client Code
  • Client Generator Configuration Options

MATLAB Client Usage

  • Basic Usage

MATLAB Client Examples

  • Advanced Example: Customizing the Generator (for Apache Airflow)

Server Code Generation

  • Building MATLAB Server Code
  • Server Request and Response Classes
  • Server Generation Example

References

  • Frequently Asked Questions
  • Inheritance and Polymorphism
  • JSONMapper
  • Swagger UI
  • References
    • Pom file level generation
    • Codgen JavaDoc
    • OpenAPI
    • Mustache documentation
    • Authentication
    • Community Swagger MATLAB projects
MATLAB Generator for OpenAPI
  • References

References

The following references may be helpful when working with OpenAPI based code generation.

Pom file level generation

  • https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-maven-plugin/README.md

  • https://openapi-generator.tech/docs/customization

Codgen JavaDoc

  • https://www.javadoc.io/static/io.swagger/swagger-codegen/3.0.0-rc1/index.html?io/swagger/codegen/DefaultCodegen.html

OpenAPI

  • Controlling generation: https://openapi-generator.tech/docs/customization

  • https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/java.md

  • https://openapi-generator.tech/docs/installation

  • https://openapi-generator.tech/docs/new-generator/

  • https://openapi-generator.tech/docs/usage/

Mustache documentation

  • https://openapi-generator.tech/docs/new-generator/

  • https://github.com/openapitools/openapi-generator/wiki/Mustache-Template-Variables

Authentication

  • https://swagger.io/docs/specification/authentication/

Community Swagger MATLAB projects

  • https://github.com/erkandem/swagccg-m2m

  • https://github.com/Open-MBEE/swagger-codegen-matlab-client

Previous

© Copyright 2022-2025, MathWorks, Inc..

Built with Sphinx using a theme provided by Read the Docs.