microsoft / microsoft/typespec

[Feature Request] HTTP: Consider adding support in Typespec for specifying options object in paths

Open
#2,866 1 comment 2 reactions 0 assignees View on GitHub
design:needed triaged:core
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Hi Team! Is ability to specify options object in paths in openapi in your plans/backlog?

Expected output in openapi
```
/some_path/v1:
get:
...
post:
...
options:
responses:
'200':
description: Generic OPTIONS response
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.