SwaggerProvider icon indicating copy to clipboard operation
SwaggerProvider copied to clipboard

F# generative Type Provider for Swagger

Results 47 SwaggerProvider issues
Sort by recently updated
recently updated
newest added

### Description ``` YAML Service: type: object properties: Услуга: type: string Стоимость: type: number format: ₴ nullable: false Обязательная: type: boolean nullable: false ``` ### Expected behavior Properties of value...

When the response of a call doesn't have a success status code, the call throws an `HttpRequestException` with no context for what went wrong beyond the actual status code. `EnsureSuccessStatusCode`...

### Description ``` YAML /order: post: summary: Создает заказ-наряд operationId: CreateOrder requestBody: $ref: '#/components/requestBodies/CarCodeBody' responses: '201': description: Заказ успешно создан headers: Location: schema: $ref: '#/components/schemas/OrderId' description: Уникальный идентификатор заказа '404':...

Publish package debug symbols along with package

help wanted

### Description Aliases to primitive types are not translated to primitive types ### Repro steps ``` YAML components: schemas: PhoneNumber: type: string Order: type: object properties: phone: $ref: '#/components/schemas/PhoneNumber' ```...

At the moment OpenApi arrays are represented as .Net arrays in the generated types. Is there any chance there could be a flag added to optionally use F# lists instead?...

I started to look into external definition loading in Parsers.fs, but I need a bit help here. 1) The links to external refs do have relative paths. These paths could...

If there are any errors in schema, the OpenApiProvider just gives up: https://github.com/fsprojects/SwaggerProvider/blob/4f76f3ccc5a0f91c8577a04b3b466c074e9560fb/src/SwaggerProvider.DesignTime/Provider.OpenApiClient.fs#L74 ...which is maybe good behaviour if you can actually fix the schema. But in many cases you...

[Here is a schema.json](https://github.com/fsprojects/SwaggerProvider/files/4507635/schema.txt) that demonstrates the issue. When "enum" schema components are encountered in json schema, SwaggerProvider seems to strip their info away and just label the type as...

Recent changes introduced by #137 cause optional uuid types to be written to the wire as e.g. 'Some(c5bff7f0-b4df-475e-a331-f737424f013c)'. This is quite a tricky area but I would suggest: `defaultArg theGuid...