Skip to content

Commit

Permalink
Merge pull request #518 from robot-ranger/515-swagger-missing
Browse files Browse the repository at this point in the history
515 swagger missing
  • Loading branch information
wsobel authored Jan 20, 2025
2 parents d3523d6 + a57f9fc commit df11fc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/mtconnect/sink/rest_sink/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,16 @@ namespace mtconnect::sink::rest_sink {
{
AutoJsonObject<T> obj(writer, "200");
obj.AddPairs("description", "OK");
{
AutoJsonObject<T> obj(writer, "content");
{
AutoJsonObject<T> obj(writer, "text/plain");
{
AutoJsonObject<T> obj(writer, "schema");
obj.AddPairs("type", "object");
}
}
}
}
}
}
Expand Down

0 comments on commit df11fc1

Please sign in to comment.