Skip to content

Commit 12cea74

Browse files
Bump core from 5b410a8 to a535d08 (#2405)
Bumps [core](https://github.com/microsoft/typespec) from `5b410a8` to `a535d08`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/typespec/commit/a535d08f97ec9c447eb27375fcb0315705e61833"><code>a535d08</code></a> [http] Fix handling of media types for literal types. (<a href="https://redirect.github.com/microsoft/typespec/issues/6513">#6513</a>)</li> <li>See full diff in <a href="https://github.com/microsoft/typespec/compare/5b410a89bf38af8f4e8b0bea5da5b2ff4f893af6...a535d08f97ec9c447eb27375fcb0315705e61833">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Timothee Guerin <[email protected]>
1 parent d3f79a5 commit 12cea74

File tree

3 files changed

+36
-1
lines changed
  • packages/samples/test/output/core/testserver

3 files changed

+36
-1
lines changed

packages/samples/test/output/core/testserver/body-boolean/@azure-tools/typespec-autorest/openapi.json

+14
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
"get": {
2525
"operationId": "bool_getFalse",
2626
"description": "Get true Boolean false",
27+
"produces": [
28+
"text/plain",
29+
"application/json"
30+
],
2731
"parameters": [],
2832
"responses": {
2933
"200": {
@@ -50,6 +54,9 @@
5054
"text/plain",
5155
"application/json"
5256
],
57+
"consumes": [
58+
"text/plain"
59+
],
5360
"parameters": [
5461
{
5562
"name": "value",
@@ -133,6 +140,10 @@
133140
"get": {
134141
"operationId": "bool_getTrue",
135142
"description": "Get true Boolean value",
143+
"produces": [
144+
"text/plain",
145+
"application/json"
146+
],
136147
"parameters": [],
137148
"responses": {
138149
"200": {
@@ -155,6 +166,9 @@
155166
"put": {
156167
"operationId": "bool_putTrue",
157168
"description": "Set Boolean value true",
169+
"consumes": [
170+
"text/plain"
171+
],
158172
"parameters": [
159173
{
160174
"name": "value",

packages/samples/test/output/core/testserver/body-string/@azure-tools/typespec-autorest/openapi.json

+21
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
"String Operations"
9292
],
9393
"description": "Get empty string value",
94+
"produces": [
95+
"text/plain",
96+
"application/json"
97+
],
9498
"parameters": [],
9599
"responses": {
96100
"200": {
@@ -119,6 +123,9 @@
119123
"String Operations"
120124
],
121125
"description": "Put empty string value",
126+
"consumes": [
127+
"text/plain"
128+
],
122129
"parameters": [
123130
{
124131
"name": "value",
@@ -259,6 +266,10 @@
259266
"String Operations"
260267
],
261268
"description": "Get mbcs string value '啊齄丂狛狜隣郎隣兀﨩ˊ〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€'",
269+
"produces": [
270+
"text/plain",
271+
"application/json"
272+
],
262273
"parameters": [],
263274
"responses": {
264275
"200": {
@@ -287,6 +298,9 @@
287298
"String Operations"
288299
],
289300
"description": "Put mbcs string value '啊齄丂狛狜隣郎隣兀﨩ˊ〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€'",
301+
"consumes": [
302+
"text/plain"
303+
],
290304
"parameters": [
291305
{
292306
"name": "value",
@@ -377,6 +391,10 @@
377391
"String Operations"
378392
],
379393
"description": "Get string value with leading and trailing whitespace '<tab><space><space>Now is the time for all good men to come to the aid of their country<tab><space><space>'",
394+
"produces": [
395+
"text/plain",
396+
"application/json"
397+
],
380398
"parameters": [],
381399
"responses": {
382400
"200": {
@@ -405,6 +423,9 @@
405423
"String Operations"
406424
],
407425
"description": "Get string value with leading and trailing whitespace '<tab><space><space>Now is the time for all good men to come to the aid of their country<tab><space><space>'",
426+
"consumes": [
427+
"text/plain"
428+
],
408429
"parameters": [
409430
{
410431
"name": "value",

0 commit comments

Comments
 (0)