You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
I am working with Slack Swagger for my project. I am using NSwag to create a client out of the swagger file.
The generated client file does not contain the properties for 'objs_conversation' definition. This is because, in swagger file, it does not contain 'properties' and 'data type' properties directly. Instead it contains only 'items' (which then contains 3 definitions).
I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
I am using NSwag to create a client out of the swagger file.
The generated client file does not contain the properties for 'objs_conversation' definition. This is because, in swagger file, it does not contain 'properties' and 'data type' properties directly. Instead it contains only 'items' (which then contains 3 definitions).
Generate the c# client using NSwag from the swagger file.
Expected result:
'objs_conversation' to contains properties. (3 different objects under 'objs_converstion' is confusing and how would we be able to differentiate? it could be with three different names)
Actual result:
It is empty
Attachments:
The text was updated successfully, but these errors were encountered:
The schema for objs_conversation has “items” declared without a type. It appears that what is desired is to declare a mixed array, which is only supported in OAS 3.0. One alternative option is to use “allOf” to combine all fields of all the channel types and beside “non-requiredness,” it should assign the values to whatever matching field(s).
FWIW, the reference to objs_conversation from the operation conversations.list already is a list input parameter.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I am working with Slack Swagger for my project. I am using NSwag to create a client out of the swagger file.
The generated client file does not contain the properties for 'objs_conversation' definition. This is because, in swagger file, it does not contain 'properties' and 'data type' properties directly. Instead it contains only 'items' (which then contains 3 definitions).
Swagger definition for the same - https://justpaste.it/388lf
Questions
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
I am using NSwag to create a client out of the swagger file.
The generated client file does not contain the properties for 'objs_conversation' definition. This is because, in swagger file, it does not contain 'properties' and 'data type' properties directly. Instead it contains only 'items' (which then contains 3 definitions).
Swagger definition for the same - https://justpaste.it/388lf
Reproducible in:
All environments
Steps to reproduce:
Generate the c# client using NSwag from the swagger file.
Expected result:
'objs_conversation' to contains properties. (3 different objects under 'objs_converstion' is confusing and how would we be able to differentiate? it could be with three different names)
Actual result:
It is empty
Attachments:
The text was updated successfully, but these errors were encountered: