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

support OpenAPI "deprecated" property #10

@hauner

Description

@hauner

properties

in:

  schemas:
    Foo:
      type: object
      properties:
        bar:
          type: string
          deprecated: true  

out:

class Foo {

    @Deprecated
    @JsonProperty("bar")
    private String bar;

     //.....
}

endpoints

in:

paths:
  /foo:
    get:
      # ....
      deprecated: true

out:

interface Foo {

    @Deprecated
    @GetMapping(path = "/foo")
    void getFoo();
    // ....
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions