Skip to content

Commit

Permalink
nit: fixes indent
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
  • Loading branch information
baywet committed Dec 13, 2024
1 parent de13f59 commit e19b55e
Showing 1 changed file with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,45 +506,45 @@ public async Task ItCanParsePathItemPathParametersAsync()
{
var document =
"""
{
"openapi": "3.0.0",
"info": {
"title": "Test API",
"version": "1.0.0"
},
"paths": {
"/items/{itemId}/{format}": {
{
"openapi": "3.0.0",
"info": {
"title": "Test API",
"version": "1.0.0"
},
"paths": {
"/items/{itemId}/{format}": {
"parameters": [
{
"name": "itemId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"parameters": [
{
"name": "itemId",
"name": "format",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"parameters": [
{
"name": "format",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"summary": "Get an item by ID",
"responses": {
"200": {
"description": "Successful response"
}
"summary": "Get an item by ID",
"responses": {
"200": {
"description": "Successful response"
}
}
}
}
}
}
""";

await using var steam = new MemoryStream(Encoding.UTF8.GetBytes(document));
Expand Down

0 comments on commit e19b55e

Please sign in to comment.