Skip to content

Add deprecated flag to operation template#26

Open
deanmaunder wants to merge 1 commit into
coldbox-modules:developmentfrom
deanmaunder:feature/operation-deprecated
Open

Add deprecated flag to operation template#26
deanmaunder wants to merge 1 commit into
coldbox-modules:developmentfrom
deanmaunder:feature/operation-deprecated

Conversation

@deanmaunder

Copy link
Copy Markdown

Include a deprecated key on the operation object produced by newMethod(), defaulting to false. This makes the standard OpenAPI operation-level deprecated field a first-class part of the generated document so consumers and downstream tooling (e.g. cbSwagger annotation parsing) can rely on its presence.

Include a `deprecated` key on the operation object produced by
`newMethod()`, defaulting to `false`. This makes the standard OpenAPI
operation-level `deprecated` field a first-class part of the generated
document so consumers and downstream tooling (e.g. cbSwagger annotation
parsing) can rely on its presence.

Generated with AI

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant