Skip to content

[Feature]: Code-generation for PSM #367

Description

@antoineatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

The OpenAPI.json file describe schema about REST API input/ouput.

This OpenAPI file can be used to code-generate DTO classes to support REST API compliancy.

The generation shall cover:

Note, 'Request' type forces the @type property but the value is not equivalent to the name of the class (for example, ProjectRequest specifies @type: "Projet". Based on that, we will have to include Deserializer logic, to specify if we have to deserialze request or response data.

Steps to Reproduce

System Configuration

  • SysML2.NET version:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions