Jonas Emmert 6075b8a8f1
[R][Client] Fix api response, JSON for maps and let httr2 api client handle empty response bodies (#18049)
* changed files from rebuilding project and updating samples

* change default value of from_encoding to empty string

- from_encoding = NULL is invalid and produces an error, as only strings are allowed, see https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/iconv
- defaulting to an empty string fixes this issue

* fix map being surrounded by quotes in json

* allow httr2 client to deal with empty response body

* changed files from rebuilding project and updating samples

* added PetMap schema for test of correct map serialization in toJSONString and regenerated samples
2024-03-13 15:30:58 +08:00

51 lines
802 B
Plaintext

# Generated by openapi-generator: https://openapi-generator.tech
# Do not edit by hand
import(R6)
import(jsonlite)
import(httr2)
import(base64enc)
import(stringr)
# Wrapper
export(petstore_api)
# Core
export(ApiClient)
export(ApiResponse)
export(ApiException)
# Models
export(AllofTagApiResponse)
export(Animal)
export(AnyOfPig)
export(AnyOfPrimitiveTypeTest)
export(BasquePig)
export(Cat)
export(Category)
export(DanishPig)
export(Date)
export(Dog)
export(DummyModel)
export(FormatTest)
export(Mammal)
export(ModelApiResponse)
export(NestedOneOf)
export(OneOfPrimitiveTypeTest)
export(Order)
export(Pet)
export(PetMap)
export(Pig)
export(Special)
export(Tag)
export(UpdatePetRequest)
export(User)
export(Whale)
export(Zebra)
# APIs
export(FakeApi)
export(PetApi)
export(StoreApi)
export(UserApi)