https://linen.dev logo
Join the conversationJoin Slack
Channels
announcements
cdk-avengers
general
introduce-yourself
random
setup
wiremock-cloud
wiremock-open-source
wiremock-studio
Powered by Linen
wiremock-cloud
  • t

    Tom

    01/06/2023, 6:33 PM
    set the channel description: Questions and discussion about WireMock Cloud
  • j

    Jai Nigam

    03/24/2023, 1:19 AM
    Hi @Tom, Can we still use wiremock studio ? or we need to migrate to wiremock cloud
  • j

    Jai Nigam

    03/24/2023, 1:20 AM
    we are using wiremock studio to import api spec file and generating mock
    u
    r
    • 3
    • 8
Powered by Linen
Title
j

Jai Nigam

03/24/2023, 1:20 AM
we are using wiremock studio to import api spec file and generating mock
u

Uri

03/24/2023, 4:55 AM
Hi It will be better to migrate to WireMock Cloud. You can still use WireMock Studio, but there will be no further support or updates to WireMock Studio. We are also planning to improve the flow of importing api spec and generating mocks, and this will be done in WireMock Cloud only.
j

Jai Nigam

03/24/2023, 11:58 AM
Sure, Thanks @Uri
what are the steps to migrate to wiremock cloud
@Uri, I check wiremock cloud, is there any API to import open API spec, I see you have provided option to import api spec in wiremock cloud , but can I acheive it through api
like we used to have mocklab.io/import
r

Rob Elliot

03/24/2023, 10:05 PM
You can
POST
an OpenAPI spec to
https://<api>.wiremockapi.cloud/__admin/mocklab/imports
as
multipart/form-data
. In curl:
curl -v -X POST -d '@/path/to/openapi.yml' 'https://<api>.wiremockapi.cloud/__admin/mocklab/imports'
(Obviously if you have Admin API security on you'll need to include your token as a header:
Authorization: Token <my_token>
. See https://docs.wiremock.io/security/)
j

Jai Nigam

03/27/2023, 3:15 PM
Thanks Rob
View count: 1