# Can you search for swagger files

**URL:** <https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [February 27, 2020, 8:12pm UTC](https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322 "2020-02-27T20:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [February 27, 2020, 8:12pm UTC](https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322/1 "2020-02-27T20:12:13Z")

</div>

Hey team,

At confoo MTL here. An attendee has this question on sitesearch.

We want to ingest swagger and markdown files in our developer portal and use elastic to enable searching. Is that possible?

[smacdona@adobe.com](mailto:smacdona@adobe.com)

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![mikeisonthenets](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikeisonthenets/32/38395_2.png) [@mikeisonthenets](https://discuss.elastic.co/u/mikeisonthenets)\
**Post date:** [February 27, 2020, 10:33pm UTC](https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322/2 "2020-02-27T22:33:10Z")

</div>

Hi-ya! Is the desire to ingest swagger and markdown files into Site Search by using the Crawler? If so, Site Search may not be the best solution as it's specific to crawling and indexing HTML & PDF content.

Knowing more about their specific use case would help us to point them in the best direction. 🙂

---

<div class="post-metadata">

**Author:** ![Simon\_MacDonald](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simon_macdonald/32/63666_2.png) [@Simon\_MacDonald](https://discuss.elastic.co/u/Simon_MacDonald)\
**Post date:** [March 2, 2020, 8:46pm UTC](https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322/3 "2020-03-02T20:46:54Z")

</div>

Hi Mike,

You've answered my question. Sorry for being vague originally but the actual use case we are thinking of using Elastic for is our developer documentation portal. Or docs are in markdown and swagger files and I was wondering if Elastic should be hooked into the md/swagger files or wait until we process them into html.

So it looks like the answer is to wait until after we process the docs into HTML before setting up search.

Thanks…

Simon

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 30, 2020, 8:47pm UTC](https://discuss.elastic.co/t/can-you-search-for-swagger-files/221322/4 "2020-03-30T20:47:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
