Skip to content

Find a way to handle type alias #13

@fhgbaguidi

Description

@fhgbaguidi

Hello,
the idea behind this enhancement is to see whether the Open Api parser can handle type alias.
For example we can use something like:

// @openapi:schema
type Error = jsonapi.ErrorObject

instead of re-define (duplicate) the struct locally just to add @openapi:schema

This will allow to use external type to describe our API in the swagger file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions