0
votes

I have provisioned a service fabric cluster on azure. It has two node types: one for the frontend and the other one for the backend.

I have deployed a Stateless self-hosted API on the frontend node-type. Now what i'd like to do is to expose that service through the Azure API Management. I've been trying to import the API without success. I have also tried to use swagger to generate the service specification but it seems that swagger does not work. I can access the swagger URL but it loads a blank page.

Any suggestions on how I can integrate my stateless service with APIM or how swagger works here?

Thanks a lot.

1

1 Answers

3
votes

there are a few different ways you can produce your swagger document. If you are using Web API, you can use SwashBuckle to generate your Swagger for you. To validate your swagger file, you can use Swagger Editor. Finally, if you still have problems once you have validated your swagger document, share the document and the error here and we will see what we can do to assist.

Many thanks